A 404 error is a not found error.  We had a problem like this running on
win32/NT using IIS as the webserver.  But it worked fine when we were using
the JRun webserver.

What I eventually realised was that an form with an action like this

  <form method="POST" action="j_security_check">

will never be passed by IIS to the servlet engine, and the given page does
not exist, hence the 404 error.  As the "j_security_check" is a servlet, you
may want to use an action like this:

  <form method="POST" action="servlet/j_security_check">

As this is prefixed by "servlet", it is passed directly to JRun.  Once we
did this everything ran as expected.

--
| John J. Lehmann, [EMAIL PROTECTED]
+ "I put a picture of my son, Joshua, on my Visa.  Whenever I
+ use it, people say 'what a handsome boy!'"

> -----Original Message-----
> From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 07, 2000 3:19 AM
> To: JRun-Talk
> Subject: j_security_check gives 404 error?
> 
> 
> I have a protected jsp.  When I try to access it, my 
> login.jsp is presented.
> All is fine so far.
> When I enter username/password into login.jsp and submit it, 
> I get a 404
> error.
> 
> Any clues?
> Thanks.
> 
> Phillip Rhodes
> [EMAIL PROTECTED]
> Alcoa eCommerce
> https://www.ALCOADIRECT.COM
> 826B Two Allegheny Center Pittsburgh, PA  15212
> (412) 553-4900  (phone)  (412) 553-2484 (fax)
> 
> --------------------------------------------------------------
> ----------------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe: 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to