This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition