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
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
It's not a secret anymore!