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

JSP tutorial

John Cage
Greenhorn

Joined: Aug 13, 2004
Posts: 8
Hi I'm sorta new to JSP and somewhat familiar to Java. I've read some documentations on servlets and have tried some simple examples on a Tomcat server. After working out the examples, I get confused with JSP. For instance, when do I use JSP and when do I use servlet? I would like to find out if there are some tutorials for JSP.

Thanks.
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Hi John,

Typically you use JSPs for any presentation you need to do and servlets and beans for the processing/logic. Try and keep as much logic out of your JSPs as possible and keep presentation out of your servlets.

Standard methods of achieving those goals, which you might like to look at once you've got used to the JSP and servlet basics, are the JSTL (JSP Standard Tag Library) and MVC frameworks like Struts. Another recent development is JavaServer Faces (JSF).

You might benefit from looking at Sun's JSP Tutorial and Servlet Tutorial.

Jules
[ August 28, 2004: Message edited by: Julian Kennedy ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP tutorial