• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make request parameters available to a login.jsp?

 
Alex Fishell
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a secured resource in Tomcat or JBossWeb. My resources are secured via FORM authentication (j_security_check). The secured resources are requested via an external page like this:



When the secured resource is requested, Tomcat displays the login.jsp to authenticate the user. This my login.jsp. I have a business requirement that needs to access the "mydata" request parameter from this page. DOES ANYONE KNOWS HOW TO MAKE TOMCAT TO ALLOW ACCESS TO THE REQUEST PARAMETERS FROM THIS PAGE??? The values are always null when the request are via a "post". However, this works when the request is via a "get" I cannot change my forms to "get" that is just not possible. And I have tried this in JBoss5, GlassFish2.1, and Tomcat5.5.7 We currently have our app running in JBoss3.2.7 and it works fine here. But we are planning to upgrade out of JBoss3.2.7 into a newer version. Given that we get the same behavior in the newer servers, we think that there most be a configuration setting that we don't know about. If anyone has any idea what we need to do, please please help us out. Thanks in advance!

This is my login.jsp, which is configured in the <form-login-page>



 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65342
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please avoid typing in all uppercase. Please read this for more information. As this appears to be Tomcat-specific, I've moved this to the Tomcat forum.
 
Alex Fishell
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a side note, I have tried this example with the following: JBoss 5, GlassFish 2.1, Tomcat 5, Tomcat 6.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic