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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP page comes up totally blank...

Status
Not open for further replies.

bluedog123

Technical User
Apr 22, 2003
7
US
I'm trying to display a simple JSP page (JRun/IIS) but it is coming up totally blank. Any help is appreciated. Here is the a cut-and-paste of the code:

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<DIV align=&quot;center&quot;>
<%
out.println(&quot;This is a test&quot;);
%>
</DIV>
</BODY>
</HTML>
 
Code:
<HTML>
<HEAD>
    <TITLE></TITLE>
<% String str = new String(&quot;This is a test&quot;); %>
</HEAD>
<BODY>
<DIV align=&quot;center&quot;>
    <%=str%>
</DIV>
</BODY>
</HTML>

-pete

 
Thanks...tried that, and at first it didn't work.

But...then got it working (your way and my original way). I'm still weirded out though. I set up an ISAPI connection in JRun so for IIS, restarted the web server, and this time it works. The weird part is I didn't do anything different, so far as I can tell. Maybe giving my PC a left hook did the trick? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top