aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Is javabean should be in package?
Weblogic problem
To call javabeans from JSP using Weblogic
Problem in JSP compilation with Weblogic 6.1
Access Problem in JSP