bean not found within scope error
843833Aug 27 2001 — edited Aug 28 2001I am getting the error "bean jspbean not found within scope error". I am using JBuilder 5.0. I thought that I had set up my paths and placed my code in the correct directories but it seems that I am missing something. I was developing in Visual Age for Java then ported my code into JBuilder. The code ran in VA but I can't get it to compile & run in JBuilder. This is why I think that I'm missing a path somewhere. Please HELP!! I have been trying different things and nothing seems to work.
My ClassPath in it:
d:\MySource\BannerTracker;.
My java files are located in:
d:\MySource\BannerTracker\src\com\seqtek\pplsi\banner
My class files are being compiled in:
d:\MySource\BannerTracker\classes\com\seqtek\pplsi\banner
AND
d:\MySource\BannerTracker\defaultroot\WEB-INF\classes\com\seqtek\pplsi\banner
JBuilder has the following paths set
Output Path = d:\MySource\BannerTracker\classes
Backup Path = d:\MySource\BannerTracker\bak
Working Dir = d:\MySource\BannerTracker
Source = d:\MySource\BannerTracker\src
My JSP files are accessed by JBuilder in the d:\MySource\BannerTracker\defaultroot directory.
My JSP code snippet:
<%@ page import="javax.servlet.*" %>
<%@ page import="javax.servlet.http.*" %>
<%@ page import="javax.servlet.jsp.*" %>
<HTML>
<HEAD>
<jsp:useBean id="jspbean" type="com.seqtek.pplsi.banner.BannerRptBean" scope="request" />
<jsp:setProperty name="jspbean" property="login" param="login" />
</jsp:useBean>
... HTML code for my form...
<font face="Arial" size=2><B>Select Month:</B>
<%= jspbean.showMonths() %>
<P>
<B>Select View:</B>
<%= jspbean.showViews() %>
<P>
<B>Select Banner:</B>
<%= jspbean.showBanners() %>
</font>
...submit and end HTML tags.
Thanks in advance for your help!
Tracey