[Seasar-user:12342] websphere url rewriting

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
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
following:

   - 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.
"
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.ejbfep.multiplatform.doc/info/ae/ae/rprs_sesd.html

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() +
"/view/m/cmn/login.html".toLowerCase()));
return null;
}

Help!
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071228/67c8a76b/attachment-0001.html 


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