This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez 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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP/Servlets" Watch "JSP/Servlets" New topic
Author

JSP/Servlets

Akshi Goel
Greenhorn

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!

ersin
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.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP/Servlets