?
Solved

Servlet, JSP Architecture

Posted on 2004-11-22
3
Medium Priority
?
543 Views
Last Modified: 2013-11-24
Currently, our J2EE web app uses Serlvets and JSP, with more behind the scenes.  Basically, the web request goes to the Servlet, which passes the Request, Response the the JSP, which uses a TabLib to render the data (XML,XSL).

The problem is that now we want to group serlvets together on a page, so in essence multiple servlets would be responsible for the content of the page.

Our workaround it to create master servlets which get all the content for the page, and then use Jspf includes with Taglibs to draw their part of it.  The pain of this is that everytime we need to move a bucket, we need to recreate the servlet with the new data.

Is there a way to have Jspf files call Servlets so the request goes to the master Jsp page, it calls the Jspf's, and they call their servlet to do the processing?  Is it possible to implement J2EE security for this method?

Thanks.
0
Comment
Question by:platinumbay
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
petmagdy earned 2000 total points
ID: 12648201
0
 
LVL 6

Author Comment

by:platinumbay
ID: 12649810
Even though we are too far into the project to switch to struts, upon review I feel your answer would be the correct one in a perfect world.  Thanks!
0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12652296
thanks for accepting and welcome :-)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question