• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html-el:link - problem with context

 
Deyan Sultov
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am running web application under Tomcat, using Struts. I have disabled my browser's cookies, so that I want to test the proper encoding of my url links. So far so good. The problem is that I can not figure out why this piece of code,

<html-el:link href="/editRegistration.do?action=Create">

whithin the JSP's is giving different output:



- when I start Tomcat under root context, it works and encodes the link I have passed to it (appends ;jsessionid= to the url):
<Context path=""
docBase="E:\Work\Eclipse\struts_app\web"
debug="0"
reloadable="true"
crossContext="true">
</Context>


- when I start Tomcat with some context it does not work and does not encode the link I have paases to it
<Context path="/ctx"
docBase="E:\Work\Eclipse\struts_app\web"
debug="0"
reloadable="true"
crossContext="true">
</Context>

Any hints?

Thanks in advance
[ October 19, 2004: Message edited by: Deyan Sultov ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic