🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JSP cant see its own bean!

#82
From: Ian Pojman
Date: Tue, 24 Apr 2001 15:33
34 lines
2278 bytes
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

   
Technical Details
Message-ID: <B70B06DC.4DAC%ipojman@jmlafferty.com>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!peer.news.verio.net.MISMATCH!iad-peer.news.verio.net!news.verio.net!ord-read.news.verio.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcfbb,dbcdb3da69874370,start
X-Google-Attributes: gidfcfbb,public
X-Google-Thread: 10b2dd,dbcdb3da69874370,start
X-Google-Attributes: gid10b2dd,public
X-Google-Thread: 113ae9,dbcdb3da69874370,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10a146,dbcdb3da69874370,start
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2001-04-24 08:33:06 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!peer.news.verio.net.MISMATCH!iad-peer.news.verio.net!news.verio.net!ord-read.news.verio.net.POSTED!not-for-mail
User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630)
Subject: JSP cant see its own bean!
From: Ian Pojman <ipojman@jmlafferty.com>
Newsgroups: comp.lang.java.help,comp.lang.java.beans,comp.lang.java.programmer,borland.public.jbuilder.javabeans.using
Message-ID: <B70B06DC.4DAC%ipojman@jmlafferty.com>
Mime-version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 35
Date: Tue, 24 Apr 2001 15:33:01 GMT
NNTP-Posting-Host: 204.233.251.146
X-Complaints-To: abuse@verio.net
X-Trace: ord-read.news.verio.net 988126381 204.233.251.146 (Tue, 24 Apr 2001 15:33:01 GMT)
NNTP-Posting-Date: Tue, 24 Apr 2001 15:33:01 GMT
Organization: Verio