Hello there. I am using JSP in order to send some WML to a WAPbrowser.
I am writing th elogi in screen but every time I am clicking on the
login link I am getting the following error message:
Error:Web server returned Error 500 (WAP browser)
It seems that the content returned from the web server is not valid (or
at least I think this is what is going wrong). I am using
Jakarta-Tomacat as my JSP engine. The code that throws the error is the
following:
<br/> Username: <input name="loginUsername" type="text" emptyok="false"
value=""/>
<br/> Password: <input name="loginPassword"
type="password" emptyok="false" value=""/>
<anchor>
<br/>
Login
<go href="<%=
response.encodeURL("/process?action=login&fail=" +
java.net.URLEncoder.encode(
response.encodeURL("/WAP/login/retryloginwml.jsp")) + "&success=" +
java.net.URLEncoder.encode(response.encodeURL("/WAP/login/success.jsp")))
%>"/>
<postfield name="userName"
value="$loginUsername"/>
<postfield name="password"
value="$loginPassword"/>
</go>
</anchor>
Has this happened to anybody before? Any help or suggestions is deeply
appreciated.
Thank you
Panos
<mailto:[EMAIL PROTECTED]>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets