This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes calling javabean from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "calling javabean from jsp" Watch "calling javabean from jsp" New topic

calling javabean from jsp

Pravin Reddy

Joined: Dec 01, 2004
Posts: 8
I am using WSAD 5.0.
I wrote javabean in javasource folder and the jsp is placed in Web Content folder.

In jsp, i am getting an error as "bean cannot be resolved". and it is showing broken link error in the line <jsp:useBean>

<jsp:UseBean id="mybean" scope="session" class="TestBean" />

Guide me..
[ April 15, 2005: Message edited by: Pravin Reddy ]
Derek Stodghill

Joined: Feb 24, 2005
Posts: 3
Make sure you rebuild your project and the class file is in the coorresponding path of the \WEB-INF\classes directory.
I agree. Here's the link:
subject: calling javabean from jsp
Similar Threads
Problem in JSP compilation with Weblogic 6.1
Is javabean should be in package?
Access Problem in JSP
To call javabeans from JSP using Weblogic
Weblogic problem