File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP/Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP/Servlets" Watch "JSP/Servlets" New topic


Akshi Goel

Joined: Apr 24, 2002
Posts: 3
Please can somebody tell me "When would you access a JSP directly from a browser without going thru a servlet initially?"
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
Hi Akshi,
We have a naming policy here at JavaRanch where all publicly displayed names take the form, "Firstname Lastname". Could you please change yours to bring it into line?
Thanks in advance and we hope that you enjoy your stay at the JavaRanch!

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
If you don't need to do any back-end processing at all, you can just access a JSP directly. OTOH, if you will be accessing a DB, you can have a JSP/HTML page call a servlet that does all the processing and passes the results back to the browser. You can search this forum for the MVC pattern or Model 2 architecture.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: JSP/Servlets
It's not a secret anymore!