hi all, my jsp displays an empty vector when i execute it.
Added UBB CODE tags to aid readability
[This message has been edited by Frank Carver (edited May 09, 2001).]
Joined: Aug 10, 2000
Could you explain what the code was expected to do? Also, it might help to edit your post to place them within [ code] [/ code] marks so that the brackets line up in the proper spots and make it easier to read. Note: make sure to take out the spaces before the word code to get it to work properly Paul R
Joined: Apr 02, 2001
Jyothi, Any exceptions on the server/client side being thrown?If yes, could you post the stack trace? At the outset, I can say since your BMP bean needs to do the following:
Implement the ejbLoad(),ejbStore() methods.
Define the instance variable in your Bean class, mapping it to the table you want to load as a Entity Bean.
Define getter/setter business methods in your RemoteObject interface.
Implement the getter/setter methods in the Bean class.
Since you have already defined the findData(String,String) returning an Enumeration Object,and also, from your JSP, I infer you want to obtain the RemoteObject, get the Primary Key and store it in the Vector and then return the Enumeration Object.
Further in your JSP, after obtaining the RemoteObject, use the getter methods to display the values in the form.
..returns an Enumeration.You would need to iterate through it!! Hope this helps, Sandeep
Sun Certified Programmer for Java 2 PlatformScored 93 per cent
Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java Scored 56 out of 59
IBM Enterprise Connectivity with J2EE Scored 72 per cent
Enterprise Development on the Oracle Internet Platform Scored 44 out of 56
[This message has been edited by Desai Sandeep (edited May 09, 2001).]
<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>