cocoon-users mailing list archives

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

-----Original Message-----
From: Kai.Rehlen@pass-consulting.com
[mailto:Kai.Rehlen@pass-consulting.com]
Sent: Friday, November 17, 2000 1:52 PM
To: cocoon-users@xml.apache.org
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:

<page>
<xsp:logic>
String strK1 = request.getParameter ("K1");
		Int K1 = Integer.parseInt (strK1);
</xsp:logic>
...

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
Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message