Sample program of JSP

Sample program of JSP

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

</head>
<body bgcolor=silver>
<form method ="post" name="inventory" action="CreateIm" onsubmit="return validation()">
 <center> Enter the Details</center>
 <table border="0" cellpadding="0" cellspacing="0">

 <tr>
 <td>name: </td>
<td><INPUT id="txtChar" onkeypress="return isNumberKey1(event)" type="text" name="name1"></td>
 </tr>
 <tr>
 <td>Address:</td>
 <td><textarea rows="2" cols="20" name="addr1"></textarea></td>
 </tr>
 <tr>
 <td>E-mail ID: </td>
<td><input type="text" name="name2" size="20"/></td>
 </tr>
 <tr>
 <td>Phone No.: </td>
<td> <INPUT maxlength = 10 id="txtChar" onkeypress="return isNumberKey(event)" type="text" name="cnum">
</td>
 </tr>
 <tr>
 <td> </td>
 <td><input type="submit" value="Submit"/>
 <input type="reset" name="B2" value="Reset"/></td>
 </tr>
 </table>           
 </form>      
</body>
</html>
View Answers









Related Tutorials/Questions & Answers:
Sample program of JSP
Sample program of JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
Sample program of JSP
Input program in JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
Advertisements
sample jsp-servlet-service-db program
sample jsp-servlet-service-db program  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http
Jsp program
Jsp program  A sample program of jsp using dml quaries
sample Applet program
sample Applet program  I need Source Code for sample Applet program.   Hi Friend, Please visit the following link: Applet Tutorials Thanks
Sample java program
Sample java program  I want a sample program: to produce summary information on sales report. The program will input Data of Salesman Id, Item code, and number of cuestomer. Sales id is 5digit long, and items code range from
Axis2 sample program
Axis2 sample program  Hi.. I have tried the HelloWorldServie example... for the service: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\axis2\WEB-INF...: The services.xml file cannot be found for the service: C:\Program Files\Apache Software
jsp program
jsp program  sir how we can load the data on the server in the on line project
jsp program
jsp program  for example assume four user u1,u2,u3,u4 having the passwords pwd1,pwd2,pwd3,pwd4 respectively.write a servlet for doing the following 1.create a cooki and add these four user id's and passwords to this cookies
jsp program - JSP-Servlet
jsp program  1.write a servlet program that finds out the given... an application in jsp to redirect the request to any other page.  Hi Friend...,please go through the following link: http://www.roseindia.net/jsp/jsp
Jsp Program - JSP-Servlet
Jsp Program  Write a code in JSP to insert a record in product table with fields prod_id,prod_name,quantity,price.The table is created in MS-Access  Hi Friend, Try the following code: Here 'access' is our DSN
java sample program - Java Beginners
java sample program  hai i need a sample program for polymorphism  Hi Friend, Try the following code: class Shape { int x,y; void area(){ } } class Square extends Shape { int l=2; void area
Simple JSP program example
Simple JSP program example  Hi, How to make simple jsp program... with the simple JSP example program. Give me simple jsp program example. Thanks   HI, The very simple JSP program is to display the current date on the JSP
A Java Program by using JSP
A Java Program by using JSP  how to draw lines by using JSP plz show me the solution by using program
jsp program related
jsp program related  how to run jsp program   How to run jsp program: Follow these steps: 1)Go to the Control Panel>>System>>... url: http://localhost:8080/examples/hello.jsp and press enter. 9)You jsp program
jsp/servlet login program
jsp/servlet login program  <%@ page language="Java" import...;/TITLE></HEAD> <BODY> <jsp:useBean id="db" scope="request" class="logbean.LoginBean" > <jsp:setProperty name="db" property="userName" value
program of java - JSP-Servlet
program of java  hi friends... i hv faced a problem of jsp code.my problem is... i want to extract data from dropdown menu to the next jsp page..... and also i want to generate a serial no and with this serial no , i want
Program - JSP-Servlet
Program  Respected Sir, I urgently need a program in JSP and JDBC which will connect to MS-ACCESS for seeking the data of Employees... information, http://www.roseindia.net/jsp Thanks. Amardeep
Simple JSP program
Simple JSP program  create a simple jsp page in which number is to be entered by user in jsp page and submit button clicked.If number entered is greater then 100,then message box "no is greater" elseif less "no is lesser
create a jsp program
create a jsp program  please help , create web Application using jsp and jdbc which tacking your name,id and DOB .On clicking to submit Button it stores the information into the database and Displays alll the records
Program urgent - JSP-Servlet
Program urgent  Respected Sir/Madam, I am R.ragavendran.. Actually my code shows the following output: There is a combo box which...://www.roseindia.net/jsp/implement-javascript-with-jsp.shtml Thanks
program - JSP-Servlet
program  hi friends... i hv faced a problem of jsp code.my problem is... i want to generate a serial no and with this serial no , i want... for more information. http://www.roseindia.net/jsp/Accessingdatabase
Program Urgent - JSP-Servlet
Program Urgent  Respected Sir/Madam, I am R.Ragavendran. I am in urgent need of the coding. My requirement is as follows: Beside Enter Employee ID... for more information. http://www.roseindia.net/jsp Thanks. Amardeep
How to run JSP program inEclipse?
How to run JSP program inEclipse?  Hi, I am learning JSP. I want to run JSP in Eclipse. How to run JSP program inEclipse? Thanks   Hi, Its easy to run JSP from the Eclipse. You have to make a dynamic web application
program code - JSP-Servlet
program code  what is the program code for LOGINFORM USING SERVLETS? RESPOND SOON
program code - JSP-Servlet
program code  what is the program code for LOGINFORM USING SERVLETS? RESPOND SOON
Program - JSP-Servlet
for more information, http://www.roseindia.net/jsp/ Thanks Roseindia Team
program - JSP-Servlet
program  Example program on RequestDispatcher  Hi I am sending links, where u find about requestDispatcher method, how it work and. http://www.roseindia.net/javacertification/wcd-guide/machanism.shtml http
servlet program - JSP-Servlet
servlet program  Hi All, I just want to write a servlet program where in i want to retreive some data(some names) through a sql query from a sql table, and want to display the same as a drop down list box in a html form when
how to run jdbc in jsp program - JSP-Servlet
how to run jdbc in jsp program  i want to use sql server 2005 in jsp program to store data.i know how to run simple program but this program i tried... visit the following links: http://www.roseindia.net/jsp/submit-comments
jsp program for bill generation - JSP-Servlet
jsp program for bill generation  hi, i just want to know how i write the jsp program for generation of bill for a gas connectivity systm  Hi Friend, Please provide some information like structure of bill. Thanks
sample JSP&Servlet application required? - JSP-Servlet
sample JSP&Servlet application required?  hey all iam new...://www.roseindia.net/servlets/web-application.shtml http://www.roseindia.net/jsp/loginbean.shtml http://www.roseindia.net/jsp/bank.shtml Hope that the above links
Sample\Practice project on JSP and Web services
Sample\Practice project on JSP and Web services   I wanted to implement\Practice a project using web services. where can I get these details   Please visit the following link: http://www.roseindia.net/webservices
jsp/servlet login program - JSP-Servlet
jsp/servlet login program  hello sir, well i have a problem with some code(loginbean.jsp),which i actually got from ur site: i am trying to create a login program where a new user will be registered and his/her details stored
I want solution for this jsp program..
I want solution for this jsp program..   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*" %> JSP Page <%! String
understanding buttons :JSP random no program
understanding buttons :JSP random no program  I hav java random no generator program but i need to implement it in JSP such that page generates...); i++; } } } }   program
Program Very Urgent.. - JSP-Servlet
Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I got the link you sent. But I find a simple problem... reference. http://www.roseindia.net/jsp/popup-window-using-ajax-in-jsp.shtml
Image Program Urgent - JSP-Servlet
Image Program Urgent  Respected Sir/Madam, I am R.Ragavendran.. Actuaaly in the Image Selection coding which is produced below, I am getting the Emp ID in the Emp ID text box but not the exact Emp ID which I have selected
String Exception Program - JSP-Servlet
String Exception Program  Respected Sir/Madam, I am R.Ragavendran.. I got your coding for file upload and download in JSP.. Thank you very much.. Actually in the upload_page.jsp code which you have sent, I am getting
Getting Exception on UseDefinedException sample program - Please help me how to resolve
Getting Exception on UseDefinedException sample program - Please help me how to resolve  class UseDefinedException extends Exception{ String msg = ""; int marks; public UseDefinedException() ){ } public
How to get the output of JSP program using Bean
How to get the output of JSP program using Bean  Hi Kindly go through a simple program below and give the solution for the said below one...; <jsp:useBean id="counter" scope="session" class="CounterBean" /> <
How to get the output of jsp program using Bean
How to get the output of jsp program using Bean  Hello my Roseindia netizen has suggested one program but when i implement the same i am not getting...; Next i created JSP program for the above one by using Bean and i opened
New to JSP..need help to make & run a JSP program.
New to JSP..need help to make & run a JSP program.  Hi, I have installed Tomcat 5.5 on my system. Plz help me to make a simple JSP program.../hello.jsp and press enter. You jsp program will then display the output
need a sample project using java technologies like jsp, servlets, struts
need a sample project using java technologies like jsp, servlets, struts  Hi everybody! I have learnt core java,jdbc,jsp,servlets & struts. Please guide me where can i find sample project like library management, CMS or any
run command prompt from jsp program
run command prompt from jsp program  Hi.... Is it possible to run a command prompt from jsp? If possible please help me with some code... Thanks & Regards vanchinathan.R
Session tracking in login jsp program - JSP-Interview Questions
Session tracking in login jsp program  I have using jsp technology... jsp code on my email id :[email protected]  Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/loginstatus.shtml
have any one tried ajaxanywhere with jsp/servlet please provide sample
have any one tried ajaxanywhere with jsp/servlet please provide sample  hello you can find this app here: http://ajaxanywhere.sourceforge.net it explains how to use this with struts but not with simple jsp servlet(or i am
Simple Program Very Urgent.. - JSP-Servlet
Simple Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I find a simple problem which i have tried my... information. http://www.roseindia.net/jsp/popup-window-using-ajax
Error in Custom tag program - JSP-Servlet
Error in Custom tag program  Dear Sir,This is my problem concern to custom tag.Please review.. Browser show: Browser show: Parsing of JSP File '/Home.jsp' failed
Program Arrow selection Most Urgent - JSP-Servlet
Program Arrow selection Most Urgent  Respected Sir/Madam, I am R.Ragavendran.. I got your coding which is highly appreciable.. As per my requiremennt,there are image buttons for each row in the database.. But i am

Ads