I would suggest 2 things. Check your server log to see what the problem was. I can see at least one problem with your code, make sure you keep case the same for all variables, specifically numTimes is declared differently than it is used. Rey -----Original Message----- From: Brahmananda Rao C V S [mailto:[EMAIL PROTECTED]] Sent: Monday, October 23, 2000 11:09 PM To: [EMAIL PROTECTED] Subject: Simple JSP Program Hello friends, I have a very typical program. I wrote a small jsp programme with the following code (SimpleJSP.jsp) and placed it in public_html in Java Web Server(2.0) **************************************************************************** ********************* <%@ page language="java" %> <HTML> <HEAD> <TITLE>Simple JSP Example </TITLE> </HEAD> <BODY> <P> <% int numTimes = Integer.parseInt(request.getParameter("numtimes")); for(int i=0;i<numtimes;i++) { %> <BR>Hello, world! <% } %> </P> <%@ include file="PageFooter.html" %> </BODY> </HTML> **************************************************************************** ********************* I wrote a simple html file to get the input. The code is as follows (file name is SimpleJSP.html) **************************************************************************** ******************** <HTML> <HEAD> <TITLE>Simple JSP Example</TITLE> </HEAD> <BODY> <P>How many times?</P> <FORM METHOD="GET" ACTION="SimpleJSP.jsp"> <INPUT TYPE="TEXT" SIZE="2" NAME="numtimes"> <INPUT TYPE="SUBMIT"> </FORM> </BODY> </HTML> **************************************************************************** ********************* And i am calling the html file as http://machinename:8080/SimpleJSP.html Once i get the page, i give some number in the text box and submit it, It gives the following error: HTTP 500 Internal Server Error (This page cannot be displayed). Where i am wrong. Please suggest some solution. Thanking you in advance. B.Rao =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
