Hi,

><form action="/the_context/loginResponse.do" method="post">
>
>name: <input type="text" name="adminPassword">
>
><input type="submit">
>
></form>

I meant the server-side code, not the HTML output.

>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.

It shouldn't be.  Try a relative URL instead.

>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?

It's poor design that limits your portability and presents a possible
problem if your server configuration doesn't match your hard-coded
value.  For example, if could be that Tomcat is deploying your webapp at
a different path, then you would get a 404...

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]

Reply via email to