cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Breban" <>
Subject RE: String to Integer
Date Fri, 17 Nov 2000 12:05:29 GMT
You must use:
int K1 = Integer.parseInt (strK1); 

-----Original Message-----
Sent: Friday, November 17, 2000 1:52 PM
Subject: String to Integer

Hi all,

hopefully someone of you can give me a solution to the folownung problem.

I need to enter a Integer into a Database. On my xsp page I have the
folowing code:

String strK1 = request.getParameter ("K1");
		Int K1 = Integer.parseInt (strK1);

But when trying to conver I get the following error.

java.lang.Exception: XSP Java Compiler: 
Compilation failed for _Topic.java107: 
Class _D_._cocoon._tomcat._webapps._ROOT._FuE._Attribute.Int not found. 
Int K1 = Integer.parseInt (strK1); 
1 error

Thank you for your time

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message