When trying to run the following file I get no error but, a blank jsp
page.  When I view the source it shows the JSP Code.  What could the
possible problem be?  What are all the packages that I need installed to
run JSP pages correctly?  Is the bean I'm using a valid Jrun default bean?

+++++++++++++++++++++++++

<BEAN NAME="jspDb"
TYPE="com.livesoftware.jrun.plugins.jsp.beans.JSPDBConnection"
SCOPE="session">


<%
jspDb.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
jspDb.setUrl("jdbc:odbc:gepower");
jspDb.setPoolSize(1);
jspDb.open("gepower");
jspDb.setSql("select firstname, company from users");
JSPDBResult[] rs = jspDb.execute();
%>


<%
for(int i=0;i<rs[0].getCount();i++)
                out.print(rs[0].getName(i)+"|");
out.println("");

for(int j=0;j<rs.length;j++) {
        for(int k=0;k<rs[j].getCount();k++)
                out.print(rs[j].getValue(k)+"|");
                out.println("");
        }

 %>
</body>
<% jspDb.close("gepower"); %>
</html>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to