tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sid Sidney <>
Subject Re: How to make request parameters available to a login.jsp?
Date Mon, 04 May 2009 21:45:17 GMT
Our application serves many different clients. Every page in our application (including the
login.jsp and errorLogin.jsp) is configured to look like our clients predetermined look and
feel.   We use this property to distinguish which look and feel to display.

--- On Mon, 5/4/09, Christopher Schultz <> wrote:
From: Christopher Schultz <>
Subject: Re: How to make request parameters available to a login.jsp?
To: "Tomcat Users List" <>
Date: Monday, May 4, 2009, 5:04 PM

Hash: SHA1


On 5/4/2009 9:26 AM, Sid Sidney wrote:
> The secured resources are requested from an external page like this:
> <form method="post" 
> <input type="hidden" name="mydata"
>   <input type="submit" value="Enter Here"/>  
> </form>
> This my login.jsp.

Perhaps if you tell us what you're really trying to accomplish, we could
help you do it another way. I doubt very much that there's a business
requirement to provide access to a request parameter in a login page.
So, what's the /real/ business requirement?

> The values are always null when the requests are made
> via a "post". However, this works when the request is made via a

I would guess that Tomcat is reading the request body into a buffer for
storage, but not bothering to make a copy of the parameters available to
the login page.

The spec isn't clear on this issue (making request parameters available
to the login page) so I'm pretty sure you'll get a less-than-warm
response to making this change to Tomcat. You can try, though. Patches,
as they say, are always welcome.

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message