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!

JSP Tag Lib HELP!!

912907Jan 24 2012 — edited Jan 24 2012
I'm in the process of upgrading a massive struts 1.3 application to the newest version of Weblogic 10.3.5. I have successfully migrated everything except these JSP tags. I have to admit I'm not a front-end developer for the most part.

Here is the problem:

I have a <HTML:RADIO> tag that looks like :

<html:radio property="role" value="<%=srtId%>" tabindex="1" onclick="form.submit();" />

This is the error:

LoginRole.jsp:33:60: The method setValue(String) in the type RadioTag is not applicable for the arguments (Object)
<html:radio property="role" value="<%=srtId%>" tabindex="1" onclick="form.submit();" />
^-^

.. I KNOW what the error is saying and I can easliy correct the call if I download the source, change the class and recompile, but I can't do that. I have dozens of these tags, both from the regular taglibs but also a number of custom tags, over 400 JSPs, some of which are 1000 lines long.

If I change all these calls to EL they work fine... also the post to the server is just the string ="<%=srtId%>" instead of the integer value... Why did this notation stop functioning? I know this is an old app but this shoud be backwards compatible one would think.

Thank you in advance,
Eric
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2012
Added on Jan 24 2012
3 comments
504 views