Java-Business-Application/C2/Servlet-Methods/Khasi

From Script | Spoken-Tutorial
Revision as of 22:23, 29 May 2017 by Hezekiah2016 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Pdiang sngewbha sha spoken-tutorial halor Servlet Methods.
00:06 Ha kane ka tutorial, ngin pule ban :
00:08 shna ka simple login form pyndonkam ka JSP
00:13 Pass ki parameters pyndonkam ka doGet method
00:16 Pass parameters pyndonkam ka doPost method
00:20 ka jingïapher hapdeng doGet bad ki doPost methods.
00:25 Hangne ngi pyndonkam ka:Ubuntu Version 12.04
00:30 Netbeans IDE 7.3
00:33 JDK 1.7
00:36 Firefox web-browser 21.0.
00:39 Phi lah ban pyndonkam uno uno u web-browser uba phi kwah.
00:43 Ban bud ïakane ka tutorial, phi dei ban tip ïaka:
00:46 Core Java pyndonkam ka Netbeans IDE
00:49 HTML
00:51 Basics jong ka Java Servlets bad ki JSP.
00:56 Lada em, na bynta ki tutorial ba kum kane leit shaka website jong ngi.
01:00 Ngin sdang dakaba shna ïaka web application jong ngi - kaLibrary Management System.
01:06 Nyngkong, ngin shna ïaka Home page.
01:09 Ka Home page Kan kynthup ïaka login form ba simple.
01:14 Kan pynlah ruh ban pynshisha ïaki user ban login sha ka Library Management System.
01:20 Mynta, to ngin leit sha ka Netbeans IDE.
01:23 To ngin leit sha ka page index dot jsp kaba ngi lahdep pynpher hashwa.
01:30 Nga la pynpher ïa kane ka page ban shna ïaka home page jong ngi.
01:35 Ngi buh ïa ka title kumHome Page.
01:38 Hapoh ka met jong ka page, ngi don ka table bad ki border kiba ïa ryngkat bad u 1.
01:44 Phi lah ban peit ïa u code hangne.
01:47 Hapoh jong ka table, ngi lah thep lang ïaka heading Welcome to Library Management System.
01:54 Nangta, ngi don ïaka paragraph tag kaba kynthup "This is the home page for Library Management System".
02:03 Nangta ngi don ïaka hyperlink kaba link sha ka page ba khot visitorHomePage dot jsp.
02:11 Ngin shna ïa kane ka page hadien.
02:13 Kaba bud, ngi don ïaka login form ba simple.
02:18 Kane ka form ka pynlah ïa u registered user ban ‘‘‘login’’’.
02:22 Shwa ban shna ïa ka form , phi donkam ban shna ïaka servlet ba kyrteng GreetingServlet.
02:28 Te, pause ïaka tutorial hangne bad shna ïaka servlet ba thymmai kumba la batai ha ka tutorial ba hashwa.
02:35 Peit thuh ba ka kyrteng servlet kadei GreetingServlet bad
02:39 KaURL pattern ka dei ban long GreetingServletPath.
02:44 Kane ka form ka don ar tylli ki input elements - Username bad Password.
02:50 Ka don ruh ïa u Submit button u ba ong Sign In.
02:55 Nangta, ngi don iaka paragraph tag kaba kynthup ïaka link sha ka addUser.jsp.
03:03 Kane ka dei ka registration page naka bynta kito ki users kiba khlem pat dep register.
03:09 Mynta, to ngin leit sha ka GreetingServlet.java jong ngi.
03:14 Peit thuh ba ïaka GreetingServlet.java la shna haka juh ka package org.spokentutorial.
03:23 Mynta, Kane kaservlet yn lah ban plie ïaka form data naka request object.
03:30 Kane ka servlet kan long kum ka controller.
03:33 Phi kynmaw ba ngi la iohsngew teng mynshwa shaphang u ‘‘‘controller’’’?
03:38 Mynta, ngin ïa peit ba kumno u servlet u treikam kum u controller.
03:42 Ka form data kan shong ha ka request object.
03:46 Ka kam ba nyngkong eh kadei ban wad bad sei ïaki form data parameters.
03:51 La leh ïa kane dakaba pyndonkam ka getParameter method ha ka request object.
03:57 Te, to ngin leit sha ka Netbeans IDE.
04:02 Type hapoh ka doGet method:
04:04 PrintWriter space out equal to response dot getWriter().
04:14 kaBa bud, ngin wad bad sei ïaki form data parameters.
04:18 Khnang ba haka laiñ ba bud, type:
04:20 String space username equal to request dot getParameter within brackets and double quotes userName bad semicolon.
04:35 Peit thuh ba kane ka userName kadei ka kyrteng kaba la kynthup lang haka form tag naka bynta ka User Name.
04:43 Kumjuh ruh, ngin wad bad sei ïaka password.
04:48 Te, ha u laiñ uba bud, type: String space password equal to request dot getParameter within brackets and double quotes password semicolon.
05:03 Nangta, ngin print ïaka UserName haka output.
05:08 Te, ha ka Laiñ babud, type:
05:10 out dot println within brackets and double quotes Hello from GET Method plus username.
05:21 Mynta, ban run ïa kane ka project, right-click ha MyFirstProject.
05:27 Click ha Clean and Build.
05:29 right-click biang ha MyFirstProject , click ha Run.
05:35 Te, ka server ka la treikam.
05:38 Ka la pyntreikam ïaka MyFirstProject.
05:41 Ngi la ioh ïaka Home page jong ngi bala pyni ha u browser.
05:45 Khmih thuh mynta ïa ka kyrteng jong ka the page ka dei Home Page.
05:50 Ngi lah ban iohi ia ka login form ba simple bha hangne.
05:54 To ngan thep ïaka Username bad Password.
05:58 Ngan type arya kum ka Username.
06:02 Badarya*123 Kum ka Password.
06:06 Nangta click ha ‘‘‘Sign In.
06:09 Ngi lah ban iohi ba ngi lah ioh iaka output Hello from GET Method arya.
06:15 Mynta, u user la lah ban login hangne namar ngi khlem pat kynthup ïa kano kano ka jingpynshisha hapoh u code.
06:24 Ngin sa leh ïa kane ha ka tutorial ba hadien.
06:28 Mynta, peit ha u ne u URL hangne.
06:31 U dei localhost colon 8080 slash MyFirstProject slash GreetingServletPath question mark userName equal to arya bad password equal to arya *123.
06:49 Mynta, ïaka form data la pynïakhlad naka information page da u dak jingkylli.
06:56 Ngi lah ban iohi ba ka username bad password kaba ngi la thep ha ka form ki long ruh hapoh jong u URL.
07:05 Mynta to ngin pyrshang ban leh biang ïaka juh, dakaba pyndonkam ka POST Method.
07:10 Te, leit phai biang sha ka IDE.
07:12 Copy ïa u code uba ngi la thoh na bynta ka doGet method bad paste haka doPost method.
07:20 Mynta, pynkylla ïaka println statement sha Hello from POST Method.
07:27 Mynta, to ngin plie ka index dot jsp.
07:31 Hangne, ngi dei ban pynkylla ïaka method attribute jong ka form tag sha POST.
07:37 Phi lah ban peit ïa une u code mynta.
07:42 Ngi don ka form action equal to GreetingServletPath method equal to POST.
07:49 Mynta, ngin run biang ïa kane ka Project.
07:53 TE, right-click ha MyFirstProject bad click haRun.
07:58 Ngi ioh ïa ka output kaba ïa syriem ïa kato kaba ngi la pyndonkam haka GET method.
08:04 Te, To ngin type biang ïaka UserName bad Password.
08:08 Nangta click ha Sign In.
08:12 Peit thuh ba ngi la ioh ïaka Hello from POST Method arya.
08:17 Mynta, peit ha u URL.
08:19 Ka dei localhost colon 8080 slash MyFirstProject slash GreetingServlet Path.
08:25 Hangne, ngim iohi ïaka form data ha u URL jong ka request.
08:30 Kane ka dei ka jingïapher bakhraw tam hapdeng jong doGet bad doPost methods.
08:35 Mynta, to ngin pule ba ha kano ka por ban pyndonkam ïa ka GET bad lano ban pynpyndonkam ïaki POST methods.
08:42 ïaka GET method la pyndonkam haba:
08:44 ka form ka long kaba rit bad nakata ki data ruh ki long duna.
08:48 u user u kwah ba ïaki content jong ki data ban iohi ha u URL.
08:53 POST method la pyndonkam haba:
08:55 ka form ka dei kaba heh bad nakata ki data ki don bun.
09:00 U user um kwah ïaki content jong ki data ban iohi ha u URL.
09:06 Nuksa: passwords
09:08 To ngin Batai lyngkot.
09:10 Ha kane ka tutorial, ngi la pule ban:
09:12 Shna ka simple login form pyndonkam ka JSP
09:16 Pass ki parameter pyndonkam ka doGet method
09:19 Pass ki parameter pyndonkam ka doPost method
09:22 Ki jingïapher hapdeng doGet bad ka doPost methods.
09:26 Sngewbha pynthikna ba phi la pyndep ïakane ka tutorial shwa ban ïaid shuh shuh sha khmat.
09:32 Peit ïaka video badon haka link harum.
09:35 Ka batai lyngkot ïaka Spoken Tutorial project.
09:38 Lada phim don ka bandwidth ba biang, phi lah ban download bad peit ïaka.
09:42 Ka Spoken Tutorial Project Team:
09:45 Ka pynlong workshops dakaba pyndonkam ki spoken tutorials.
09:48 Ka ai certificates sha kito kiba pass ïaka on-line test.
09:52 Ban tip kham bniah, sngewbha thoh sha: contact@spoken-tutorial.org
09:58 Spoken Tutorial project kadei shi bynta jong ka ‘‘‘Talk to a Teacher project.
10:02 La kyrshan ïaka daka National Mission on Education Lyngba ka ICT, MHRD, Sorkar India.
10:09 Khambun ka jingtip halor kane ka mission kadon ha ka :http://spoken-tutorial.org/NMEICT-Intro
10:19 ïaka Library Management System la noh synniang da ka software MNC ba pawkhmat lyngba ka programme "Corporate Social Responsibility" jong ki.
10:28 Ki la pynkhamti ruh ïaka content naka bynta kane ka spoken tutorial.
10:32 ïa kane ka script la pynkylla sha ka ktien Khasi da I Hezekiah Lyngdoh na Shillong. Khublei ba phi la ïasnohlang.

Contributors and Content Editors

Hezekiah2016