Hi All,

I am running two web apps (one in Tomcat 5.0.30 and another in Tomcat
5.5). The app running in Tomcat 5.0.30 calls the app in Tomcat 5.5
(uses Form Authentication ).  We have a JSP page in Tomcat 5.0.30 app
that authenticates  and generates the jsessionid for the app running
in Tomcat 5.5.25.

Once the jsessionid is obtained, the JSP page in Tomcat 5.0.30 calls
the other app (in tomcat 5.5.25) using the authenticated jsessionid.
Now, we have a filter that intercepts the request from Tomcat 5.0.30
which receives the querystring as null

i.e. let us say my JSP in tomcat 5.0.30 calls the page result.jsp in
Tomcat 5.5.25

page1.jsp

http://localhost:8080/tomcat5525;jsessionid=?view=jsp/result.jsp&parm1=value&parm2=value2

public class MyFilter implements Filter {

  public void doFilter(ServletRequest request, ServletResponse response) {
     HttpServletRequest hreq = (HttpServletRequest) request;
    System.Out.println(" request QueryString : " + hreq.getQueryString());

  }
}

Please note that when I run the second app also under different Tomcat
5.0.30 server, I get the getQueryString() that has both parm1 and
parm2 in it.

Did anyone of you faced and solved similar problem?. please let me know.
--
Best Regards
Kamal

"Every old idea will be proposed again with a different name and a
different presentation, regardless of whether it works. - RFC 1925"

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to