It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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
It is sorta covered in the JavaRanch Style Guide.
subject: JSP/Servlets
Similar Threads
WA #1.....word association
Struts: No getter method for property name problem
creating a pop up calendar within a form
what is defalut value of Custom tag body-content
pop up page