Bart R Schroder wrote:
>
> Q: Why is it that neither of these manage to call the authenticateLogin
> servlet?
>
> parent.form.method = "POST";
> parent.form.action = "../servlet/authenticateLogin";
>
> form.method = "POST";
> form.action = "../servlet/authenticateLogin";
Because ../servlet/authenticateLogin is the wrong url. The leading ../
causes the url to interpreted as one directory up from the server root,
which will be an invalid url. The correct url is
"servlet/authenticateLogin" or an absolute url
(http://www.myserver.com/servlet/authenticateLogin").
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html