Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

encode the url

 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am joe.

In my developed jsp project. all the jsp pages i navigate shows the

complete url. i used the method response.encodeUrl("king");

After this also it show the complete url as http://companyserver:7001/sales/deliver.jsp

how can do it
Thanks in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe,
It sounds like you might not understand the purpose of the encodeURL method.
Here is a link to the API documentation.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String)

Give that a read and see if it makes any more sense to you.
-Ben
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic