Hi ,
from the error details it is clear that the exception
is due to number format. Pl check your code for this
exception.I think you are trying to parse a string to
integer which is not in correct format.
Neelesh
--- Rajneesh Garg <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> I am trying to execute an insert query on Access
> database. I am using JWS 2.0.
> However, when I submit my form, it accesses web
> server and throws 500 Error. I am using Windows NT
> Workstation.
> I am trying to print some trival sentences, but even
> those are not being displayed. Can somebody plz help
> me in solving this riddle.
>
> Regards,
> Rajneesh Garg
>
> Keep Smiling. It does improve your face value. :-))
>
> 500 Internal Server Error
> The servlet named executeInsert at the requested URL
>
>
> http://rajneesh:8080/servlet/executeInsert
> reported this exception: null. Please report this to
> the administrator of the web server.
>
> java.lang.NumberFormatException: null at
> java.lang.Throwable.(Compiled Code) at
> java.lang.Exception.(Compiled Code) at
>
java.lang.RuntimeException.(RuntimeException.java:50)
> at
>
java.lang.IllegalArgumentException.(IllegalArgumentException.java:46)
> at
>
java.lang.NumberFormatException.(NumberFormatException.java:46)
> at java.lang.Integer.parseInt(Compiled Code) at
> java.lang.Integer.parseInt(Compiled Code) at
> executeInsert.doPost(Compiled Code) at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
> at javax.servlet.http.HttpServlet.service(Compiled
> Code) at
> com.sun.server.ServletState.callService(Compiled
> Code) at
>
com.sun.server.ServletManager.callServletService(Compiled
> Code) at
>
com.sun.server.http.servlet.InvokerServlet.service(Compiled
> Code) at
> javax.servlet.http.HttpServlet.service(Compiled
> Code) at
> com.sun.server.ServletState.callService(Compiled
> Code) at
>
com.sun.server.ServletManager.callServletService(Compiled
> Code) at
>
com.sun.server.ProcessingState.invokeTargetServlet(Compiled
> Code) at
>
com.sun.server.http.HttpProcessingState.execute(Compiled
> Code) at
> com.sun.server.http.stages.Runner.process(Compiled
> Code) at
> com.sun.server.ProcessingSupport.process(Compiled
> Code) at com.sun.server.Service.process(Compiled
> Code) at
>
com.sun.server.http.HttpServiceHandler.handleRequest(Compiled
> Code) at
>
com.sun.server.http.HttpServiceHandler.handleRequest(Compiled
> Code) at com.sun.server.HandlerThread.run(Compiled
> Code)
>
=====
My home page http://www.geocities.com/siliconvalley/grid/4444
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
___________________________________________________________________________
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