how r u getting the parameter..
if you r taking this parameter in
String surname = request.getParameter("surname"); you should
not have any problem...
but if you take it in any other format this will give you error..
Int i = request.getParameter("surname"); will give you
number format error...
Cheeers
guru
-----Original Message-----
From: Tandun Subur [mailto:[EMAIL PROTECTED]]
Sent: 25 October 2001 14:41
To: [EMAIL PROTECTED]
Subject: wildcard '*' in parameter
Hi folks,
use Tomcat 3.2.3.
I write servlet to generate WML-site.
Problem:
pass parameter containing '*' both using get or post method I receive
error message from tomcat:
2001-10-25 14:49:08 - Ctx( ): Exception in: R( +
/servlet/de.firm.cc.b2b.wap.dirserv.Serv + null) -
java.lang.NumberFormatException:
<go href="http://"+webServer+"/servlet/de.firm.cc.b2b.wap.dirserv.Serv"
method="post">
<postfield name="surname" value=john*"/>
</go>
Can anyone help?
Thank's.
-Subur-
___________________________________________________________________________
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
___________________________________________________________________________
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