Hi,

my form code:

<form action="/the_context/loginResponse.do" method="post">

name: <input type="text" name="adminPassword">

<input type="submit">

</form>

To naswer your questions:

Q. Accordingly, how do you generate this <form> element?
A. I'm not sure what you mean, it's just a hard-coded HTML form.

Q. I assume you don't have the webapp's name hard-coded
A. Hard-coded where? In the forms' action attribute? If so, is that a
problem?

Thanks,


Stefan

www.killersites.com


----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 22, 2004 9:03 AM
Subject: RE: Servlet mapping problem.



Hi,
>message /loginResponse.do
>
>description The requested resource (/loginResponse.do) is not
available.

It seems the context_name part of your <form> element is blank, missing,
or wrong, since the page is asking for /loginResponse.do and not
/whatever/loginResponse.do.  Accordingly, how do you generate this
<form> element?  I assume you don't have the webapp's name hard-coded.

To answer your question in general, Tomcat's servlet mapping behavior is
extremely well-tested, and has been for years.  I'd be surprised if this
issue was NOT caused by a configuration or coding mistake in your
webapp.  That said, Tomcat is not as lax in permitting developer
conveniences as some other containers.

Finally, a small note: please start a new thread for a new issue, don't
reply to a different message and change the subject.  It screws up the
archives.

Yoav



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to