Link to home
Start Free TrialLog in
Avatar of help_me
help_me

asked on

Coding links for dynamic html in a servlet

Please could you give me the code to get a link to appear in a dynamic html page, created in a servlet as follows:

out.println("<A HREF=http://www.javasoft.com/images/duke_404.gif TARGET=image> Load Image</a>")

I need to put double quotes around the file name and the target name, but the compiler will not accept this, it thinks they signify the end and start of new strings.

How do I get around this.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of shchuka
shchuka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial