Hi
JSP spec 0.92 wont work with JWS as yet. There is a version mismatch in the
Servet API releases and JWS (till 1.1.2) doesnot support JSP.
Try an implementation of JSP 0.91 with JWS.
regards
Anand Kumar S
Systems Manager
Wipro Infotech
-----Original Message-----
From: Allamraju Kumarswamy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, March 17, 1999 10:14 AM
Subject: How to compile jsp program.
>Hi guys
>
>I'm new to Java Server Pages.
>I have a couple of questions to you
>
>I was trying to run a simple jsp program from the Netscape Browser,
>which i'm unable to get the required output.
>
>My code is follows:
><HTML>
><HEAD>
><TITLE> HELLO </TITLE>
></HEAD>
><BODY>
><H1>
><%
>if (request.getParameter("name") == null)
>{
> out.println("Hello World");
>}
>else
>{
> out.println("Hello, " request.getParameter("name"));
>}
>%>
></H1>
></BODY>
></HTML>
>
>when i run this jsp program from http://localhost:8080/hello1.jsp it
>simply prints the contents of the above file.
>Not the Hello output.
>
>I was under impression that java web server comes with JspServlet. But i
>couldn't find the class file of JspServlet.
>So i downloaded the JSP 0.92 specification. In this specification i
>found JspServlet.class file under jsp.jar file.
>I included this path under CLASSPATH settings.
>Still i'm unable to compile the .jsp file.
>First of all i was unable to load the JspServlet from JWS.
>
>If anybody knows how to run the jsp file that would be more helpful to
>me.
>
>Thanks in advance
>Kumar
>
>--
>------------------------------------------------
>Kumaraswamy A.
>Netscape
>[EMAIL PROTECTED]
>phone:650-937-2429/pager:888-779-7696
>------------------------------------------------
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".