[Seasar-user:12347] Re: websphere url rewriting
[E-MAIL ADDRESS DELETED]
2007年 12月 28日 (金) 17:57:56 JST
> Accroding to the ibm site , it is said that
> An application that uses URL rewriting to track sessions must adhere to
> certain programming guidelines. The application developer needs to do the
> - Program servlets to encode URLs
> - Supply a servlet or JavaServer Pages (JSP) file as an entry point to
> the application
> Must i "adhere to certain programming guidelines"?
> When i use tomcat as my application server, it runs well. The url ended with
> jsessionid, and it is automatically added.
> So i wander if the "seasar + teeda" has already done it for
> us?(automatically rewrite url)
Teeda uses HttpServletResponse#encodeURL(), encodeRedirectURL().
So, if WebSphere implements Servlet API completely,
your application will works well.
You don't need to use response.encodeRedirectURL(...).