Download File
Download File Download File
• Books catalog: Scart.html: function validate() { var flag=1; if(document.myform.title.value=="") { flag=0; } str=document.myform.title.value; 20 if(str=="c") { document.writeln(""); document.writeln("title-->c"+" cost-->444"); } else if(str=="jsp") { document.writeln(""); document.writeln("title-->jsp"+" cost-->555"); } else { flag=0; } if(flag==1) { alert("VALID INPUT"); } else { alert("INVALID INPUT"); document.myform.focus(); } } BOOK TITLE : HYDERABAD INISTITUTE OF TECHOLOGY AND MANAGEMENT
21 HYDERABAD INISTITUTE OF TECHOLOGY AND MANAGEMENT
- Page 1 and 2: 1. AIM: 1 Develop static pages (us
- Page 3 and 4: • User profile page Userpro.html:
- Page 5 and 6: for buy one of these books 5
- Page 7 and 8: • Payment by credit card Payment.
- Page 9 and 10: • Registration and user Login: 9
- Page 11 and 12: • Books catalog: 11 HYDERABAD INI
- Page 13 and 14: • Payment by credit card: 13 HYDE
- Page 15 and 16: 2. AIM: 15 Validate the Registrati
- Page 17 and 18: 17 • Registration and user Login
- Page 19: 19 PASSWORD :
- Page 23 and 24: 23 LOGIN ID : TITLE : NO.OF BOOKS
- Page 25 and 26: 25 } } LOGIN ID : PASSWORD : AMO
- Page 27 and 28: • Registration and user Login 27
- Page 29 and 30: • Books catalog 29 HYDERABAD INIS
- Page 31 and 32: • Payment by credit card 31 HYDER
- Page 33 and 34: 33 3. AIM: Create and Save an XML
- Page 35 and 36: 35 • User information page: Useri
- Page 37 and 38: Userinfo.xml: 1 abc def ghi jkl
- Page 39 and 40: Output: • Login page: 39 HYDERABA
- Page 41 and 42: 41 4. AIM: Install TOMCAT web serv
- Page 43 and 44: • Registration page: Reg.html: 43
- Page 45 and 46: Order.html: ID : PASSWORD : TIT
- Page 47 and 48: } } 47 pw.println(""); pw.println("
- Page 49 and 50: } } } else { 49 pw.println("press R
- Page 51 and 52: } } { } 51 resp.sendError(500,e.toS
- Page 53 and 54: } } 53 catch(Exception e) { resp.se
- Page 55 and 56: RETRY"); } } } } else { 55 } pw.pri
- Page 57 and 58: Output: • Home page: 57 HYDERABAD
- Page 59 and 60: • Login servlet: 59 HYDERABAD INI
- Page 61 and 62: • Reg servlet: • User profile p
- Page 63 and 64: • Books catalog page: 63 HYDERABA
- Page 65 and 66: 65 HYDERABAD INISTITUTE OF TECHOLOG
- Page 67 and 68: • Order servlet: 67 HYDERABAD INI
- Page 69 and 70: • Login page: Login.html: LOG
• Books catalog:<br />
Scart.html:<br />
<br />
<br />
<br />
function validate()<br />
{<br />
var flag=1;<br />
if(document.myform.title.value=="")<br />
{<br />
flag=0;<br />
}<br />
str=document.myform.title.value;<br />
20<br />
if(str=="c")<br />
{<br />
document.writeln("");<br />
document.writeln("title-->c"+" cost-->444");<br />
}<br />
else if(str=="jsp")<br />
{<br />
document.writeln("");<br />
document.writeln("title-->jsp"+" cost-->555");<br />
}<br />
else<br />
{<br />
flag=0;<br />
}<br />
if(flag==1)<br />
{<br />
alert("VALID INPUT");<br />
}<br />
else<br />
{<br />
alert("INVALID INPUT");<br />
document.myform.focus();<br />
}<br />
}<br />
<br />
<br />
<br />
BOOK TITLE :<br />
HYDERABAD INISTITUTE OF TECHOLOGY AND MANAGEMENT