hi all , my question is how to create a hypertext link in servlet so if the user click it, it shows another web page
or a message .
alsoumhi
0
Junior Poster in Training
Recommended Answers
Jump to PostYou would write it teh smae way you would in html. just remember to escape the double quotes in the servlet.
It should look something like this:
out.println("<a href=\"http://www.google.co.za\">google</a>);
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.