+ All Categories
Home > Documents > SKRWTLAB

SKRWTLAB

Date post: 16-Aug-2015
Category:
Upload: raviteja-pannem
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
111
S.N o Name of the experiment Date Signatu re 1 Develop static pages (using only HTML) of an online Book store. The pages should resemble: www.amazon.com The website should consist the following pages. Home page, Registration and user Login, User profile page, Books catalog, Shopping cart, Payment By credit card, order confirmation. 2 Validate the registration, user login, user profile and payment by credit card pages using JavaScript. 3 Create and save an XML document at the server, which contains 10 users information. Write a program which takes User Id as input and returns the user details by taking the user information from the XML document. 4 Bean Assignments 5 Install TOMCAT web server. Convert the static web pages of assignments 2 into dynamic web pages using servlets and cookies. Hint: User’s information (user id, password, credit card number) would be stored in web. Xml. Each user should have a separate shopping cart. 6 Implement the “Hello World” program using JSP Struts Framework. 7 Java Script that inputs three integers from the user and outputs their sum, average, largest. Use alert dialog box to display results. 8 Program for implementation of Fonts 9 Program for creating a table 10 Program for Entering a password INDEX
Transcript

S.NoName of the experimentDate Signature1 Develop static pages (using only HTML) of an onlineBook store. The pages should resemle!""".ama#on.comThe "esite should consist thefollo"ing pages. Home page$ %egistration and userLogin$ &ser profile page$ Books catalog$ 'hopping cart$(ayment By credit card$ order confirmation. ) *alidatetheregistration$ user login$ user profileandpayment y credit card pages using +ava'cript., -reate and save an .ML document at the server$ "hichcontains 1/ users information.0rite a program "hichtakes&ser1dasinput andreturnstheuserdetailsytaking the user information from the .ML document. 2 Bean3ssignments 4 1nstall T5M-3T"eserver. -onvert thestatic"epages of assignments ) into dynamic "e pages usingservlets and cookies. Hint! &ser6s information (user id$pass"ord$ credit card numer) "ould e stored in "e..ml. 7ach user should have a separate shopping cart.8 1mplement the 9Hello 0orld: program using +'( 'truts;rame"ork.< +ava 'cript that inputs three integers from the user andoutputs their sum$ average$ largest. &se alert dialog o=to display results.> (rogram for implementation of ;onts? (rogram for creating a tale1/ (rogram for 7ntering a pass"[email protected] static pages (using only html) of an online, book store. The pages should resemble www.amazon.com. The website should consist of following pages.1) H!" #$%"&The static home page must contain three frames.Top frame& Logo and the college name and links to Home page, Login page, Registration page,Cataloguepage and Cart page (the description of these pages will be given below).'eft frame&t least four links for navigation, which willdispla! the catalogue of respective links."or e.g.#$hen !ou click the link ()*"+ the catalogue for )*" %ooks should be displa!ed in the Right frame.,ightframe&Thepagestothelinksintheleft framemust beloadedhere. &nitiall!thispagecontains'escription of the web site.Logo$eb (ite )ameHome Login Registration Catalogue CartC(**C****C&+&L Description of the Web Site-) '%./ #$%"& This page looks like below#Logo $eb (ite )ame Home Login Registration Catalogue CartC(**C****C&+&L Login # ,assword#)'umit %eset0) )$T'%1" #$%"&The catalogue page should contain the details of all the books available in the web site in a table.The details should contain the following#-. (nap shot of Cover ,age... uthor )ame./. ,ublisher.0. ,rice.1. dd to cart button.,Logo $eb (ite )ameHome Login Registration Catalogue CartC(**C****%ook #23L %ibleuthor # $inston,ublication # $iel!4 05.1%ook #&uthor # (.Russel,ublication # ,rincetonhall4 6/2) )$,T #$%"&The cart page contains the details about the books which are added to the cart.The cart page should look like this#Logo$eb (ite )ameHome Login Registration Catalogue CartC(**C****C&+&L3ook name#rice4uantity$mount7ava .4/1.1 . 48523L bible 405.1 - 405.1Total amount 5 4-/5.1Index.htmlAhtmlBAheadBAtitleB 0elcome to 3M3C5@ 7ookDs "esiteAEtitleBAEheadBAframeset ro"sFG1/>$HGBAframe nameFtop srcFGtop.htmlG noresi#e frameorderF/scrollingFno EB2Aframeset colsFG>/$HGBAframe nameFleft noresi#e scrollingFno frameorderF/ srcFGleft.htmlGBAframe nameFright noresi#e frameorderF/ srcFGright.htmlGBAEframesetBAEframesetBAEhtmlBTop.htmlAhtmlBAheadBAtitleB 0elcome to 3M3C5@ "esiteAEtitleBAstyle typeFGte=tEcssGBtdI cursor!pointerJ color! K////88J fontL"eight!olderJ order!K8844?? 1 solid JMmarNueeIackground! K4488Registration.htmlAhtmlBAheadB?AtitleB 0elcome to 3M3C5@ "esiteAEtitleBAlink relFGstylesheetG hrefFGstyle.cssG typeFGte=tEcssGBAscript typeFGte=tEQavascriptG srcFGvalidation.QsGBAEscriptBAEheadBAodyBAcenterBAh,B%egistration ;orm AEh,BArEBAform nameFGf1G onsumitFGreturn form1Tvalidation()GBAtalecellpaddingFG1G alignFGcenterG BAtrB AtdB @ame!HAEtdBAtdB Ainput typeFGte=tG nameFGusernameGBAEtdBAEtrBAtrB AtdB(ass"ord!HAEtdBAtdB Ainput typeFGpass"ordG nameFGpass"ordGBAEtdBAEtrBAtrB AtdB7mail 1D!HAEtdBAtdB Ainput typeFGte=tG nameFGemailGBAEtdBAEtrBAtrB AtdB(hone @umer!HAEtdBAtdB Ainput typeFGte=tG nameFGphnoGBAEtdBAEtrBAtrB Atd valignFGtopGBSender!HAEtdB AtdB Ainput typeFGradioG nameFGradioG valueFG1GBMaleArB Ainput typeFGradioG nameFGradioG valueFG)GB;emaleAEtdBAEtrBAtrBAtdBDate of Birth!HAEtdBAtdB dd!Aselect nameFdd BAoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1JiAF,1JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectBmm! Aselect nameFmmB AoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1JiAF1)JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectB yyyy!Aselect nameFyyyyBAoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1>>/JiAF)//>JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectBAEtdBAEtrBAtrB Atd valignFGtopGBLanguage Rno"n!HAEtdBAtdBAinput typeFGchecko=G nameFGchecko=GvalueFG7nglishGB7nglishA Ainput typeFGchecko=G nameFGchecko=G valueFGTeluguGBTeluguArBAinput typeFGchecko=G nameFGchecko=G valueFGHindiGBHindiArB1/Ainput typeFGchecko=G nameFGchecko=G valueFGTamilGBTamilAEtdBAEtrBAtrB Atd valignFGtopGB3ddress!HAEtdBAtdBAte=tareanameFGaddressGBAEte=tareaBAEtdBAtrBAtdBAEtdBAtdBAinput typeFGsumitG valueFGsumitGhspaceFG1/GBAinput typeFGresetG valueFGresetGBAEtdBAEtrB AtrB Atd colspanF) BHAfont colorFGK;;////GBfields are mandatoryAEfontBAEtdBAEtrBAEtaleBAEcenterBAEodyBAEhtmlBOutput:11Catalogue.html1)AhtmlBAheadBAlink relFGstylesheetG hrefFGstyle.cssG typeFGte=tEcssGBAEheadBAodyBAcenterBAh,B7ooks -atalogueAEh,BAtale "idthF?/O alignFGcenterG gcolorFGK7177;;GBAtodygcolorFGK??????GBAtrB AthBAhrBBook AhrBAEthBAthBAhrBDetailsAhrBAEthBAthBAhrB(riceAhrBAEthBAthBAhrB5ptionsAhrBAEthB AEtrBAEtodyBAtody alignFGcenterGBAtrB AtdBAimg srcFGimagesE///,)Registration.htmlAhtmlBAheadBAtitleB 0elcome to 3M3C5@ "esiteAEtitleBAlink relFGstylesheetG hrefFGstyle.cssG typeFGte=tEcssGBAscript typeFGte=tEQavascriptG srcFGvalidation.QsGBAEscriptB AEheadBAodyBAcenterBAh,B %egistration ;orm AEh,B ArEBAform nameFGf1G onsumitFGreturn form1Tvalidation()GBAtalecellpaddingFG1G alignFGcenterG BAtrB AtdB @ame!H AEtdBAtdB Ainput typeFGte=tG nameFGusernameGBAEtdB AEtrBAtrB AtdB(ass"ord!H AEtdBAtdB Ainput typeFGpass"ordG nameFGpass"ordGBAEtdB AEtrBAtrB AtdB7mail 1D!H AEtdBAtdB Ainput typeFGte=tG nameFGemailGBAEtdB AEtrBAtrB AtdB(hone @umer!HAEtdBAtdB Ainput typeFGte=tG nameFGphnoGBAEtdB AEtrBAtrB Atd valignFGtopGBSender!HAEtdBAtdB Ainput typeFGradioG nameFGradioG valueFG1GBMaleArB Ainput typeFGradioG nameFGradioG valueFG)GB;emaleAEtdB AEtrBAtrBAtdBDate of Birth!HAEtdBAtdB dd!Aselect nameFdd B AoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1JiAF,1JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectBmm! Aselect nameFmmBAoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1JiAF1)JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectB yyyy!Aselect nameFyyyyB AoptionB AEoptionBAscript typeFGte=tEQavascriptGBfor(iF1>>/JiAF)//>JiUU)document."rite(GAoption valueFiBGUiUGAEoptionBG)JAEscriptBAEselectB AEtdB AEtrBAtrB Atd valignFGtopGBLanguage Rno"n!HAEtdBAtdB Ainput typeFGchecko=G nameFGchecko=G valueFG7nglishGB7nglishArBAinput typeFGchecko=G nameFGchecko=G valueFGTeluguGBTeluguArBAinput typeFGchecko=G nameFGchecko=G valueFGHindiGBHindiArBAinput typeFGchecko=G nameFGchecko=G valueFGTamilGBTamilAEtdB AEtrBAtrB Atd valignFGtopGB3ddress!HAEtdBAtdBAte=tareanameFGaddressGBAEte=tareaBAEtdBAtrBAtdBAEtdBAtdBAinput typeFGsumitG valueFGsumitGhspaceFG1/GB)?Ainput typeFGresetG valueFGresetGBAEtdB AEtrBAtrB Atd colspanF) BHAfont colorFGK;;////GBfields are mandatoryAEfontBAEtdBAEtrBAEtaleB AEcenterBAEodyBAEhtmlBOutput:,/,1,),,,2,4,8,.-reate and save an .ML document at the server$ "hich contains 1/ users information.0rite a program "hich takes &ser 1d as input and returns the user details y taking theuser information from the .ML documentstudent.dtd:AY7L7M7@T student(rollnum$name$parntname$ranch$year$addr$email$phno)BAY7L7M7@T rollTno(K(-D3T3)BAY7L7M7@T name(firstTname$lastTname)BAY7L7M7@T firstTname(K(-D3T3)BAY7L7M7@T lastTname(K(-D3T3)BAY7L7M7@T fatherTname(fname$mname$lname)BAY7L7M7@T firstTname(K(-D3T3)BAY7L7M7@T lastTname(K(-D3T3)BAY7L7M7@T ranch(K(-D3T3)BAY7L7M7@T year(K(-D3T3)BAY7L7M7@T address(doorTno$street$city)BAY7L7M7@T doorTno(K(-D3T3)BAY7L7M7@T street(K(-D3T3)BAY7L7M7@T city(K(-D3T3)BAY7L7M7@T email(K(-D3T3)BAY7L7M7@T phno(K(-D3T3)Bstudent.xsd:A=s!schemaBA=s!element nameFGstudentGBA=s!comple=typeBA=s!seNuenceBA=s!element nameFGrollTnoG typeFG=s!stringGEBA=s!element nameFGnameGBA=s!comple=typeBA=s!seNuenceBA=s!element nameFGfirstTnameG typeFG=s!stringGEBA=s!element nameFGlastTnameG typeFG=s!stringGEBAE=s!seNuenceBAE=s!comple=typeBAE=s!elementBA=s!element nameFGfatherLnameGBA=s!comple=typeBA=s!seNuenceBA=s!element nameFGfirstTnameG typeFG=s!stringGEBA=s!element nameFGlastTnameG typeFG=s!stringGEBAE=s!seNuenceBAE=s!comple=typeBAE=s!elementB, (rogram -ode To 7=hiit 0ave 7ffect 8