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
------------------------------------------------

S/MIME Cryptographic Signature

Reply via email to