File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes What can I use JSP or Servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "What can I use JSP or Servlet?" Watch "What can I use JSP or Servlet?" New topic
Author

What can I use JSP or Servlet?

Deepa Balasubramanayam
Ranch Hand

Joined: Mar 29, 2001
Posts: 39
Hi,
I am creating a web site.
I have no idea about JSP's. All I am using is HTML,Servlets and JavaScript. Is that sufficient for developing webpages?. Or should I have to go for JSP's for developing better website.
Thanks
Deepa
------------------
Sri Bala
Ranch Hand

Joined: Mar 06, 2001
Posts: 63
When you build your website using Servlets for dynamic content where the appearince keeps changing, you have to compile your servlet everytime you make a change. With JSPs, it is done automatically for you and it's easy to manage. Take this course and you'll know http://developer.java.sun.com/developer/onlineTraining/JSPIntro
Deepa Balasubramanayam
Ranch Hand

Joined: Mar 29, 2001
Posts: 39
Thanks a lot Bala
Deepa
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Hi,
If I use JSP, should I ever need the servlets???
Please let me know,
Thanks
angela
Sri Bala
Ranch Hand

Joined: Mar 06, 2001
Posts: 63
We definitely need both. When there's complex HTML code you don't want to embed in your Servlet code and you go for JSP. Similarly when there's lot of processing to be done, you don't want to embed too much scriptlet in your JSP and you go for Servlets. Otherwise I think we can stick to either Servlet or JSP and do all that we want.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What can I use JSP or Servlet?