tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <Michael.Went...@aswethink.com>
Subject RE: Redirect question
Date Mon, 22 Jan 2001 12:20:39 GMT
I don't know how the flow of your webapp is working in this
situation but if you put the following in the referrer to 
the first jsp or possibly on your first jsp and ACTION="redirect.jsp"
depending on you work flow:

<FORM ... ACTION="page1.jsp">
	<INPUT TYPE="hidden" NAME="var1" VALUE="value1">
	<INPUT TYPE="hidden" NAME="var2" VALUE="value2">
	<INPUT TYPE="hidden" NAME="var3" VALUE="value3">
	...
</FORM>

The values will be in the request if you handle navigation
by submitting the form.

The only reason this would be programmatically better than the
previous solution is if it can not be assumed that the user
has cookies enabled or if cookies are not even an option per
project specs.


---
Michael Wentzel
Software Developer
<A HREF="http://www.aswethink.com">Software As We Think</A>
<A HREF="mailto:wentzel@aswethink.com">Michael Wentzel</A>

Mime
View raw message