🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.help
Article #83

Re: JSP cant see its own bean!

#83
From: Andrew Eidsness
Date: Wed, 25 Apr 2001 14:03
47 lines
2634 bytes
Have you looked at the source for the synthesized class?  If you can't
see the problem there, then could you post the relevant portions of that
file?

-Andrew

Ian Pojman wrote:
> 
> here's my code - everythings right, and im explicilty importing that
> CachedRowSet so its not an issue... HOW IS THIS POSSIBLE?
> 
> <jsp:useBean id="jmlCportfolio" class="sun.jdbc.rowset.CachedRowSet"
>         type="sun.jdbc.rowset.CachedRowSet" scope="session">
> <%
>     Class.forName("oracle.jdbc.driver.OracleDriver");
>     // initialize our CachedRowSet bean
> <snip>
>     jmlCportfolio.execute();
>     //jmlCportfolio.first();
> %>
> </jsp:useBean>
> 
> <%
> 
>     //jmlPortfolio.runQuery(db);
> 
>     if (param4!=null) {
>         try {
>             jmlCportfolio.first();
> 
> org.apache.jasper.JasperException: Unable to compile class for
> JSP/usr/tomcat/work/localhost_8080/_0002fjmltview_0002fstportfolio_0002ejsps
> tportfolio_jsp_0.java:336: Undefined variable or class name: jmlCportfolio
>                         jmlCportfolio.first();
> 
> thanks in advance,
> Ian
> ipojman@jmlafferty.com
> 
> 


-- 
----------------------------------------------------
Andrew Eidsness                http://www.jfront.com
jfront inc.                mailto:andrewe@jfront.com
----------------------------------------------------
Technical Details
Message-ID: <3AE6D9AD.2CCC415D@jfront.com>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!nntp.magma.ca!news!not-for-mail
References: <B70B06DC.4DAC%ipojman@jmlafferty.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcfbb,dbcdb3da69874370
X-Google-Attributes: gidfcfbb,public
X-Google-Thread: 113ae9,dbcdb3da69874370
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10b2dd,dbcdb3da69874370
X-Google-Attributes: gid10b2dd,public
X-Google-Thread: 10a146,dbcdb3da69874370
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2001-04-25 07:03:58 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!nntp.magma.ca!news!not-for-mail
Message-ID: <3AE6D9AD.2CCC415D@jfront.com>
From: Andrew Eidsness <andrewe@jfront.com>
X-Mailer: Mozilla 4.74 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.lang.java.help,comp.lang.java.beans,comp.lang.java.programmer,borland.public.jbuilder.javabeans.using
Subject: Re: JSP cant see its own bean!
References: <B70B06DC.4DAC%ipojman@jmlafferty.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 47
Date: Wed, 25 Apr 2001 14:03:56 GMT
NNTP-Posting-Host: 209.217.123.78
X-Trace: news 988207436 209.217.123.78 (Wed, 25 Apr 2001 10:03:56 EDT)
NNTP-Posting-Date: Wed, 25 Apr 2001 10:03:56 EDT
Organization: Magma Communications Ltd.