S Ramakrishnan wrote:
>
> Yes the cases match (at any rate, its an NT
> system).
>
> The file is under $TOMCAT_HOME\webapps\ROOT
> and is named A.JSP.
>
> The JSP file is trivial:
>
>   <html>
>   <head><title> Bajji </title></head>
>   <body>
>      <p>
>      <% int x = 5 ; %>
>      <b><% out.println("X = " + x); %></b>

A side note, you could use a JSP expression here instead of a scriptlet:

  <b><%= "X = " + x %></b>

>      <p>
>   </body>
>   </html>
>
> The URL I request is http://localhost:8080/webapps/ROOT/A.JSP
>
> Could it be due to JDK version?
> Does Tomcat3.2beta not work
> with JDK1.3?

You should get a better error message, but I'm pretty sure the error is
caused by the fact that you use upper case ".JSP"; the standard file
extension for a JSP file is ".jsp", i.e. in lower case. Change both the
file and the URL path and I'm sure it works better.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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