Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using href in anchor tags (servlet)  RSS feed

 
BhanuMurthy Venkata
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Can someone help me what is wrong in this code

out.println("<a href=\"homeSrv\">Home<\a>");

am getting an Invalid escape sequence error....
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by BhanuMurthy Venkata:
Hi Can someone help me what is wrong in this code

out.println("<a href=\"homeSrv\">Home<\a>");

am getting an Invalid escape sequence error....


out.println("<a href=\"homeSrv\">Home<\"a>");
[ December 01, 2008: Message edited by: seetharaman venkatasamy ]
 
BhanuMurthy Venkata
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it worked thankyou so much
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by BhanuMurthy Venkata:
it worked thankyou so much


You are Welcome
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!