My goal: To use a JSP to get information from a database. I already have an html page that passes parameters to a servlet to do this and both work fine. Now I would like to use the more flexible approach of using a JSP and getProperty() to do the same thing. Here is my problem: I have converted the servlet to a general class file (no main method etc...) so it should work as a bean. The problem is that when I do <jsp:getProperty name="mybean" property="myproperty"> etc.... the browser gives me a 500 error stating that there is no data for 'myproperty'. I understand why. The class hasnt been instantiated and thus no jdbc work has been performed. How do I instantiate this bean so a connection to the database can be made and a resultset will be available for my jsp to retrieve property values from? Thanks for any help. Ryan ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. =========================================================================== 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
