hi!
i'm having a problem with my struts application.
i have used <html:link page="/blah.jsp">blah</html:link>
for my links.
since this attaches a dynamic string to the end of the link, ie, the ;jsessionid=dsfhj3h2j3
this gives me a HTTP 300 Multiple Choices error. i get a messagesaying it can find
blah.jsp;jessionid=dfkjwefkjl3234, and that a similar document that it found was
blah.jsp
ofcourse if i refresh the page, this takes away the jsessionid string and so i can go directly go to the page.
but if i have a link that maps directly to a .do action, this doesn't work. so
<html:link page="/blah.do">blah</html:link>
returns a 404 file not found error.
i have struts-config.xml configured properly and have defined the actions properly.
the application works fine at home where i am using Tomcat 5.0 that comes with the java web services developer's pack.
the above problem happens only when i use the application on my hosting service that uses tomcat 4.1.24
however i need to have it running off that service
could someone please help and tell me what's happening and how it can me changed?
also struts is otherwise working, forms written using struts tags are displayed fine and are submitted fine as well.
its only the link thats not working.
thanks
ajay
i'm having a problem with my struts application.
i have used <html:link page="/blah.jsp">blah</html:link>
for my links.
since this attaches a dynamic string to the end of the link, ie, the ;jsessionid=dsfhj3h2j3
this gives me a HTTP 300 Multiple Choices error. i get a messagesaying it can find
blah.jsp;jessionid=dfkjwefkjl3234, and that a similar document that it found was
blah.jsp
ofcourse if i refresh the page, this takes away the jsessionid string and so i can go directly go to the page.
but if i have a link that maps directly to a .do action, this doesn't work. so
<html:link page="/blah.do">blah</html:link>
returns a 404 file not found error.
i have struts-config.xml configured properly and have defined the actions properly.
the application works fine at home where i am using Tomcat 5.0 that comes with the java web services developer's pack.
the above problem happens only when i use the application on my hosting service that uses tomcat 4.1.24
however i need to have it running off that service
could someone please help and tell me what's happening and how it can me changed?
also struts is otherwise working, forms written using struts tags are displayed fine and are submitted fine as well.
its only the link thats not working.
thanks
ajay