Hi,everyone.It realy bothered me from yesterday.I wrote a java bean called bookstore to get data from a database and i have made a main methods to test the code.everything works perfectly, but when i move the main methods code to a jsp,damned things happened.i got many null null null 0.0 false 0 null 0 null null null 0.0 false 0 null 0 null null null 0.0 false 0 null 0 null null from the database.I wonder anything wrong with the jsp???!!
If you are going to post more than a line or two of your code, wrap that code in a set of UBB Code tags. Doing so will help to preserve your code's indenting, making it easier to read. If it is easier to read, more people will actaully read it and you will stand a better chance of getting help with your question. See UseCodeTags for more help with UBB code tags.