Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

passing int values from JSTL to JSP using USEBEAN

843836Jul 20 2005 — edited Jul 20 2005
hey guys,

I am not able to pass the values of variables which are declared in JSTL and are integers, to JSP.

I know how to pass using <jsp:usebean>

but when i specify type as java.lang.String...it says type incompatible.....
and when i specify java.lang.Integer it says:

C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\accord_ent_taglib_example\org\apache\jsp\home\n\curve_005fdisplay_jsp.java:205: incompatible types
found : int
required: java.lang.Integer
htscurve = 100000000;
^


please help!

thanks,
rahul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2005
Added on Jul 20 2005
1 comment
297 views