JSP N HTML SIMPLE PROGRAM
I have configured TOMCAT6.0. I followed the following steps to configure:
1. Opened catalina n gave the path. JAVA_HOME="JDK1.6_PATH"
2. Opened CMD gave the tomcat path... STARTED THE SERVER.Then STOPPED IT
3. Installed Netbeans6.1, configured tomcat server in it.
Later i typed a simple program with JSP N HTML:
The following is the HTML code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
firstname<input type="text" name="firstname" value="username">
password<input type="password" name="password" value="password">
<input type="submit" value="submit">
<form action="newhtml.html" method="post">
<input type="submit" value="return">
When i save n run this program the browser is giving a diff output. It is showing the out of index.jsp. The output looks like the following:
Please help me solve this issue. What should i do now.
Re: JSP N HTML SIMPLE PROGRAM
What did you save the jsp file as, and what is the url you are looking up?