what is the best way to display the result of the Java Method in JSP? izzit using javabean or maybe some other method? i got one whole pile of data stored in the database and i call it out to display in JSP. how can the JSP call out the method used in Java that display data??
You don't call servlets methods from JSP to get some data. What you usually do it get some data from the servlet, put it in the request, and forward to a JSP file. You then grab the data from the request. I recommend you to read something about servlets and JSP first.
but i cannot use servlets to develop the system. i do not know why my boss doesn't allow. sorry if i ask some not relevant question becoz i m very new in java. so still learning. besides using servlets, can i use javabean or something 2 request out the data??
In an effort to help you get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular please see: UseRealWords
Abbreviations such as "u" or "ur" in place of "you" and "you are" or "you're" confound language translation software making it hard for our non-English speaking members to read your posts. "Izzit" is not a word in the English language.
Again, welcome to JavaRanch and good luck with your question. -Ben