I am a beginner to servlets..and I got a question seeing this code written inside a servlet.I\'ll be thankful if someone explain me the usage of soo many\"\\\"s here
<
\
known as escape character in programming languages. You use this to escape some special characters. For example if you want to print a string called
Hello " World
If you specify
system.out.println("Hello " World"); // Sorry Error :(
This will give an error because "
is a special character. So you need to escape this by putting
system.out.println("Hello \" World"); // It works :)