Dear all,
Hi!
I am a beginner. I have installed Tomcat v5.0.25 and I tried writing a hello world JSP program using notepad.
I stored my program as hello.jsp and put it in the webapps directory. I got the WEB/INF folder there with web.xml inside.
This is my jsp file -(so simple)
<HTML>
<TITLE>The JSP Test Page</TITLE>
<HEAD></HEAD>
<BODY>
HelloWorld!!!
<%
out.println("-- so says the test program.");
%>
</BODY>
</HTML>
I can load the page but I cannot see the words displayed using the script
ie.
I can see "Hello world!!!"
but not
"-- so says the test program."
Can anyone please suggest me what I missed?
Many Thanks!
Pancy
Hi!
I am a beginner. I have installed Tomcat v5.0.25 and I tried writing a hello world JSP program using notepad.
I stored my program as hello.jsp and put it in the webapps directory. I got the WEB/INF folder there with web.xml inside.
This is my jsp file -(so simple)
<HTML>
<TITLE>The JSP Test Page</TITLE>
<HEAD></HEAD>
<BODY>
HelloWorld!!!
<%
out.println("-- so says the test program.");
%>
</BODY>
</HTML>
I can load the page but I cannot see the words displayed using the script
ie.
I can see "Hello world!!!"
but not
"-- so says the test program."
Can anyone please suggest me what I missed?
Many Thanks!
Pancy