[Seasar-user:12342] websphere url rewriting

2007年 12月 28日 (金) 12:16:48 JST

This is Lile.
My site runs on the i-model simulator2,using websphere as server,and because
of the simulator doesn't support cookie,I met some problems.

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

Using URL rewriting also requires that you enable URL rewriting in the
session management facility.

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)

If i must "adhere to certain programming guidelines", then what should i do
Like below?
public String doConfirm() {
response.sendRedirect (response.encodeRedirectURL(req.getContextPath() +
return null;

-------------- next part --------------
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071228/67c8a76b/attachment-0001.html 

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