[Seasar-user:12347] Re: websphere url rewriting

2007年 12月 28日 (金) 17:57:56 JST

Hi guys,
> 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
> following:
>    - 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(...).

Seasar-user メーリングリストの案内