I have the following in my JSP file, running JRun's 0.92 implementation of JSP.

<FORM
ACTION="<%=response.encodeUrl("/servlet/com.myeastside.servlet.FindRestauran
ts")%>" METHOD="GET">

The intent was to have the session id passed along to the FindRestaurants
servlet when they press the submit button.  But, the servlet does not have a
session when it is invoked (request.getSession(false) returns null).

This works okay for cookie-based sessions, but if I'm running a browser with
cookies off, the session id has to be passed around in the URLs.  It works
fine for plain old HREFs, but not for forms.  I'm still using JRun's 0.92
JSP (build 145 or 149).

Any ideas?

David

--
---------------------------------------------
David A. E. Wall
Vice President Production
myEastside.com
724 17th Avenue
Kirkland, WA 98033 USA
Tel 425.822.4465    [EMAIL PROTECTED]
Fax 425.822.4465    http://myEastside.com


Reply via email to