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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

jsp:useBean

843838Oct 21 2005 — edited Oct 22 2005
I really shouldn't be trying to use JSP any more ...

I have been having problems using JavaBeans in JSP pages now - every time a problem is solved, that other little thing that always wanted a go at annoying me arrives ...

The code is:
<jsp:useBean id="pollResult" scope="application" class="com.ora.jsp.beans.poll.PollBean" />
Because another JSP page I created (using JavaBeans) worked, using a JavaBean from the directory com.ora.jsp.beans.userinfo.UserInfoBean, I assumed that THIS would work - but it didn't! The error was:
org.apache.jasper.JasperException: /calculate.jsp(11,2) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
Another problem, is there a solution?

Sincerely, I'm sorry to plague everyone out there with all my problems - maybe I should give up and become a potato farmer instead ...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2005
Added on Oct 21 2005
7 comments
143 views