servlet and JSP combination and design issue

M

Matt

My task is to generate the list box dynamically based on the input XML file.

I create a JSP page and a servlet.
http://www.myserver.com/page1.jsp

In page1.jsp, I have the following to call servlet from JSP page
<jsp:include page="myproj.TableGeneration"/>

In my case, I think I don't need servlet at all, but just Java Bean
class to generate the table. And JSP page call that Java Bean class.

But in what situation we need the combination of servlet and JSP?

What do you think? Any ideas? Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top