|
Hello:
I am using Tomcat 4.01. I have the following
problem:
I have developed a class to 'talk' with my database
and give me a Vector Object. I tested ALL the methods using another Test Class
and it works fine.
When I Instantiate the class in a Servlet and run
it in Tomcat I am getting a problem.
The Specific problem is this:
I extract the Vector elements into an Enumeration
object. Then I extract my data step by step(I know the structure, as I have
packed it into Vector). I have an integer value in the enum. When I
use:
Integer recval = new
Integer(enum.nextElement().toString());
It works fine in a console with a Test Class but
gives a ParseInt exception like this:
java.lang.NumberFormatException: EOF
at java.lang.Integer.parseInt(Integer.java:414) at java.lang.Integer. at GIGXMAccessRightsManager.removeAccessRight(GIGXMAccessRightsManager.java:433) Am I doing anything
wrong?
Thanks in advance,
Ketharinath
Kamalanathan
|
- Apache 1.3 as a proxy server for TOMCAT 4.0 Ketharinath Kamalanathan
- Apache 1.3 as a proxy server for TOMCAT 4.0 Antoine Barbier
- Usage of jsp:include versus file include ShriKant Vashishtha
- Re: Usage of jsp:include versus file... ShriKant Vashishtha
- Re: Usage of jsp:include versus ... Jaime Barnett
- Re: Usage of jsp:include ve... ShriKant Vashishtha
- Re: parseInt in TomCat 4.01 Sujit M
- Re: parseInt in TomCat 4.01 Ketharinath Kamalanathan
- Re: parseInt in TomCat 4.01 Chris Tucker
- Re: parseInt in TomCat 4.01 Ketharinath Kamalanathan
- Re: parseInt in TomCat 4.01 Sujit M
