This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes Realm Tomcat: j_security_check can't understand my web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Realm Tomcat: j_security_check can Watch "Realm Tomcat: j_security_check can New topic
Author

Realm Tomcat: j_security_check can't understand my web.xml"form-login-page"

Shishir Sanghvi
Greenhorn

Joined: Feb 25, 2003
Posts: 7
Hi,
i get this curious error-message when i try to logg a user : " form login page connection unvalid.
Request synthax unvalid"
And no one can access to my database
I checked my server.xml and web.xml and they look good(i think so). Can you tell me what you think about that: if the loggin is wrong i reach the error_loggin.jsp but if this is ok, Tomcat throws to me an error

Thanky a lot for any suggestion
friendly
Shishir
ps: sorry, can't put any html tag
Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260
post your code + web.xml file.


Asher Tarnopolski
SCJP,SCWCD
Shishir Sanghvi
Greenhorn

Joined: Feb 25, 2003
Posts: 7
Hi Asher, thankx a lot for answering but i had to change my security because my physical model wasn't good for REALM.
Now, i decided to use a code like this to protect all my jsp
It worked during one day but now i have this error
----- Root Cause -----"getOutputStream()" has already been called for this response. at org.apache.coyote.tomcat4.CoyoteResponse.getWriter(CoyoteResponse.java:614). "Servlet.service()" for the servlet jsp has generated an exception
And now nobody can log-on!!!
I don't understand what did i wrong???
Thanks alot for any suggestion
 
Don't get me started about those stupid light bulbs.
 
subject: Realm Tomcat: j_security_check can't understand my web.xml"form-login-page"