Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

url re writing with jsp

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we are url re writing with following jsp code

<a href="<c:url value='Header.jsp'/>"> click here </a>

jsessionId is appended to query string only if cookies disabled? it is not added when cookies are enabled? I tested it.It adds both cases?I think it adds jsessionId to the end of url irrespective of cokkies are enabled or not.Just want to make sure.

Thanks
Veena
 
Srikanth shetty Nukala
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes C:url does URL rewriting i.e appending the jsessionid irrespective of cookies being disabled or enabled. This is a case which will be useful when sessionid is appended to url(rewriting) instead of cookies, so all the hyperlinks in web app should also have this id appended.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic