> hi
> can i just create a simple jsp page without any servlets and javabeans to
> build a web application...

Yes you can. There is no requirement that you even use Java in your JSP. You
could rename a HTML file .jsp and let your JSP container handle it and it
would work identical to as it did before.

>whats the disadvantage?

    The disadvantage to the above case is that your JSP container would
still be compiling a servlet out of the HTML page. It usually is more taxing
on the server to use .jsp instead of plain .html.

    In regards to not using beans and servlets. You are still using servlets
if you are using JSP. While JSP do a very good job of hiding the fact that
they are servlets, it still makes them servlets. If you are not taking full
advantage of the servlets and JavaBeans you will end up with some very messy
JSP.
    One of the strong points of JSP is separating content from design. By
using JavaBeans, Servlets and Tag librarys you are doing just that. This
separation makes your code easier to maintain and much more reusable.

>.....in that case can i use
> tomcat or any web server that supports jsp, for that matter........
>
> regards
> varun

Yes, without a JSP container or webserver it is hard to use JSP.

I would suggest you trying searching the list archive. It has tons of
information, especially for general questions. Also a good JSP book always
helps. I would suggest Pro JSP by Wrox. It covers everything including using
Tomcat as a JSP container.

for more information check out these links:

http://www.jspinsider.com/
http://www.jspinsider.com/reference/book/archive/ProfessionalJSP.html
http://archives.java.sun.com/archives/jsp-interest.html

Jayson Falkner
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to