Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A simple JSP not working

Status
Not open for further replies.

zulfi1234

Instructor
Jul 2, 2000
32
PK
I have installed JWS on Win 2000 & I am using IE as the browser. I have created the following JSP file:
<HTML>
<BODY>
out.println(&quot;Hello World&quot;);
</BODY>
</HTML>

but when I say

I dont see any thing on the browser. Can somebody help me plz.
Zulfi.
 
I think you forgot to include the delimiters.the code should be

<HTML>
<BODY>
<%out.println(&quot;Hello World&quot;);%>
</BODY>
</HTML>

But even then you should have seen the output as
out.println(&quot;Hello World&quot;);

Are you sure that you have configured and running the JWS properly?
 
Ramkumars is correct. Also I would suggest using Tomcat instead of JWS. Three reasons: 1) Tomcat is easier to use. 2) JWS is no longer supported by Sun. 3) Tomcat is the official implementation of the Servlet/JSP specification.

You can get Tomcat here:
Another good Servlet/JSP engine that I like is Resin. Personally I like it alot more than Tomcat.

You can get Resin here: Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top