A Perfect Place For All Resources
A Perfect Place For All Resources
com
A Perfect Place for All Java Resources
Core Java | Servlet | JSP | JDBC | Struts | Hibernate | Spring Java Projects | FAQs | Interview Questions | Sample Programs Certification Stuff | eBooks | Interview Tips | Forums | Java Discussions
www.JavaEra.com
A Perfect Place for All Java Resources
JSP
(Natraj Notes)
www.JavaEra.com
J5
P (aro.t've.r
R.6e5
re/rr
---+
N6 OfPr)CotJon iS
ux-b
r
Ctsl1g6l<tn
o?
ocgveSrr-tr
"
'-'z -fhe is
ihe
iorcrner
ca
ed
"1
[D ->
NorE.-
s",u.
",4"
,,PSrecholqc 3ce
( req,ui ,.
nvrlrorns )
Eji- S."u'.*,
Sovcl - S;cle
E$
61;gni
PFf
c'od
to<,b
res&rte
I
coroP ',
PYuS\6rn)
p\e
Lu.t<s
iD
Sewe't{,
lservl*
prq
isP
p"g
asP'rt I cort'e ,,
Prg.' ')
- Side tddrechnologiej :-
-)
Poltr,ired
N'rE'- cricrLt
a't ue" " p3'' \-tml , javasctipr' v[5cr;pb' Asax Pt"fn rhe toindocofcrienr) &['.p9e^
lo
L,rYWr"gs'
'*
*":"':^::i.^,t[."--r'
rcebo-pplia&fidn
o? uILb&'Not I Dewe'r 7
exeuJ,\ct^ .
re
'
NfiE:: Degde tarrrl,u cocbresource P'ruqram plaae ucherrt ic cmth koled it xeut<s not bosed oa the place cohe.,e
Tes)des.
i9
c\te#-6td
-6ide tahnotogiq . so @e caD cloose oat C\ient -Sr"de technolggt LDh) lp c_lelr-lop;ng eY6a{4>t i(ariu{., cbo<_.,Se Serur,r-_s;de
clicn-t
,
Arr brar:ser t,
indcxls s-a{fre-fs a
fedonologies [ased on
E3:use V0lute
Selvref
$e
c1rbserue,x
crse
\og
66 14P,q
&ritb
java
baled . Selvx
I i \.
tornccf , rrr.{,:
PrD 3'rc{ms
tg,
cro d ere...
d,Lgbp
Bewen
-sJde
Serven
s \iEe I15
SerVc'{
l f.*.' o<
fnfurmo6cm
Ge
ta-hnologiex
to
&vetoPe
,*.
6ide Vq3
*u* . ) _,,
Prom 6an
6trr',
m irro
sgsrc"^,S
fga.re
cc"re
Ro.&om
ro5 (
0Yacr cotP
)
\-,'
oJP
osP,
l'l;crosoFt
----+ ftom Hic'oso Fr PH? # Pto- &frc.che P'om Ad&e f6;P P6i5n -=+ ffn rn JVer<c"+ e 36J5
nej-
->
a.'
Nht
Lt5
&n
Seovc,r
rht-6
flor
SeTvtrus
Ednd%x
drdrot \ike
&rvlg1.g L*tc'-r<
tl-X cornf{rYeA
kse Jsf ;erhnol'ogJ lne ta-1 hs ve'teoseJ -?bsotve *us prob\c"o Eonms (e*rler5,,^ & &^ruos ar\ f h*ln3 ds &Lr\Klncfe to As? *.] ,-oo,* -' uJrut': use JsP to PvDgramers rnn-iava the crllo@d pyocess -t Ths
<J
o? 6'rng"r"edto Mf'
\-'
\'-.,
r-'
Jsp
$elltet
Loi\l not
ibs
cy.l
volen
Li.,r*,.rs 0(
-)
--
is
.regrrire.l
non
-j avc(
"-> P\octn3 Hrnl cocle in servtf prurcrm is corn5>ler and dn (ylcr:{ pron plocess s" t''tui ()Issenfarl(rn togrc ( Wr.ae ) coirh Buslness togtc (javcrcot)
lrilrich
is not
rerorrrnd
e ci
--)
imp\[it
L.trv
e p*et,
ond ur
takrn
nrecl
"rrltL\ re
objeLt
caye
Exceltticrrlk"ncLtioS shrrrdbe
S p.gra-rn.,r exetro:rfi.
,
'
-) Gm83*oHt ol
ancl retoadin3
Servtrt
of &e
edl6r1ptirr,r-t qfi
W-
To sot/r/e
s --z k!+ean l^7 \tueA pnoTrarnin6' t,,tt-L&a- jar n.,,_,_,o +'"'oao-f1ot., kri+'llo iq ff ooL }-t hrrn.JGJ't.' xO + 9:16.+ {urro -tUi '<1ci.tnt'. # -+ t'vr4 1"no fi 'nilUft &tn orr/ cl,a' Go o+' trua cJtulg trftbsur ul1l&rn aJdffin'd Qd'" I'D a$px tfia,no' 6 tanans'to 9tle^de Ptc/rnldfoo [.$'c, (tn"r.,"*-t {oE, t"lo2.e,(ptrr.c.d9] : * + $t&pffoo -l+^Jlirry. t( c?tforFl
@\^Axt
'l
I
'
ie + W;.*t
*.' I ' {b a,*
5f@=>
wJz' b"rcPw n lh"- .&A"*;lrt+tf * n*;[:$coxo'oa u$( h<- #{t-1"4 cro"'lFpu-!- :"1"Tl\o}fto a]' vs}+fi. +G*, boiF;D Ctp :t*4 q4 CIt{'D til""* +b Jur<Jq u}^1o") T? 4'-X tuW4 ?A +'g^ +D u-k- wrd > ^-ry 4o l-q.rD o'r, g^/'/ A
Pty
qry,
!a- S* '^**oon & a-M{ WyEy#2' :-3 tnpu-1*-'b+,4 ) -th4-" Prpcona q, l(er)ve.il\"8' CIP tIJ^-- 1t)lD o"' eguvot"nl- tuot.rF PY ::& @dp- fr a"lt-i Xgp-& eo,optLattoa- fo, +ttis Ovy+"ne-c"'r'ptbr3,
uJ1 l',c- utfii>4'
;5 + To stbah f,sp ptryrarr'a tt'o- ru".d W @af@\_ .lni( orp eont6dru4l( elhonco-mznt g ./*.trlt'l,(qo+e.be*-a -+?n furXs-t- 31,eu4r 4t\2. ?yp Asobir>*- Q&F{f fr thr- aAlrrn'blnq;\l-r{f} T tnn. gairr Grrkttnerr .Cr;Jfr:o.'
'3 -? 5
tePte-lr.rft !e^\Lr+ cr-u-rr,rOV'nat-/rc,.*2\rfb\.Cs0hr---fr'{ur ozpte*nn @ tenoW qn-
<f"-r"f*n^*Afru\Gafrtnr.Gr
-5
;
|rp pag-eon6*V-
errlxrV4 Uy
': -:
Sltuclq.r-
cs
a[
<L>
q.
c*.
Q.;-
A*
e+
t4.w
6_l
4' t*.k- ?*,ac,,J,- B f? per 1T:1:' gitxc ,,?y.i. -> c-r1+ n *ff*A i" .;"p;f. pou*+o a, 6r.p" t ft^q wV * t n7"*n)" w%P-*- ,ur 6V Grnara4 VafiSfury- Oofer'.ts 7V dJ'^4, c"'r*"'inf ' G i:
ry
Y-:-:i
eI e..r -t'cLj
Juso-
?'tn--J
ta65Pr
(o*0-
aethnctqlsw
6.+ '= G {t
--'
fup'
qcrr,c- leSPttJ-o-
Oaoaco&
vtr gonFM-e'
$9t"ft'
$t3,.-
c\<-tL
*1r11>.J
</, ?orr4.rtjll -Dat d=rloru Jaw'AboaEu14 Ouf'DtfnMn (d,&,}tr.n7 /J"l-1hq--,r1a J,ouf.ptfnA{l t): ^ /.2 taplltkofl
,W*.- C"e-f- b"Arr7a*"t.
er\ov.ap
t>tve-aht"/\
4t4e-.J*p 'f .', -tr-.\ z l.t'- <h'>' 4 hY\ <b7 <b;:r**-> Llttcon - to C&P 4c'Qr*44> rs dL2 Itn'6 rsc an# ffn'6 <12 ufu ub an$
W FqY'n
wsAde,GJ -il
fr
*J-tl
tGll rS:{
: - ll tii
A]|
%a*++
*n
fJ"T-h$r,,et'xnt P&rE' t-
'
*, J
.1pJ
a-
*@9.^<ure.lr-^tp/7
ai-Cpr,{rS?oYe}fo.rl
,n
d"" u'nt ad'>', ktb it- ir a-t \pW'tr\' ou^i''U+"L"n"- *, v,eh''.t*) $'' b'6'o Na,- ?e(, pwq tlLonarn-a qrd il*O*f 7b .qdrrt+ -> b c''ot'lgat-' fu fF WP"Wu* (}3g-^pPb ^"?al'""tt'!j"t*] y1r6;'fo-rc q +nt" *""LJ +- A;;atff uv)-'u.*1a6n' @a *6d\t/'''' I"lltp'
d-z^u'ng
e'pKo,rl""l
J|p
udvL recomorod'l' fo
r-. ry
trjb.Xfn( <ejf.b--4W>
4kr,rrV>
ft
'
an-p*t '*y,
e,l,.%
*-'#fri, 3 *g -'tn, ,ain. Cn'*L fqrtu' 9**-it, I Ps/oft At*9 X e{44 u"b'nP?\" % ry. ryyY fi'yo,ry*' +rnl ts Pur.d a;"ei-\tyf*@) '^y *f,* (!t'r'-"ta4 w.".4 o-t'b')cdil &tk- 4o roax'- +fr-- undt'J-tyln :o mu* he- '^'YY^: gast:a'u ffi;"; aet' tt4ow'-a' Pi
?D
prq Go r'-'*+r'*'4
* "*7 L4^'pna'a
6,rdtr--f-nr4--croA
'|ftrry}{tl:};f'
D?a.effx
'
*6rfte
"5\-7 *,
-,
L,
con&iscralfo"o,
P'{D7{n{tU
op+]:?-'utr
t\
'kl&u ' b
ctp
rfc''.nJ'
Go b"^*
Dr\e?zqrnq4, r"woaoJty)
Iilzndlcr' q (ur'v-;" t6 y
1nt^-a.NL
4 jt?
out
q9UiAk-
o -=
CI
ryol.prDk*
,^Vt
F2z
afldjcob'0"l
ponaCmFert-
-Ai
lC\
fr
-i
--r
.l
(e*tfczn
e q
d.au."
e
{Lr -1
I
-t
o('Il- qtJ=to,-,:oJ
%7
t'o-t,
ei.yt+ a.t:a>x6t)}.lj
Q'"r
fullg!ie--r$dag3
+n- dcle tr
\;aA._{-/
Q"l
ena-
stot-
c,l
&-bv
F</r
(g^t ,t-ttV g) Tre o-h , 3.rrl.r+&{rpl)1., .>.{) (putxu -Qxdrqc--)J. *T"(**tr-rPguu* eo*Tr,
&?- cfuC{F
e?Lf)
Pt.E+e4.kd
.
flld!",'.':;
qr
*{
el
G-il
G\{
Ww.Jttdgr
-%s4ruL1)
tu\ath?el
-&ghee{4 rnir(<xrdarGnw
ffi
s'b.t rl-Lb"
c *l
ll 'i&J..t .i
l,e-.;1
*lr
Jeg}rff
t)
-)(qmr- al !eaA-*
&ecarr,t'-
p tr "fr*
c,i(t
L.-
..,&"i
C?.1lqr1<d ,%h, orb
.$r
i$
r@r
fferhoc{
s
)
o've
l\ I >ol2
in;t(Se,rrerConft3
gerr ice
cS
f Sov rerQeguesr
veqr,5eo.,reA'%sF-se
res) (F-orrt
service
(-' -))
destrog 1 1
o.,d P-@d
Service
(-',-)
(-r*) n*rbod
Pr
desrrog
[)
rrte-rba
t no
Ccmvioce
rrcrl>o
*)
(,"t'..
Be"{'vi(e
C-' ") )
every isp
pT
aq
Seruter frrX
P*
The crrNience
me6ocfs
""-
lf"l
inirC-)
Serv,(e
(-
-)
ce
(tl
)
fu
-isp$rv
laDesr*y
,J
der'511
v-l
c{lurqs exposs fbese Ccrnvenience lo plcr'e logicS' t,0e use lbese Cc'nvienrrre mesbods
g-r v
leJ-
roet$odE. so
jtpfnirC)
jspSrvicef,-) *
-,
jdbc arr'necricrn'
usft{
jseDsr,agt)------+uset.,rfuPloceunhiHo'[izatlcrylo8|cliFeclosiogirdbcc6nr1ul<n'
DoEs NOI E'.
i$T
1'destro Ut )
I. ir6brtir-ftln
fl.r.lrni
A,'.u14crrrse
c,rf
5p
z,
in it(&.,vre*G'n g
o5;;
ft;vice(-, -)
(F.,b.lr.)
ispJnrtl, -
bjrtbele(tmvieocemerhr:d*f+vnSarPTDgTQrnrf,g{tovlatrliPerEclc|oTlq' 'tnuhods inwoa\ ' cycle Lik rhe ^rec'L $ere rattrl,ds ct're cq]lel ftot
-)
The rrtbodt
i'e'
cc,t-ted
is ra.ised
inrcrnrUr3
j5
Gd-led
fife qcte
mshod,",
iF o,rg orl-er
I'E-rrhaA-;s caaeA
So-
rtuS
''
,* O". **'
arc.isP
$c'" tFsr
nlaI{r/.
is not uueA
liPe
%Je
->
ae
iorfcc,i
o?
SpApp crrbo?elicanc"'
Ccrrres
in
rhe
dtt 4utt*'rl3 Bre *t"$ Zrorco;-bcnae> \ w*u\"M\loccu bosr\ JseArr\ sof \6tl.che \ jrr 6 rae^,
?od4tle
n4
tbe ftte m.nrs o..c ABc - isP "jovq t@d frrre code ) AgC * jsp . clc.ss ( Compne d &de )
rhe
inil-
C-) rnerba
inrctDollY
gerrn
S{t.l clor5
&
inrrrrrJq c6u,s
ftu,' E t.n crass og
dtswogC)
"rsn
the
.
@oviJot rlY-tj'fr)d
-jsf
&Jrr--,n
(-,-;
eq/rc.leni servictclo\d
) k"n
4 Toor^t Sor9l
HttPtuvcr
rto
cta$
'
' $a,
--: b!
ex}-cnJ5
jsl eqAatat ServRf Siue.g 0r.,lU -isPS.,uicc ttrrn urned wikv Plcice TO ( d.oesnot 6),E Jsplnitt ) ,'jseDt'rr'.oy ).rcrlnds '
&Parrrt eW5
(-r
-)
rnc-rfio'fe4
'
c\tryrl
'
'
in
jsp Pt1s'
&rvler
is
H*e&''vkr
tb
dePa"rt
f
rnerfioc'l
->
ecde
Pktced
io gcripl*
Bes
-jsp&rn',.
|r-)
as
ib fs plc'ce
io "
9ripttt'
prcrc&re
orrlccr-rldo
in
6r-ulqlic sevwt
Slep-L'.'
Pplogee SpApr
ur-ra o4Plicodcrn
Jbfop ftta"*
-ra,
bo
gt(1,-i'""
q$n
I
tL-r I
$e &.d apPl'coflorr
b10J1tu
srirybco r
fr6g://tocorho
olp'.
N6@ic
Sewe'r
oP
isP
eyoJe*
SEw)cr
P<rv
Agc.isP prg'
NorE:- hleblogic
det$es the
*f'rarn)orion
(here
pfrose
CmvefiS
JsP p''g
inlo
an qlJuieflr
'('rvtet
't"t<)
"resgr*
AOc-is9-
Rqpestfh,ces;n3 Pfuts
(t
.re the
6oes lo
ot*
and
-jsP&"uice
bYoatc,r
,rri"d$
-jsp.java
javct
claJ:
Reqrrelf
PrDceJs
lnS
PcLrhspolcJ
\n Rtl"stPt*st,l3 ohT:^
TP
c'nJ vefeslPrtviotts iP lsp{R -rce Code )s not ,"pdified tl'e Rryesh Sitr'n .c\ass Fre o9' jsl eq,,-.alerurSnr\et ls dx'j\o-ble ' Othgrcoise
Corn;r."rd
to
{ Rt+'*t ?'uess'n3 eIe* ' % "*tl oP $? Po'*aD code Sorce lhe ., --t dspGntnncr *rr*whNs rr'ry-ar .! \e$rrst unlill next re?rresl ,o"* 6 *rf Jsv rel/'ef cDde & "ury $rrr(e $t-t-his co'npare o\\o(JJs Js? &mr.nnc/ to - --+ t@b Ccnnpcrl)slcro *iv1 veryresbbX - pith rhe Scsrce &de c,? Previ&s
tCI
J5P Pctf]sldeI
in
{tanskrncn phcrse
'
lit
ARAXI6, N
.-
D]FF
. Gnd e_rc" - -
-+
-rcot
Jsp eq^,ctent
Sewret !
.--
'
Secorrse in
rhe
Scrper
ckus o(
liPeqcle n.erbocls
a'rc
'nrcde
os " grrl
. (rep.r [rrGeBaee
cf Jxrer'j.r)
"nerfro.td
--> lhis
me
Pcnces prcYamel
c.mlt
fu .re rhe
Jsp oye:
_
rLicnce rne*n.l,s
ftf tikqcr(
.--
r'cd.
liFecgcte rretheds
op
->
-+ + derrrog [ )
) Gr*.)
&x
il
I
"{r
cg
is
mod:Hed' fronuoil3
crnd
dveLtlg
Tle
o)
b)
c)
Ahgt,rtSt,
dd
nff be yePlflt
Serv
rc )'CDrnp;
jsy e4uglen+
ler
cLNs
niwm
bX
iomcqf Se'6\tcl'r
add
'$rtot'rin g
j^ gr"s to cL^ss P rH
') 9o\rleF - oPi ' jc('{
tn
eTorntc'-.bom< >
rib
A'atn '
jc"'i
el
'
,lasncr
j a'{
/I
not gqnended
ryrE!"
-'ihe
ohrr grx,t'ce is
ctt
$'
Ans
HL{,r
o"d
coha+
is rha
cue oP
it
Ltndr-
,u,PP
> >
zg'lleI
zsenlll - Dorn(
o-b: Ll s-n 7
>
pur"t-
61
5sP
eir$e'v daYi^J
'
'
&d ^b
vN^e
tregt
lcmc'rr
oT
lcl
- 1^16qm >
n
zls-n
>
Wb
68P\l cuY{
'tr\ lni
2",11- P6tf{c'i
**
o.rd
tt..ti'"1 tle
o\Ptt oP
f,sP
46--Awcb
-o-ptt >
*" *?:J.fi:i
9'n'lcr
Ptt
4e'rquar
ntlaps
r,oirl''
U-r-tra^ti'Fc
lD
**t
,
;a
fu4rurtPwz'ann ?l'a:'
pltn
1-$ve'1'r*t;s 6xx"!t"
urJ4n-0-ncdn
c"1
JsP
cxrt
,,J.ful^6
&c
$.,'.tec'Je
eqrc'le n-F
g-
Wo(rr
ter- clau
6pi
rl'tcrt
l<eq" rrc
&'Yvif,l
Qr4PrieJ
tf
-"Ilcis
A.r'vore t\e
Ymcess
}et"*'t
j.f
efl.
czmPi
ter tco
d-lJ
didJt'os
A" g"nt:r'.**
Q'n''-ffi{
^4r
bn-6
1^^
eursde
gtra
&z
Qr"\r't
-----t^kgq"
%,u
lao\
WUo64c",'lsPc
P,neccrnPi(e'l
'
-'la'"\b'I Cfl,u
ttls
6t,qoone' i"l"x^uf
h:o\
o*
1r'Ponr$teJ
f$
D'o(eduir
lo
6dd
8Et-a:-
n,drer'r-e\
hlrsoil.n
\o' 3
su'ntr..
\ riu1
t^Jc.,'r,ui. i6!Y
Pit.
SleP-s'r
clcrs Pcth,
ke.p the
Gp {noX*rn ortsida
Er\Arns
d"
'Qwe"
t-,se rfie
FtP-
.-
-r
E:\n+Ps\
rcrnP>
javq
r,*otogic'
jspc
-cornp;Ey
jc(VaC
-E-o** Lo**r*
ABc.jsp
6.^r.r<J
;rr"rrt**ft-r..*&
.
^C/fiP\
,*rrtsl,.adbt rued
Brr
-
*W
,.'l -l
I
lt
j
ic.v.. Agc.isp krrkt atenaPf:.x "?- Ue+"**
LCA
E.,lA?ps\ i-emp>
iava
-ke.pflere6+ed
Nubtt6ic. jsp
[rr*r**
b3s
tl'e- &var * te
, cL4r. F'te
nu!^ df
\-/
t-,'
pret'fcrr-l
TgrtS &
Jsf,
etet ents. ;-
$."tpttg Tags:-
\-,/
(tt" -"-. t'r1 5) fu U.rr.r"rt"n (trt ..- t.>) c) Exeruslcrn (rr.= - - ,r.r)
a) Scriptle-t
rf)
&tpriog
tc$
:-
coe ptc,ae
.irva ode
1l-@
PrtaOrW
fr4s:-
"..'-- 'nr) Cr) ina'de DYer$Le Gt.Qira"ae " " - ,., ' " t' > ) Cilr) kgli6 DrrEari ue (w-g"A'tA "
(i)
Pae
Dioo;w (<Y.@rq"
(+)
Siz.oddrd A,t^-Tr.Xz:-
/&v:lot\*
z!sp'.
>
p\1i n
aPi
JE E&{s / ir'dex
--=-jsp
3sl rt l>rrr
HIn L
Cr;ven
'
s5
Wg
S3srcor"
Casesn6 i ri L
noi
Sryrc_rl\
tqoed
Ctienr
Pn4rarnin3
bJcb tchnoto AJ I^rbPoe.E $er''rer
Cntr
- Sid e
$enerons slc*ic
pratt-i
ramic
b't-b Pc'{e{
?^
Uecnttl
on
needS J 5? C"t'to]nr't
Q-
eoetot*t <n
'tr'u P Plcrce
JSf
ed
insicle
ge Shvet
nrhen
jrp
F,.Se
{rtg
is vEAesEd and
tbe're
5o rhere is
no
Deed of-qrn6tin3
ja, to
fxgrorn
c)ass parb
fi.-
6rrnrrnnd
pyDrop
'ls no need
'jsP
'
cf iee aei
Ltonut-lwme>\rio\ Jsp-opi
$6nipt
'iar
ret)l.eseits tfusisp
cti''
ler
S}trodc,fd 3toi.^^'1:/.
iava code
{m^.
/+ptS!pY?_^,r4s^rxh4e
ei
.x
java
cod
'l'7
Llisp' st'ttprlet>
in _.)
----t
srr;0rle.i
\rada.bles
e?(alenJ-
Setvrer(dc
1.
in
-jgpSrv;
re
("'-)
rncrhod,
lt\
imp)icir ohrrrs
a)
visib lc in
9riprle-s
ES O
l- 6tan&rd
<./
Sgo
rax
;-
eg';Q:
int 4 -_ ro.,
1y11
xm\ sfifc(X t,
z,i5p : &,fipt-ttr >
b: )o
lnr
OL,J.
c--atb
s*rng
5=',helro,;
ttdntln ("nct'tt_ iu
:"+c) I
7.7
lhi- len= S.lcDgrba)l OLGb - prtof'( n (' fna ter6rt') 16 " +leD). \-/
bsp
SL1|tprle+
>
g.riprlei Wt ue
Can't
d,e.P;oe nnert.ocl
ih
Scvipt(
*.
becrur,se
jc.va
p0b\Ic
doeg
rnt futaf
6uf1-)
'oesrcd rqe-rhods,
x,
/%
irlf
14fxrr
tint
)nt v )
e'((t{ (oit} afing
!-/
.i
X+ ''|
.kAr"+/. nllrott r,J thls is wonS code' f5"' -erlrd il.r dlp '-v
!
}Jhite
.-\
v.>
lJorlAng With
xml
+"fl
c,-g
&nd-.
HonoJ. 6Peafutr
rai
S'bru1 benininS,
tei
P"e29Ej
\*,'
inr
;p
b-_ro)
uttt
o*'P+nlnL'
'
"'i
7 /-.lsp', sctlPt-ler
bltrhdn 11-
\,
g69
gv<rodar
sgnF
r (
,,
c..roidin3
flDbl'-).
z1'l.
,rg_
4__ro
inf
i
=)o,
[arl)
ouf - VdYdln
0u+.
L"a'b")i
Q-I!L
dnttn (a=d)i
'
gt,7
\_-/
SoluHcrr,
-e : -
Of the Z j5p: Srriprtet > tat oS CDATA . -Ilxrr rreaos Alv{D dq-tu( (,ir\ be +avan as chororle r do ra ond ru jsp{ xmr fneaoirs ar;11 69 6qrlil on tta6 a, ..-.,
place
lhe
bodrJ
drJa.
< isP I sctt Pt)ct
>
6trmbo
{ [ cDArA t
ipy_ 6= to., ifi b __)o,
iP
l.
{azu)
Out '
frriof\n
L"a'b" ) :
'''\-/r \-> -,
zlis?:*rPrlt*
nt(I)' >
etse
6u"'P'tn'ttn
f"er>=b")l
]] t
plcrce-
(e t$) .\<o .onxrarn 'oYDgrcttn ' Le I "np jsp Ne corn Ker4 rr&ttiple grdarle-rs in cme
6nd xmi-krdd 6Xnra'r \n one i6P
Ne- plcrce B.lo0l L Declctrdlictn "'Sg n rax
6'd
frYqr0jf|'
&rlPtlef,6 '
..- @ -
6rz'rdard
i-
L't't
D6C I
qde
rner$ocl
'J
'/.>
XYnl
(501-crx:
LisP" deaentrton
>
Ll)5P d{.ltLt oH
"
dY\
>
oF crrr'S ide
E-X', L,/.\.
flrrblic
J
ini
tetut
SurnLlnt
a';ot b)
n atbi
is ^'
! t''
rr. o,.'o,int'n f"R""t't
+6o- fo'zo)i
7' 7
( jsP :
decial arr
oo >
z | lconrn
Rrb)
I
fl'naB;3
jc, int
iF
ini \iot
Y)
{
Cx<r; rtlcnD
r)
ls.
if (v, x )
..tCrr
n I't
ise
|,
Tet/r\ f)
o"
z lisp : dedc"\cn
cm
>
[ro,ro1).,
'//
+
7'
.a
corta$gp
ftk\Elrl/- J"r.UF
li<tr46-d q,
ffirfr_^u,Gt_)
,)
c+
<.f. !
E '
a, s-
{ rcfv"r-,
\ ./.2
x+9.
e_
e_
e'Aii
( ltcnrraL
prttf*
,"
et-r
Declara6-o;,
,t,ts'huodrl.''E
(ri:t-r,",o+7)
( ik
(x<Lr)
"4axr,
o*-
IIJ>
Yt
s fl
8-'
"Tr--2
frr-"o T"* rar&r,:t9).ll^t h' e&!"t,rnn ee'ianatJeo +=y fr*n sc,tpru+i--r (6+
y6rygaALa,
l,.lrr'IttV
J'oda"'tRlJoo
0^-i^^-rr
{*+
va.a*ua,
til#i",,t
nDgknm. v"u!,-rt
.aslulu ; \:ri-\-3: *:
r,
; t,I]
dtoa bd6
W:-atx-
zt*h,,4_;,-Ndt-
wga
an " tlCO
at
a.t>au,,t
(*r
l
<.t !,kE a=to ./-. <,/. &* ot^ ea:/,) /' (1' t.t1--pr.""; Ltt (u<hr2 d.(tc-+ptLt) Vo-tlp 1r :'t+ q\) ot-tf'' p$rx*4 C'ar+ q (&cL'rdr'or) \&,t,^o- ls, ttap(A.a)
-
r-$
e)-
u%1,
q)) '&i:
>'tu) Ws Fqc- vtp- lnrc eP,,ulf.) 3f eerd'/JLb,t'&-q4t$-(Sesj nr'ktl str''r Co& <4 rflfiu) u-rfrlq6 fu $<-o'lilc, l'" Qot> lt uler' tA;'
$rrzer1rsnh
.'1
6d*'?o
<tvexcwnz- fu'l
q- h".
b
tr & &
" esv ,l
<"f
4
38 "V - f$leer"lul-)
Csnurhprt"-
ag k
Oq-
"nalfi"c{r
PuLUc
vdd ;6oie 1;
9
&
3"
@
-nh*,n.,lz$s9.,p(-nr'n...j? : 1yg;oi1f)) .
vc^'sd
q.
e[v.*'\k,0ot4(
()
= (u xtc--j 9''p o t, r4Ot,"Yt"); I.t"> 9 (./' orof-p"rr,prt Cqca".i1o I Fru,o (a"rpbf (*l*pl"x^rru1r)),,r a &? tt'"n"1l6 .: k_ t "rp4 ,.,,)) 2a{/'!'t+Ttvta'str' w'' /2='
,
.rll.qn:,Jli6-!'l4A\c.
arrd4 dea"l i. 4a*rollont"*(<./1. --../>) e6il4 oc+ t"*. 6 +fr;s tpe Qsooot a.u'!z- Ttp WciV T 38 Ana 't^F^
AVpl'*"'Vtl')
lD
g9Wfu$artad Cr-i.r,^-.-,
\ /.=
Dz&drd-Ko>
{t 6
,6
W^
_t
. /.> =l t/
Vrtr
\.,.\.-,-\gz-\_--!,-
ic9rt.6*
4iq:
iateae;qxrafqrYa
il)
odpaww)>
:-o
erfYe'*kt6,
pJaALx{Krh.otL.<.
4tofi q,/4reJ6n/
o'il
Un:ta .fi"-
? W d"
-7.' :-
ff
+rur
ttr
tne..
-trp(u^truc,4
Cet r"
"--
Q
a
e.-.
{Ee&p
tn-. ,.**.*
<*n o' rolt ) *"'f"'' e-0,
4 \ldfu. is i <./.oa-,/> n \, It valu'- le. 1<.1.=-0.i, ap,*.'*"^r* fo'1'. e\ I e'm : <"/. q+ur .,, I w+::".1 e-._tt 114.1.,1*r.,tr " ' hr*o"t*x*, 6-uo.r, ar*a" ,'^ f,'Y'tr^( v'' \L W ; 6ot Pn'ra(d'+os'Y'fD;l D.jh 7 .',.1.<"' lfm.- L) 'lt ;: (-/,=rLer,, '-+\ \, , {-/,=rLer,, jor-ro.uX/.D"Ecl"D ./.>J I gy ./.>7 .]or*.ux/.DaEo"u.> \ e}_i '/ f rlffod G.n4 f6zau\,a) erye*:w ba. gi \ ::y"
;
"rr./.>t
"r2'"./,*_l
z% '
AwD&
lt:ffit(,/=g.r,o(6
.l+w
<ig:l-'" 'Pru+>
.l
&"";'-.ltAo.^
t I
,6.J
+ "4'tjL t-"ortn6 wl.f, tn4. >r'^r kqwr- T tw> aqrroraor>bf;, f e 6ll 4.Uo W4 < " st 06 FwLto,n lru+ aue Gnos+ g-du.l<. tt. pn+Jaa *YC &rnJ (W6^. tb atr.'s14 pt'f*rrhhf sW-u?rw^*-
,C
,6t.l
!l^ m- &\
votut-
it ljrf: e,qr.,nar,>2-c.go3Nja*t+*++iwDi,;,:.- d
u-* Oebred lfino, ls | (./. *rtu^, JU,-qa. us;l,oabcl.(2 <l'f!fo."V- ' tz+lte"!s^-('^-zf.e4.gt ' '' , uyrts ,. ,/,.,. "/'2 Zrrzgrleitc,rc' r)!!ae,-n s",-xtl "'l2r',
-,^"^*,^li e.l
'@
"-J
Sl
3+',
7.
;:
trt ;
i.'
to eutl.lralz "o.r-tr,"/t'
'1
o,.6. a..1 *,
7,: 3:
O
& b--
24'\
: ('f -, o.+ \, l>ia" -l- ) 1--'7 ,-J.4 at'e-7 4'1. = 4tb b'to-' y''> (wzopco&Q a 4.,<*-ntt lL4,Jilu\ at<( 1y'. =(a+,r)+u tt+(bto)''/-> (s;"$f'fudq 6 +9+ Coo 9 pLat- -Xvpte*-+ce-U.) it., o&- ?f Pal4roa y @ ytf $rc- 19p1cdvafunr6*tW- Sral u'\L -Ttp&.uSt, -')cud.zrrre6'ar(lk i
Bi4tr.tk a^?
d*llG:ct- aru,'bd
e$ -T*ptu.'ttz(-)
41,aj
Leeear)l-<
6 a g a
"*r*/
t6j
."p"-(vtuwUfJ
ootna-
bttrr4
-\*A" tta*PG*t*[ca, utas621 t+t*PG*l*{?upon @) f,ouax. Gu: \r"' t*P' ti {""-(+9 0auox.-$rpl.r'F' J F' 33l"l l"-P' tl*pkw:o- tg Jucax.-felrt+ '
Sotoox.lo,r.fui
(clsPe(co.12-<-
-Qt+rqo
.thfr(tu",'ert
Jarcax .
SnyScspe.
klilF' JW [b9boLe*
(aa
Fet4
pa+furfL<-
tup.e-
o*Lopflic"*fon ksp.-
fh-rsax.
Od"d<'
ptL
t
RsttR-
a
@
pyt-SuPp
)'J
. rregrgrlt- t!"PL
6
ffi
ffi
@
W&,-
13
c'-bqr)''
A'-
q ?yp ;npL'ot Gtiz*r atz lft- c+je{R ? kndr,lqd;?l:.+ ) "tr:::T-; t t tvp olon evflatnw -6"**4 W\4 5torr.l "* *),rlu- l&tto,,fur
,.1 ,. I l+.o-v @n4ajru4-/lw4 u,<
QrlrrJr"
cLhp
I
s
t9|
CAvnT*-
ba+"4
ao
thr-
3-*,
"15:?'::-T
haou fc.a rvwvz
lropUci llorf )uq] fF. 6?
*on:^'- rr
Arr4,jj-/
,
Ja.rt<
%rLwa:a *#Tffii
&sts
2r.\
O*Y
vo',Al\<xttV
(**,arl*rg-
U*- q,
7?^,./4
)ft
6%
'c*;
A
,!^---..!z-._^rr
t>tote*ue,6
*UrN* * ,*"*Aoln< .We, _ e..l u+hp/Jc"rfo.n ** 9ffi*.*s@,;l -+ Xy^?" "rn > h</rt-+ ut-o*,) Pi^;Lb' t +nh' +" p-A S*taog nltp P"jqr.C"*b fno?rqo &4- e"4 I lLuoo *ry#-#e!-)t\ut )J:|Pt''{:@,*, tl@24nt+9. I
W"
$- clar* -.* \ ,Vu"rp ,fu' </.=,r.g**-2nLl^xt)/"2 (Lr) (W"\ nqmz. X- 6r.F 4, <_1. =reu]_ .yl,(Uxo1) <6r>Aue.
I; e.
,*,
,e__l
Lr<^+L p.;ttnrlntl .+
:i *^4 <'1,1, p^uI),lc. ltsnV 2rvr'dhwt6n+{u'*7 I il I tt ** tu.'errt- Jats f h'm-' ;J I p?rx4rtE']-v') . . dal krr4J-,}44J45 (-0.-enLqr^7e*!rr*ot"-ty (-0.-qnLqr^TnlLlnt$aoG-tlj
//
f;H? (cl<)-
ll
^: Wuar
u^ea
rM,^
v
(hr=tQ '
vel-qrrt
q
mo"niyr, +
qa,.,'.a-,
t I | I
I I
/ 1 I I
IJ
*:ii ;li
(s*ll til-]]
,.Q.'l]
lr(rr<= l.)
r^,^) tntlvtt "\t- nqw"' nemo' ttwnttulq\4 aod n*Np ^-" C.rntsf 0.".1 s r ,n .t' rurn-. - -'J' -'-z
.lnsf >L.l-:(
t*-i] ***
rr
_it, cIA4
,J
,.ar-,ttuelqr'n a q"
o +r,,r^n
: t- ./ \
{N **f
..f,Sp
tt
.f tt'
Z*lttle-n
t potr.r.l os LteP ."., 1
- +r,
f,.,".,,
to J'p comr,nnicrr.fiwq
h$le.lii5
ot at1url
\'/
\J
'
-,-)
t-r',1
in
r funOc.3=
resPtcrnvely
hce for eod usc'r lo
3
\J
emefc(J.e
-lbe Hrm\
Br- pqe
the
relrsr
to &wrt
| Jsf Pogram.
I+J
S
cro P\&d- Jdbe code in Jop ftrDS ' glLt: and fo gdrheA fuJakY'se lo resttttiet fie 5i6re ol\oo5 JsP Prl rc pro- dol-abctse strr.
corrrmLrni co'tt
In1-r*i
--+
6onsg,
deFw
ilens platcd i5
acld;ffno'l Code in
cler.,tarajn'ans 'lzt8s
b*
te'r
nq
o? deu'adan 'ia{s
isproiK')
ca= gerSe,vr.,Gn69(
\i
);
SeouretG*.^t
) 56 -- ger$wrerGnrcxt( l
\-/
S'o'9 (c5'SetClassL)
S'o'e
.| k
);
( sc' getClo'stt );
\_/
'l:>
zbz
hetr o
4lb7 \-/
--\.'.'..
atl l
I 20 t>
2 3
4 5 <form action="dburl" method=,'qef '> 6 Number : <input type='.text" nime=.'tsno,.><br> 7 Name : <input type:,.lexf. name="tsname..><br> 8 Address : <inputtype=',text,, name=,,tsadd,,><br> I <input type="submit,' value=,,registe/. name=,.s.1,,> <br><br>
0
1
</form>
13 <web-app> 14 <servlet>
15
{6
d8'
lkYarqeft{
17
18
VGryas Y*[-ioJ
t9
21
20
tdht
PrnPei des
22 23 24
25
26
27
28
29
30
31
_:!1Em-value>idbc: </tnlt-palam> <init-param> <param-name>dbuser<palam_name> <param-value>scoft </pa ram-value> <init-param> <init-param> <param-name>dbpwd</param-name> <param-value>liger</param.value>
oracle:thin:
</param_value>
32
<init-param>
<load-on-startup>2<,/load-on-startup>
33
34 35 36 37
38 39
<servlet>
<servlet-mapping> <servlet-name>abc</servlet-name> <url-pattern>/dburl</url-pattern> <servlet-mapping>
</web-app>
41 _-...____.-.._-_________DBJspjsp-___ 42 <%@paoe import=.1ava.sql..'i %> 43 44 <o/ol 45 Connection con; 46 Prepa.edstatement ps1,ps2; 47 public void jsptnit() 48{ System.out.prinfln("DBJsp:isptnit0method.,t; 1: 50 try{
5t
52 53 54 55 56 57
58 59
40
60
6.1
62
64 65 66
67
63
yfsplnit()
o/o,
String s1=cg.getlnitParameter("d.iver'.); String s2=cg.getlnitParameter('.url"l; StIing s3=cg.getlnitparamete(.,dbuser,.); St.ing s4=cg.gettnitParameter(,'dbpwd'.); // create idbc connection ,preparedstatement obis Class.forName(s1); con=OriverManager.getconnection(s2,s3,s4); ps'l=con.prepa.eStatement(,'insert into studcnt values(?,?,?)'.); ps2=con.prepareStatement("select, from stljdent,,); Yftrv catch(Exception e) { e.printstackTrace(}; }
68(*t)<%
69 70 71 72 //read
--
7tr 71 75
(
//read form data
.74
77 78
7S
int no=lnteger,parsehqrequestgetParamete("tsno")); Stdng name=requesLgetParameter("tsname"); Striog addrs=request getParameter("tsadd"); /lset form data to ihe params of insert query
80
81
82 83 a4 85
i(res9!t=0)
{ %> (m)
86 87 88 89 90
91 92
<b>Registration
<%l
else
Failed<lb>
93 94 96 97 98 99
t9.%!rets" lIft
{
--_
{%'@ <b>RegistrationSuccess</b>
{00
101
<table>
<ta>
GD
102
t03
.t
104
05
l06
107 108
ff <% /print col names ilhi<=cnq++i) - for(int { %>G9 / - <td> <%=rsmd,getcolumnlabel(i) %></1d>
ttF% Y/ror %> (^s)
<lE>
t09
110 111 112 113 111 115
117
'
il
{t6
119
'"f llJ'$t"'="nt,**o
<td><%=rs.getstdng(i) %></td>
118 120
121 122
6q'z;lttto,
)/else y", G0 { try
-;/white rs.close();
128
129 130
131
if(psll=null) psl.close0;
if(ps2t=null) if(conl=null) con.close0;
Ps2.close(h
132
133
134
135 136
137
yrw
catch(Exception e)
{ e.printstackTrace0; }
138
139 140
)/jsp Oestroy( )
"/">
Qequest urr
: h ?: l/lo@rt$sr
ao)!
O8JgPA?P I
Inru+' hhv'' I
Uudb?frt
didrrss ; I;sT--_l
/tll
Sk
DSISP.isP
deru
tnldopaq1 e
Regtsrrc*ton
S|!..e
-_(ol(hr-r
p,sij
ssl
gepl Og e e ;ne
ot
tadentlal
Jry
igl
l^lEB
tta;,te
-fN1-
bpor
'ht-
Ajdbci+
DBJ5P ,J6T
Use
or
\ rhe
rhre
JsP
PrD
rarns
' ) i"
'
d.rive'r class
o"O'x|."
0,5
-J ,-)
,JtP
Iilb
l&rctnneFc'f
to rnodlfi fht-
rr5r Qra.ote fh,n clrir,ca k ng sltu &rpnechli'l vestldsr 6ertd 5ir,bmi b hrrtr"n CopHon an d aclr-l-,.thmal
frwn)lnl.
to
'
oJeQo..rtset}4ctz.dqhchPfi.iJDBk4le.rt,ccncl$aI'cmgclirh.olurnnrt.tr,rs
ernd Value s
ft'r rhe
giutn
$6c,rce Cocle
0{
aboue
rqpricarlolr
t P* fie
Sta?dlrr\{4}anri
l*"a**
an
zt/
rr f rr
Cc'l-''e.S
l-o
L"af.*
la
.
Ext{dern("
tAc to<rho"ls
the vqrltrn.5
deoloro$e^rrry
l"t^"
mcrnol4J
pqll l lon
'Avoid
beca's
&Jt '
println( )
B.occae,.t cbinc!ryrr.
oc^1,
plcce
^,
ta
name
a,}i
K (m
"
iD ptc.ce
o?
priorln(
ase
Jqs pruvide
drvecrcros
JE
-\.t
D'Yecr-'vc
"
\--,/
Pr4e Diretrve
Pftr, Si
page D;.e$iue
isP
PX like trdla{
irr4rc,fs , Cn-fe"i1rapg
"
.\J.
h-,
-",
I
d.ratD PluJ
gbodard -_--Xrn
Svnrax
Zt,@,Pane 61fiidtt<5'/,
>
\_./
'j
Grmbul langudge =
deRrqrr
"iouo"
t ---a
is\\J
c^
ood snt3
arr
lrrmg t^c-5e
c(
Can fxrsg
he^A oj U
VAJ-tn
x.
--.- -"
6use // nodepa-r116rue Ccnrcn*T5 e = " textllrrr'lr' / vesn con rcn* TJfe ll a"er^rr value : buPPrry = "16eb" [co) '' nc.e " // duq-rr,a-+ev-b
noy,,e
exrnds - "clors
9
"
ff rbr
recorondec,l
t."r/tnr.1
Lf"rsc
/l a.P"rtt -l
r"^(
lnqe
( (|,-rsr)
It
ol.Paa.,
ti
--,
ll
AuL.'.ln
---'--'
t'rue
rng "
!$.!'
/r.eft,.qe
ineo
1""i "
/' z
&xlr$t$n
Irn
JES
6!ou-t JrP
Pwgmrn
h o*it'd,lJ
Public
l.iog
get$,vrcTnfa1I
Ttlarr)
3
E!
-f'-
z'f,lage
-E-'rru,
ob,!:d
"Y>
jsp E+Iarenf g-v ter tdEs
SeSSl('n
.
Pu
nor
to
}ercl.(3}e
*P
)nnFllci h
L'l.PaSe
6.
SessJon
c'n
27.@,F+e
cai\rcy$Ts Pe
"appl;caHoo
---tr
kndl =
/roscood
^/.>
r8s pnc
?,*l""t
.
e in rbe ftn^ oP f
Ktouxe" DrrroXro
=Ql-
$s,r *o
nq ;ts a'
rcsncrde
ms
*a
as
l{s-E.rcq cleFl
"
aq,pttccrncrr,lvnd
-cxtcl '' 7 7
Ltable> Ltt>
LC\T
Sno
ZF> LA>
zlatble>
lol
Ati> Lr+t z Svame z-l th> 4tvz zltd > z-tA" r't6a LltA > 49>
lz
zv
@foige
imrJon =
)t
'/'2
ln tE5
(d5P Eq/!Lctl,.^}
3rv lct )
fr,c-k4-85
ew{
languoSe
='&va'' 7 2
iodr..''.'
Lr@WXe lornguaSq="6rr"7.
sc"iel coc{e
-L)
).
-L, ir-r"a
a'ee"
fuY
vatu{(
tr.@V'Ze
btpkt = -
"16r.,
+:,"2,+.
" ',
t'u,*"'f*
pr.fld -> E,rc\ Jsp cernPEers *re aq,"+ + J?P Pmitqrn un-Ft t its Qxeu:ion 4J YeJ norLJ( ' dn U^ef, Covt<nt ta brotoro" o)nd'uto ll @)Pr.Ie br-,?kr=" ,tore- '/.7 rocdk ,sti., -[-uu, $e 1'7 v'qam +o @
l<t{ *
holcls anJ tntg.xus &rver sicro. tws &9?<o rltu fttns Pe+ , A ?-i.<^ rW it
bvto
,"-*, (r,
A'P&*)
q- taken
bueP.{
Size
{5
'
ptl mc 6hal
tO L"$
l.a11nr",f< 1
U Tu" k\.rgirt
6,:,*V*
te
b*u
exp-nJeJ
Sc*
a'n-awakcatlX
fssFcnte
JoYb
6hCe
anJ tl'e
fu rl"t'
e.s
oll,,'drol
olto Ptuslv'n3
oP
U;u
P?er is
nortr.,ng
OYrCe
cor*e,-rt oP
Cqrrop
toiodcco
AtlhrDo$'Ccdlb
ltl:??u
='
loFb "
="twe''
"/,7
cr.r*rHt.Jl,
-fn*ol."
f.z T.u.ro-st..t
/'/.epxe
boPkn
='lorb"
Col
CiuioFlush="(:clxe"
-a
-lTlt
rt is
no need
oP erELl')llni
tox(l<1
&seAllin3
or.,ope.sh
ar.ro h..s
oi.r-n n
L/ @)?ri1e
=" rcne
''
"&tse" z,z
9;-
Nh0l-
i5 rhe
d;PPcrren
(e blo fti.*
Idrl
t('r
ctod
GPtJrtl'l
GpNtrrc.l
P.:ntWtrrc'r
---
ir. inie"roLll -) ctoJ not ul. ^P'--) ou,rc trsePr.t in &'{vle,{- fxDfftLYl^tn| clars oF jtruo'l0 P&LE0q CgnrftdJc -r r1bs
raQ' r'-'
*+ *--+
abisrtre
rulk4
rncrh
p9l;"';7
kJ
Ghsrl"z.r* clax
a?
4cn'ner-ssP
"-'
\v,
noc{r '^"n-' ,o?*r4 *"": t ureo^ =none) [ o'h e'n -iaF lg -Jsp goxu t ruo;L:- rJ )^r', -====' tt icz^) or+v,.,'11e p'r^rlhru iz Sc'"J
inre'noll1
Pllnrl'
t me*)".r t
r
ocl'l
$roos JoE'rrcnri^
rfr*sho,rn*
ad"Dtrvn"J
!"/
rsei
-4 Sn Seltterr6 pr-ogldY'l't
ldo(d"rAY
)auflf<rrnX sl"cttd be
enoJ'tal
e"-g[crtiil ta;t&
:
\r
iYl-9
-) fn
TsP bufu1't1 X
daPaortt
Prcram$
\.,
\-.
rll't
et'eaule
c"l3
cph-'n
exLL\ilcn
15
rcrxecl
TsP PYDgYarDs
i5
cgre
d cLs Elrc'rPa3e
\v
-)
__J of$ots
deretop
rte
.ltp-bc,QPn
bX FeePinJ ncro-frhni(aj
'ts
erdir..{T
in rn/nd
\"/
*--> E'rctQc.gL
il no oher "relokd Loi$ Excelrion #t*oJ;43 beccrrr-sn $e J5? WnvaLen-f Se'rvtf-f aUtzrnaitCo.t{ trcarCc^raop bYl'i,,;
CcnrftgurcrHcro
P6 *p*
enor?oS
qu]re
ingren$'
\:'
cl,snicg prDgs aP
to
Ca'Aguw
erYol lnges
JsP
eq/P^lent
"n
@ --j Lrie
edch
isp rn{
enar
?dle
B is Errcl
W,ge
fage
diffihds
r:f
"u
L'i'e,k13e"/.> (ecgedirec-r* w
GLobol
E'ra1
cfu
(coynmao P^
the
JsP Prbs
o( vt ta+pn)
--_-e
us <enc|l-y^ttre> k X 4 l(Ial
h(b.xrnl
fi'r e
Und(rstandlng
i'
fr
</,ek ge
Broa:Sef toirrc{CtO pacrRgp
rrgs)
="ut,
[arvou
,.->
whtnitceay'r'm ,'i
ySfitn!e
^
err",lsP(Prr* P.ta
.r.6p'X.
affi t
=''
"e,
Z,>
J""
--> Jn fhe
ctbve dlc.gvatn
aY.jsp ;s
hthcn |tdccplion i5
Other tl]i
ge &wp,Xe oP Tesb.jsp hc* rneutg in -llsr.jsp ccrnlyole goes ro rhe Evrot Pane etr
rJpcnse
XP
5e Pst' jsg
SendS
dtrecf
lO
brocote-.r
ad
rnd&t]
38] +F,
6E
(.:tvoe;
,,--,
E-ALilDilcrt)
p?-Dgrc,m 6
e4
it is visibte in Ewo'jsp
t
|urDrarns
in rhe
lt Ttsi'isP
JspA?p ernflpclge
L/.@pc\ge
ah>
="er.jjp " I
>
F;;
f-e,r ' jsp
:z
hrgg
-r^, F
|---+
i1
t
F{om
Tesb'i6P
4b>
1lo1>
Lr
ll etr.isy
.iob
/
t &1t '.
woo611
1w,.je-a+Pl>
il',o,othost
oztr ) l
rv
n"@rr'|ee i3Err6{r{1ge z-b> FTorn en'ir? r)b> t-b'r > Lb> /i> lLg.rkL\ > tkwf 6661 ='red''>
ZW> /-bt> ..Jot
"6tt'e' /' =
p4
It
ru :sp
-brt,
zli> 4b>
>
L61 7
ercPdcn " 55r'dn3c) Z > The exccfl-too kct+ to ttttsed "' Lf ' =
th1
@l0r
1t. $Nn'att'
t"inrr^
("rk'e
u@Prlcn\
'yho,r
gtrdpc.ge gn dlt
Lf6 ,xrn
u*.bopfn
c.n d
f;',e
bg ualo6 lenot-Wge
JspApps
> k.
h]EB-X/oF
Ll. \d
I 'l' Z
Tesr.jsp
f---iuxr.xfiJ
Tctr
"jsp
X
Tesr
\5'" Lt'=-x'/')
err. fsp
..--
x ' jsP
Ll' Ctars C = Ctass.?zrName t. jav4. 1ar6 . Sgsn-"); ;z 2 the tlass $4 i5 loadecl '. L./, =6.g+Narnet) r' 7
ry{t
!.)6.xo
I
Sctme
os
Peviot^J &['Pn
Lllx-b-cqP > {errcn - f{'t e> ttlg {acc{riJcrt -ttg p e > ioua - \r'n 3' En
z/excqr tlan
tUPe
'
-;-
QErresr urts i
l-zttp :
//roarhost : 2c))o
">ow
lWnrzl
rer
r.jsp
h*p:/ trartc'sr i
ls1*pps/ae55r 'jsn
if tfre grcepHon ;5 raiscl in ;rdn JsP PYDS @beD ''t iS loca'r and glokl elrcn Jxgesl Lorh tllirl' &nBgu'rd
Loco\ It:6.
nrhoa
-. flrbi -
,t
tx$e
;n
(Ain
be
1;.e/'rrfd
-)
etvrry-\e
BaXe'
Excqtlon
rmke ib Thad'9ft t{se dewlt ' 4 *) tsP Pl0rrlrog Off fDb lpaasaPe ,, izt-g 1z4e &rec'oue ff "ft'Be' aPulrc ;5-lhveadSoPe =
-Ib
w
is nob
rhat
V)YhLulet
tJ-
Lt.@F,ge
-* isTFr"aa,St Pe
z^r@rnee
isTb"ead&Pe
t9
= '' erut"
l>
noi
ffiPCO
mocte/
@ ptres
iffc{ %-ce
N0TEi
JsP Ery-ovaler*&xvter
elcts'g
'mpleorenfi n9 $in9le-i1-rveal
irresPetFiY
o?
rtr-r;s
othibutt
cfiln-aHon
Syncl'raniz-ed
6[ocfp coitt
tf|.'tbtnt
be
Qtnr'ra+el in
-As?b{uicl'.
) u( ,Ts?Wvotuj
$,arc't fiV;Ie
attl
s.,
rt;s
DtrecHw
Pont
5 lo
rtmeobel
c0l-tle 0Jo1tsnj
CcrsSen5iFive
LLX
o
(D
oitribhles
ex ceP
ofe
invat ied
orrYibc/$
'
l.
iro pr;rt
Or+ribcdt
n0
brle
can
o"tn l^
t-fr
muldPle Hmea
ctr;rfi
diPPennt
VcLt4fJ
eiftY
.
in
(4in
rnurriple QagedtruaHue
OP
c.
Jsp
ptLge
i0
e,(K.0
cao l"ru
Loi
fi
d ivecn
[r
SX
mbolS.
.-r
o-rirr/ rorr
Ssnr'ax
- [ srz,nar.ra )
P;re
Z'/.@ i.ctude
6qntax (xr"nt) 1-
" = desr
tewtte "
7. 7
Bte =
This
tz"g
is
qiven
tD
inctude
F
JsP
rbe code
&
fu5r
Pr$
rr)
rhe
code
o(
SdnL(
Js? VA
he {t4re't
giwo
ro
$srce
Ft aeusa
a
(A.jiP
ibs cocie,E
-._-- -.
l
, I
.-"lo *
t-._ -:: (
''v.>
Lt"@inouae
t.;
:-.,/
lts l,6n t e
@e rtcturrJ'
(o'jsrl
code op Adsp tr so
--+
the
code
h
a?
ln
ed rbe
the
YEues
Code
aod
ioclutc,led &tbP
B'isP
code
no Sel(I&t erectr'cm f<"i B'jsf (Delrntt ) becoz A.jst t scr,rce gw g ) inctudes rfie code oq Bisp ( Oest f'rg ) 8qt rore jrl qgot nnt Saivlet cDitl nor be 3eneror<d {-ta B.iY I DEsr 1trS) &'h A'ts? (tu,'te prg) bri\\ be inck-,ded tu t\e jsn qportnt 3(1vtu of
Co"|.e
-,
Drecrive
frntule
e &dvl$ ptl oS
des H
Cc(n
fahe
\-7
Kxr Bre
desr
[9.
i
wFB -TN F Ncb.
l____+
rrn
I n.np
'Jf-
zb> ftom
Lb7
Dd,he
A'jsP(begrolo3) Ah>
zwz
Daf(
ard
+ime is
A're =
) f'> z-b|>
'l
Lf .@incrude
"B..irp"
lnt b:)O
iq1
t=a+b''
i6
7'7
Zbr
>
Rescrrr
'. 1'/-=
7 -Ii'*''-
C'/.
*r
//web
xtot
--_, .*.-',
. ..,,.l
' simpr;q
oP JeP and
tek't
l)c$e
f :'5
rt
q6 rD l0z'
rnerhod's
rnctn-'J hti
-io
fo
icaHctn
deLleto?rno*
'
JsP
&tr'n kgs
a're xrnl fqs
---a
'
6n be u-iel in cDl'r,JtJn
'
Aoim
]oclu de : FaSe
ZitP t ir't.',-^d,
= (
(onrg xr-t
r
'63otax
)s
Possiute
)
Scrtvce
\,
\.-,/
dsp
PYd?Yarn.
\v/
*Lts 1q
nftr
'
ee''l-!
tt,e ar*y't 4
Srrrce
pto6tzrm
(jsl)
'
brotot.{ urindo(t
B.jsPk z
----+
lkyr
He!
b3
A 'is
A'isP
a"d
B'isf
--,
ttro
dtPP
Oe eyoltttl
Sew
Er
clalsej crill
be
Xw',uunt
r
{* ei"p -)
aoA
B.ist
Je
---altre
jsf
eyLcle,,t 9rurer-
ol
Ais? ;nlarnlLl
caus
. i nclrtd e (:,
fo rhe ioclr''
r9t
OaW+
Bist'
Cc.n tcrts
Se'rutf
PT$
--:
jst
1,t6,
[P6) fttg,
c'o
""-
&pepp
I
K,EB-D.J
H#
/ni'v
zb> lrom A'isr( ena)
//ueb'.r\
lwel: aQ?
F
we.b'xmt.
f--
/1$.p
Y'>zbY> cth I'Dr'reC)
<b> f,om A'jsP (begio;o3 ) Lib> /-b\ > Ll''net^) I'rua ?b> ftire and hrne is "4b> k z.isp: inctuc{e Pc.g.' " B.i5P 1>
gane 4!
YudoLLt a$U@4v\,
.lu,
^rq!{!
sYI!-
I>
ffir^twn'
,,-- f
[+&61
An' e
Qr&*-,
cl4!J
//TesrSrv jov a
ir"Poft
import
.*
) )
tel . bilp''\
irnaott java,io.*;
pulrl
l-lrr&"ru
ret
Qe#es
re1,
l]ifP&l!
l]L
f)esro',s<
rts)
r|.,mc-.ls
f.9E'sE
setHog s
P@
;t t
:-
r5 '6ffi,J d to(
();
Ye6' se-t
Gtr.*tQne
texrft
mr ") ;
p1,o
pnnr\n frrl.,rln,
("tbtt
close
)) iaua'sfjt' futeO):
?1,o
ll ao
rw
3 /lse'rucec-'-;
1/1ct"rr
flw* x-t
ConP-[Xure
'lZsr5rv
Pr? o;
rh
/ tt'v r
"
1s1
ptk'n1
lla lst
<b>
Pro""., A'isP
Cbegtntn 3
2.t30 ; iner ud
Wge =u
zbt> z6>
f
Pr,or", A..rsp
(end) z/b2
Uxt" I >
- Q:-
r)+\
\-'
c,ra)
ilba-r
ls thf
diPP blr,r
AcHdn
and
D.rec.ei
ve Jnctud g
C<jsp:rn.ucrc
'
.>)
(zr@i"rt"ae... r,>)
AotJcm IDclcrd c
Eireuive Jocrude
-, '- .->
'"
---+
fliun
inciud
Pr5
Gi rr6nsloHcrn
bs calte d
1-i
fu9u(:
oF
5otlYce
ieP' so' it
tcd
3
t2rt
Phate.
so,
itis couoc/ $
narnz8)r'd;'t,
Surlc$1ntrit13 Cor)
Co'mpi
rvtg icin&^3
(,n)
ri^.
Bi,t&y,
-) '+ Ift
pra
.g"ru leJ
progiarn
,
..s
D$ ii r,a]J",
fJ
F6 i5
ctrn
Jsp
eT,oftrU
5e
flc_,rrararc.J
fe'rvltt
coirl nor
be
6<mancrred
1- frrof p-yrn
pyD?rahr
'--
w6rzn& d
-----,
"ceom<-n
Aea
deNrqfi.o"
frr,rya,],-
ls
st&l-i
---+ 1L anb
or\arq fhtrnr grg,;rr p;rp, " ;.ni Frr. ) use ei ao, cod S tc,,do*l sA
pr
fts(rrr(e
Fmff.rn
#
----r
Xvnl Dcs
"t-r (d
S,,
nfz,i
[ft;
oot
td
ls
nic'(xe
not ctse
yd. inclu<le
L-,-)
;r't<r"ou1
&-rei
(-,-)
inre""
"Ig
o,lrr),,,
hte C&n Place roe.tFiPl DirtLH't
$r-rr t
Inc tu i
es and
rntrl,bp le
Acl-to,r
e 5;p
inctu&i in crne
[Yru
gra ]a'
pyoblem : -
O6p
Prtl
J3p ofga
,r.(t
0' J
beader logic
6erAa{ Iolt
..o, n -'
Rcti,cx logic
a-**
uB
'
t&r, &'e'b0a3"L )
'
rt.,in
ri'Lrn-t
lotri
<
0rorev lt6i
!:_5!
in d;czur. s
in
oll
rhe
fine
rj&bEt8gg lrader ,
Qrn
e
hrc{
t(./1}:.n*
I
;6
'Sam e
htt
mtun
-(6nftr* cha,4
Ttds
in eur'g
h-rbtltrS
, -llrrc
heo{r, , ho
tt.'r
ogi
beadu',,
&otr
logics
Lax
log
aot
r-eLrrrcble tr5i.s
rnqll-,Ple
(p.or.^ )
nolt
i
Jnst
ic
d
tirne6
donoi plre it fu
mulr,pic h.e-s
Ctn
u't
$,'t"ttun
;-
qie
qnd
Aetlan]ncttrcte
(zr,gp"xe
, ,. r>)
(zJsl:
rnu,^ae >
a-' -'_
'.
(09namic
llUcaaerlo1;c
eli ckde
PaSe
rP"
>
ltrr,,Aer
cc'tcr't
logi
haj n -
(W
.d.-apag221
cznt(rf loti ( e 5)
!Rr{ -c,fJo.Pc'?
/'/.@
trrci.rle fite:
[ffhr'/. )
Yttast6te lo izs
brh
Olrecb ve
tnrtude an&
A*l en
inctuic
'.
JrpAlPr
tk:n-,e.j;9
l---'--------'
htero'
^ml
la|et-i
043{2
su
'itf
.
E'.llrokLt
lo/
Jspfiv' q
Header -j s1
fo6t(r
h.t.ln I
Us;og ng
JsrApo
Ecl-r'
le
Lo F
'
tff,t-,
*- -J
oxb{xuieu
-'-+
Fta
? ---r
FlrLi 5
\
h'tql
ffi]Wy:'llrh
Lb:.
L--J
> 2h\
NaY.t-r
Pt'otc'o
ItRtr."'htr''t
> 1 > 4cof'3 l
1)>
.. y9!y
Li>
4aqn'i
1o\o
-ll
zlan]<x
]-ltocrh vr(
___+
hey.dtn
,j
lp
lihec^lor Dai.e
c.o
'j
sn AY.
& Time
zbt I>
:nea!
zbrl>
Lbrl
"
J<LDq
'udt
&fc ()
Y' 2
zrrr.rryet
>
1{.iJ ,S;zr:b
Co\ur
=rtd z 3 Q a
KAN
Fr
{lkrnr:
4woryl^e
'
> zbr)>
7-
#?.-^
tuia<,v
jr
t'rcYne
---r
tjrcoa
{he
ltzrme
sp
ll+t-e ire t, l
./ r.c.b\e 7
uyl;i
t*tFd 1\ -- orclin
'
pa$
:"
Heccbr '
tr
'$reiShi = 50 >
he
lco
/'
tl
7
Scrr$g
Ite
rne
t0
T.cbmlo3vJ
oPknn\
t'ra;n'tt5
ao
a1t
Yttyty 8l@
Techf
and
w..-.
Lbt
lz
=* !o
/ u2
>
Llwt<
*c{r-!-j-
>
File
iqrn'
oane
L )s7
zl-- hec'dcr - - > t Ltt heighr i >o z' ' z-bd > l-isn: inclade zlt\ z
Ll. _mcLI
lan 'is1"
/> lltJ
>
CcmJor/- __ z
zFr
L
hel
ihr
=" ('o'/"'
Mah(
td 7
'
la
rh ----j ' Pe1 zb" I z tLrlz *-. u^." ----1 JaI,I'JEE T'ua J F 'l4v I 7 p.ar ' se-tr-L'a"r --) . P'v't4o ----i &ryt ]arj < ' 5) > '\aT z)a brt P - " lio'ne 'isP" > \orn
M^, '
ffi :I@#
/)td 4tr 2
'
>
Ll.
("n
K" --,
^'rrn
zln*t'
;'
LY'@incu^
dr
(.,
zLH>
1) Lt
'
a' r.
gE-
p'c.rrr
/?
!&.bn:orutd.n
,
--'
[6P-'---l Btcnc.me
: @Vqq' "i!t
pag
ea
"ise
l4rble
>
"
$ec.de,r,Jrp'1> 4e J
/l--
rnatn cofl.t.n,t
he;7kr =-
--)
aft
(,ot \ ,
LH>
Carp
( )
t'V{l
CP1t
-,"+"J, },e L
Ad\t
Jau^)
Lbr I 2
La
AtA2
fue? =
Llt'r
>
Zt,-LL1>
&owx
--
>
Ld
L)tt>
zJ,tttbte wcb
haXlrt
> ='trot'"
/l@\odude
-lpJ'@,48
' ., \ r''
ltr t '1 (a 2
xlrtl
',-
l.-rtxhan, e
htC-
tisf
LuAcorrc
Quxltexactlc,Ya-a+P >
'rt4/ert
ur
fr4r/i
torr,rhosr : )o)-o
;,
Processln
clienf gnreojd
Terues
clgniog iS Cc.ue d
<Jsp:include>,
< js?:
Jsp choinln5
ftr-ard 2
ktg
krcd
.
autrcl
DdJ-4 +-
rd'-Rr.ca.ia C-, - )
.,
td'inctude
l-,-)
nnerboc-ts
.t" feftrm
Jsp cholning
tDirl
ae
drem
in
Jsl chuninS
trse
Serne
re+rst
avr
respdnse
) i-
sy)r4i-:-
Asv:P-tjJar
page
"DesFi crr-H
on
rescurC
" 1z
z pe{ Pu(ms {.r,a."U n g yLq,1.1p{t rnocte ofl jrn a},rn7n , z,)sp: inctc,de > Vnk ms includirrg rts pcmt r ncrcie 4 jsp clniw\.
l.jsp : Rmrc^y d
> ,,
svffe
f&g
b drse'{ (l)indd(n
':.;'l@
asp'N.o,u,ot
9nod rtspttn J e
th.;s nsnrnrc
ar+ut
htrn
til
]il,
ontg
rbe lrr,-,l
De\t
aisP:
P.""o ar
> lag
;ntctrnf-t1
uJes
oolg
rd -
Rmror
.{
c- , -) ..,e$od
t<r-g
Acrr
ao Qrru."td
is
Achlon
a,JrpAPo
t
!JEfd- If.J
F
h- is I
l--'l A
f-,
o i,n
Lry
zb> Pror" A'isP alto:
z_b"t >
//t3 is?
zJsp: Rot^r.'
Page =
"BusP"/z
-ihesq,,u
'/.
z5\
1,y.
resut
,/
>
Lb7
end
o+ h Js? <lb>
,!(b-xrrl
ltt<.b -o[tp
-y
ohrn J5p
Odd;t'l on or
pyucJrarn
5 aye rbtre
in
cho;ntng
Prcgrcrm
.
+he
Sarrce
6'sp
frrDgyarD
aar sqJ
dur, n
cLSlnS
derFtnafott
a-t
adel;dr"aI \ayq?axunetet
Ljsp^,Pc/..r
VdtuL
llq,iPuar", f4
S"b
Thi s
ari> .lzq
y,r.K b
7he
kq
c4
zjsflftrcoarL7
crr
LJsp -. inci/,-fg,
S
l.rfl
to re&{ Vcra..o-l;{.
in jsl t"gs
and
altrlgd(
Jafe
tt^e &.{r}orf
exprese{o! t6{.
in 4P
/b7 F,ozb1 7
i5P
Llb >
/'>
77
Vabte
1.1 sp
,porom
a
\4c.r'e
:.
Pr"
ertdtJ kt o adch \'J c'n{ = lo' 1z ? '' ) flr' ofnfrcr VdoAeA vdse :" L'/. t.--5 Y.>
Y-gtre
6t
hsl ; tart: er
to
\i6?
z-ll :
; inr resolr: ^+a : 'l' 7 llre Sqlb'1t volrre i5 .- L/.5 > vzsct\'$' >
y(4 oar.(m vc.lqe P, '
L:/- )$
A=10
is , ;; =-*;"-'
;s
get}aftrnerc{
'get?.l.,...t'<+t't
( 'o'" )
y'
'1
Lbr 2
P.-tr1ptc,w !d-@
Reat r,:or d
t
"
L'/' >re414f
EaomPie
oPPI
C'p'" )
2 Lbv?
lisp'.Wam>
oa Serw r
Sen..rio
bc'sed
iccrtlco
cn-t
k's s
ln nrp-g:
t__-]
r---_l r-__l
6iu arn5c(n+ i5:qroooo
(\".Tt's:
iP bixar.,L
>'
Sooo
.JsP Po*^ dS tl\e ft+Le| I to Seurod , j sp atl.d al,r^ -> lrre Frst 9irr 4v'rt i5 ,=aoooo, rn i"ri 6 PrDcesg F rrr -js p &na Lt:Ir ant b
Seiernd
,
fo.Jt,!Y.
Vdke Asio
Lisp
l pomn >
\J
in
rerct rrlne
projci-t5
U3L
attal5 ure l
<o
jsp:
k,,.nc,,\a
>
lzg ar
Ccn
lo
,-,
UeattK
in
6cctrce
JsP
tohern Lisp'.kxxt'e
Dep ld{ee
>
fun
1b
ffnerat<A
qrnut-e?
sqaar fe'e
:t/
n6f
e-ld-r.r-e/
rner.f
dire<rag
ShalcfaYr l-
r'
tdEB-f^) F
f,spl,ePq
L----rrrb.tmr
<
pgfl',r
octicro =
''Ftsr'isp
"
merh
od =
"jei'-
"
flarne:"
erq : LioPt*
Linlx''t
''
="'rcxr' ''G"r Bil' An+ " l> lgpe ="a4rnif " vcttorel =
lUoe
zlNamz
Ftsr
--2ll
,
tsr
L"t"' *n"$'3*Po'o-* o ^-' l''t>"' 5*ni no\tt = ?taar *" = il;,"h1* ( vagesr' .;:ff#;:..11;, u-
**
):
Ptor* 9ft =
ll
IlaLr '?o"seFlm"
cot
tci" orrl
t
=
Dhce
Proor
iF
bc.rnb
+fl$
t 't''
::'rt::,ff"
/r.3
else
> z-lrcntt' > 41' f,s(a nannei L't' =n&rn ' - - -- 2 zlt'r "' Atc"tt' zti> z'lb'' r > Lt
thr
/.
+o'
u'l *t "
=bamr
{'r.,
;1Y-'
(t"n,rtd m
Szcr1d -JsP
- -z
t'2y.--bo-l'17" l >
ZjsP: P.rroar
W1e
J --->
llfgso ser,.a,jsr
Pirarn
!@
'
Shing rr'me
:
--
Yry4st
x*f*-t*
("r'' ):
'Xt'Po*r',t*o C"r- )
M@+Mffi
Ptoar
cmr
Frlc'i'poxeFroor( 't4rresi
);
/fearc,.rcrre Dias
arno
L\l-
l\'-- D;dq
> Jhe fttrol oarne is : z-'1.=Otln;re'l'> &> /s> Lt> ILL\'Lt-t\ > The 6itr orot is 2 2,1.=larnr t. z 4&yx<4r 4;t
zb> zi > r cenfty
,ucb'^m
I
z,Jat>
<1t",
1,l',tth -cLfP
1z
\"/
->
''.4..e9
rtqJe
e , \^."-(qibr occer sibl and pa3e at'e \islo\e p&Tdmercrs ccr'l n3 ry 3o.,lce ilrcjr-e in chai"r-ln3 cr-w Eqel o\esdnaron r,ohern 3uot.'t { i
btrp,ll t06&lh6i
llleshlrA-,"' ""1".,
:
*-
leqflsrulr
(y
: ry
t^"h"
yJlq
Dirccnne inclue
de
?afe
no
Diwct,ue
4 t t'x g--"rrq d'e ''\J .r--,- och oF l-t{rrns}afidn Pha-\e viHes , ^-u,iHe( ta35 rc"fum *r'r
Dirvcnue
ft**'a
only
AthonFtxuora
L
reces#tb&delnSa'rreJsPreloredfuf,sPe'4'lrler.trF-wtenf'Drrr<'rfusteCar'tf'd-isrod
Buf
o3itte pevfaming
S*-oan5
rlrLe*- \-'
\-'l
Sl -t'stbe Dlsro.ldec{'
Fzg'
\-,
9,
*e'ce
is no d;ttolve t"-o'd
aod
Pa0 e
t"
043 e
rct*eK t-
*, -t '
, l,,p ;s
. lrEe
'
sr\,ltr
botds mut$Ple
duroi
ts
clars ohPrr
grgltdl;Le
| 4.r6ptr'sA
'
'
'<1at'tc
,-)
&.n\- 6e useJ
use?r+
hc,r,t-
Vrott
#l*"u
19
tf^e3
&i'n 5e
,.eA nga$'l
to
6th
e'
&-e(o,-ende,$e decp.r614qr
1a1P1tcir
ahld
euFoyv,.
jq
rr1s
\t,tc$e
l"'t4
op;5r"]er
:r^or soLrng.
gll:es
> +ag5 rnrrt be used (ol-rn
Sarog
gr-rrce
aoa
desH
nolt oD
oLr-t, ve<,.c(rae
Cts
rSicte
;n
trb aff)lico}loo,
4 jsp:,
ft:ro
'
se"d&dtre.t(-) is So-e oS
Source, desHnoflon
6ar
> ,a p",,nr
keq rhe
+uo
[r66rams
ih
rroo c6f
d;Fk*nr
&rw6
d"+f
gt y
Nhc$
i5 |lle
lr
olr,
< .J'spl&,roard
> ond
re$.sndpdryd
G,-) n/rtfa?'
Redr
poA
rd.fu.oayd
(-,-) ,
ves'sc",a
re*C-'-) P-
l)sll
AfP
d,iscc.sstans.
Exorrp
te
on
teg.serdQedirctt
[-)
r-oi
nAtrr.l
3
=burtJ')j
k(**^
--/pedne xebse'uvet
shous
fte
Sa'.h rsu\fs
6e""t-(eho
ft )
Dleru'5
GpAppro
\-'.._''---'-
WEg.JN F
7 UJ-b
' rrn l
*"*
,'o
d Povtn odifir
"^ x(!,cir.j5p'
met$od
= 34',
zbt>
=" Ls|'' 1> tgpe = "ftxr" So..t' 5r'in6: linpt{i 'o-" eing$ iSpe: "grrmiL " Vcrlrre ='3g6rcb"Iz
z,lf<n.'z
Seardr . is?
\"-/
==----
Juro.
SS
\--
:)iriog
ll
fu
Gugle'c'o
{espdnse
'
6eodPecr,*.t
( "5m:11
Q"l*et
t,.,i
n /Se.^"cr, !
q ="+s5
)'
'/'>
\--l
Gt-"r qr-
N eb' rt'n t
-6+? l>
l-
|r*9:ll
r'-,."rhos1
,ra)ol
JsnlvolbJ
Ha-,
rrr.tn
gors the
dora bltD
{*"'lrie 1"X*"n o#
rt
:9y
&JrinaHor\ Wtt*
ry'
A)
it
Sa.rce J5P
PYDgrcrr,
at
'
Psnnctficrt
P'rog{
am
e sa,ne
gtdoPPicrltcm
(ne
B)
So-trce ond
us Dest 69 musl
Sarn i"eq/ast
}hJ
eu )
t'''i
use
Se:6;crD c'thih'$e s
OPsl [nQs
rnusr 9f re?u
'
I
ott' 9m g hootcr
nd' o
(avw))
\--'l
of"t,*gntt ttqv obJek a4l ned nat"'use h ao ned trhe 9'" te &nA Oes t PrSs \-' rolndo<'r) !66594 yeryest Sarne .'r', ,et
\--l
a+kiatttt
D)
fage
)r (usrngttutpqeGre.rohjed{rBcd\cYecrfe[]a8eg-ope,ru1.fi1.Scofe,\,\-'l
ccrn
tort
- o,rtribuKs
cl{) Pti
tvpak
6]uge
gope
Ss9\6D
StoQs
tc,l}l
N01E:Jnsr.ad .l'r-6p'n3{ji$A'b'coptlo'nstrJ(crnLLsey4eCwatat6&r<J'-' =:J\, ,-'tt'iffi 't ,-, cfrri br,f<s, -tel6lcm tD do rl-e same' "req^.*r r- 6 Cn-ed *a\( o!uo{ r-r-s Corrr Eg usin3 loSc-Gtrt^t c4Pilc$or cttrisL*ts :
r
J,
pr?
oroA
Desr
Pr-X
rtstcie
iq
rc'n
d;(P
r:erc, WIi
cdrl
c/ns oP 1;g{
cl;fur.n+
StLr-\e sua./et
oruend
lesttose r Senl
lld
rrecr
uir
! q=varr 4p'--vara--.'
Coue .rtr
sr"ng
)
ftdeba+Plt coNon
Jsp Arp
*) crhibd{
.etrricd
i5
logicrd narne
hr
rt)()t
'hoLdg
Vr^tqe
'
geovler
c(y
1ro
coay
oirb
ml i xtt' \
1a3 atlnurres
qry:Lrt'e'l:marroj ln 'r-Efres f ohi ' . 0gcle -) oltljLa4a rglresr ou Vi6ib\e ftrotr-5h --J s(tcl ftc t0 c.ch 'rq/Lres t and Visl ute o.d dlcrgrd,nn 1s alow oP i -) r(4uesl erhjk$L cYeor'd lq -A'ist trt not in Ditt c' jsg 8'isl,
Seel,l
a11e;-i
sle in
cm arkfbu'ts r
aiLb(rl.t{s
4u",o,) in lrtPSeioon ofu aA ux-t't..s<"r'* anc] \t;ciule *w in .*',*^ *&. -->, g?ecik c fb goLh l3ra^x<r- aindoc'c u*^1 "'^3 (h)'i"'u'"u re4rrerr k C'ecu,t,*d in 4'ise h 6erhn1 Srvjo"r afhist'ls h|{4 ILod Xet ,p-lAqr ,^xLa$Lcdl"a 6os14b\e lrr u{'( at!'t't Jtt' r/olrar4r "P an I -a
$r*
4pt
cart
9,n< Q*"w*-d*Q)'
olMk"r<5'-
on
-=
-,--
u[er:at-<-)
flarno\ ;q
tcur.rter (orrrea
{-
oU
e{-f
t /
6{P
)@Aon abj
mea"-"r
these
irl oA urcb nesortce fnocfrttms t.rlrhcrd- ary Ccndi lJ orrt ' -> &'rv t$Ccnr!-cx b aJf'i&! C"rerr}<r{ in A.j.g iS ViEible c.nA
tl"ere
acre-w-bte'
i4 all ufLftsx'xce
1"0."*4
;lwslaflct cP
fte
cyrzsl
@ject
h.i on utinfl
,{e4tiut '
anC
lwe<
f'an1'rr
d tl* Lr"t.t
-t fft"tr
r
(**
narne
atrrituja VaUe)
( "ral"*
vlam,
tJ"..)
-P *"J
fi
.$'le^re Va&reF
6"Arw,on(
ak;ax nq",
temue ah;Utn
*nr*)+rUu+("t"*. *-,)
..---
oalr,-l*'o-
O P'*"
afrPllca$
dn
+o utlersfand
JsPAa P
11
A.j6? 8.Jsf
c.J 3?
D
'*iI--'*'"''
I9P
ts
Ujing ijotgao5
xo
ty'
51g------o
O'c orl
ntropro)e':t
-----t t\r.rd
col'l cvt a
?rD!'d f;,u: L
n&r,. e
tp"r'*bOriu
---a
Pl\eh:or.c:
n ^
--;
liA'i:r
Ll' ll Cfta;l. At+rr &!3 "!6rr" )i rt{A(!t' ;;;("c'rttr-''' ( "o,tFY a"' " v'rr" ) 'l 6sstm ' SetAfhi*trt 'l'7 "v'"rs") afptlconon' serAtt';o'rt [""*t] " B'isf ?^esf'to $e It:-- &rroarA "B"js? ' /z lzt-ge = f.isP'. &r,r,: ar tl 193'
s Qc. on u,.b'o{
/10'ist
Flcname
;B
--+
Eru
lt
Lt--
rcai
bqft
Va-trres
-->
Lb>
Fiol]n 6
atlt L
0J+17
isP LIb> LbrT ('' ar* t" vaue-',- t't.z r9&e9 l' ' 6erA*t;st-^-t'.
\ t'z
zbt >
v6lrre'.
t/. =
d
kess on
'
1urkrr'tsuw
\tf\
yojttt'.
/t =W'
r\e
/ l -- J-n""t
s+
+6
Ci.P
-->
Lifl,. Pn"rrc.l d
5rP-q!"
grrXe." c"sP" 1z
s
R'c
.m
&dtt'i
,-_;
NeUo
.ll c.isP
Same
as
---e
G'i59
$cp8b
Q.c-c,n or$gc',er
f\tr.o
'--'
6sP
Ft
r'orf\e '
2 '-'
B-n"
'L
llo'j't
Su-rne
-PrDictF
R'r) aJ
as
D.jst
Skit'T
fzr.n
rbe
pr".]at
d6hr c'lr& cn
-)
Pe?-rest
0n
Ua-L:
Caive
Pirs
rel,wrt
+o
re44ost
CbSt'rv
e fre d6ft' Ot
hrPr ll rrorbost
&tfribrreS'
rro>olJrrRPe'"ll,j:i
c.JJP D.js?
Nolviq
Dith
Poge
Cot*t" r
*;5.Ues icor)
Sarg e
6q1ect ae
Ser{ldn
crecrff di??
crh ;hilc-g
4 4fe5
6tri 8./c5
rr
on
&IlP\lcdlon
9cr['t' c'th:
sdDPe
6161i!/e5'
'Y&ipest
YD?e
iS
letP sLoPe
):
-,
---e
*"f*.
"vo]a
3co0e
*;
,,
e\."
1t
grrSeGnrxt' 5e-iA'u1rb"t"
C"rc*<S "6+r
gu'l
r" s.
B it'
&sslon-
toroJifY
<*-"\.
pateG*e^t a1{'kllyd*:_
r'
''\hJra
n,
Frge
Gr*t.t . sEs5JoN_scnpF
.
---+
rno&Pies
artia val*e
aP
sessloD goP
-
to
rer.c\ FJeGr*t"f
olkr;b-Lt-e Vature
'.
Sry: (St", ro3.Cot.', 'gt'ltt'n"t ("atr'r" ) " crl-|r 1" dlhirrre \ia-L{e Prot WIe sco P( wt\s -t Si,'ng
volue
Va-rn
);
\J
p3' G'0"'^t - gEss'otsteuf ('l'*"t') Snrns m sc"ne' --r rtad* c.[t{e a}SriUr-r-c Volrre R,'- Sessi
= (5"rS)?cXeGnre"t' grAtr''u"*
reYx-Dtr
pogeGnrext
. tet**A
\\
tu"i
g.*" ( "on
r' ) )
scDPe
\-,/
--)
rtrn6ue6
elftt "
{,o.Ro-
F:.ge
\-'l
'"
'\./
\.,, \"/
Se\(lcro .S@e
'
efrlbufe:-
#ffi"t'",
a'9-K
-------r Pcrte Sco?e
-Ihe'
crJe'i
is
'
\'/
g# on
gcnpe
--'-'>
c-4pu rarl
on Sone
"
\-,
"*
is *e
llo,***-t''
the
-**
r) i'
ncJ'
Eec'*chei
& 6*
*'T
to
{ea'cme*t'PinaArm'*"ut)
uoheta Cts
vnrrt$Qle
.#
\r
(CrpeE,
re
l'-i'"3"
Same\^nrq
i\t"',
ftn1flffiih'leL) "ret'ts $e
lo-otn
(co1e
aJt.ribL'*e'
JtrArel,
lrEg-f,NF
A.js?
B'js ? c'jsp
D
|--------or^rcl
a-t
..tsr
ll
A'jst
1t'
Pogc
ll cno:e
orhdulJcs
Gnrt^
t'
soA tttt
k'te ( ''a*tr"'
Vc,-t
pg"Gnrt* f.dc*'"''.
t'
\t1la,
goXcC-r.^t' setAtma.,re
'arrrai "Var3",
pox.[".*., t . serArb,ilr.*
;
j5
'/,>
11.5'o'l ("a*rf
lcLLue
PnaAtvn*'t' l"c'rt-'l' ))
'l>
zl-- l-.*a
4isP: Rr''t-rr^rd lle'ise
rhe
p'1e--'k'Jse'
'
/l'-'
gtrr"' pqeGnttxt' : l/': alh3 !o[*( +" $"lAtr'lu'rt [-'i*{" r' wJtte : Lt' --p3eG6* ctu+r+
--7 4bt ,-o't, isp 6 ftotb, > zb> .. t,,..e1r,,\ .t.> ts'> gerAuta f*< \ldlries 'rgd orm
:m
t[,;rry"3:,' :'*o')'r'>
:EwEcT
-{"Pe)
>'*
) y?
L)-/ic-ur
gorne
//o.Jsr
9,",*'a
t$e
tl,ts+
fo C,Js? --'7
^jsp".4or*o11
/z
farn(
o.r
C'isP,
->
us
tbe
rclAes
Pm6rawrS
ahan
inlddaflott
-)
uL ute
Sesgan
aht**tS
ln
like
'-,
Fo.,
Sssirrn-liocrane
&r,-ltrrgeuvzrrt
jse con
,.,su rl''e
=8"*'''3 1ah*qta \r
t
D
$aaun
CcoVe5
E*
l,eds
3)
llw**t'"
Ittt&Oon
oirh Ceirfra:
Loirb
4)
ull
cm
reqdl-'^3
--+ i|ese
Kchrri$res
irnpterne'ntcits{
;S
S;roille.,
9rn-r
tet
frmgramrnl
nX
rte
taA
'
>
i5 rhe
orb toi og
'
to-X
6 J:'rQ
orrttl
mcasan" IeW
aagJen.
Frorne
\e onl'cortoo
l-
JsPNPt!
-tstA?p
,
n*p1'*'"'r
jxt
o-
1st1A?0 '
ctol6
JaLa'c'!.'Ple!'
ft;
x;
inW
p.rlU c
jesa'
a'ot
clu-tt -Tu,
/ tr
re,rls
fr1r,,l+
L
V,blic
Void
f
P-,nt
( G''"ctr'cs
1
v
1,
5o ,60
to
eerko,7w..od
q
Cor^'*a);
n
yes+
)'
ftpla1.
j*
1u, ,lo'* ryItltl"-ra
code
r:;
zl"tmt>
/bod\
z4rP:
colcx="Pinl'\ >
tgee =
o4rt
P\io
"aml*
''T"sn&pp . clc.ls
"
tjsp
{ahot-tt->
L,raxa
d.x: "ot
9+It(f-
aif+/ari
.! itp , ftutb't- 2
zfYe , pL6;"
'
re4a4l
oR-l
zlkE"
I toro l:/'ehrftUlelfl't'e
4tuq,
->
Fht-"r
lo6o
anl
AruW)1ot13
&rn
uSe
Lsr:,p\;n,
n *
*" ,hon n 4" 1^ of #nl',r< \X'a "e atnJnoo' tLe L'uon en% +lo'u ,$*s
...-/
furb-w-
lroporv Cduq. -
fopn- io^r" . o,ut. i, pul*ie &s TV9.AfP 'rr'* " "nR^d/ -t Apput t
'
wryv aftll}.*.
PWo rbd
fVpapn,
j f
oonr-
@,
d.;;
f, .i'trPv'U
o
1)
l^
afpE 6
aodtr
<hb".l>
4&sl$r=vth<ao,>
q$-ot')t"
Cl:c{rF:ordt. =
f%d$xfr -t;s'"w
.. .
E .fffi
S
lttft
ky-g
appltf
<(Jtp.*1n^*,
l,tt-*r'>
g
:e
c.?pLtll tf\eD
efCQ(
,o
grbw
tD
+n 4$rD
v
thst<-
g,
39t9t!!r
hnp"-llluattont-rranfS-ttaVpz-/pt^X-fg
g Qry:W 9 C*oo^64 a.a.+ C.,te Lid''tPJ tf,'I bwa4 Sdlpa'tl a"4 selfe'u ) 'n.]^^4'g^ + 9 .rh4- '-reaoLo 1""t*r* X Ju;r,aaeeD Qlar4 a'P'- osuj4 b*u Wop-*< p-o EzaoPrsfe*le4' ffi*d'tacoD 5 99aa+.,$+*Y,,xv '>'e'& \'eco Piv?''1-'"aat' S 7&*e-/r"tbrxc-; e<lo r'ria ffi.' da'ra A nn/ Xatn' e9o4 a-/ +t weni k's"' not *) na'{ ela's l?ean Crurc, a ne-4 mtt 'LD Anf*arne f *f (alm- FDkL&cL" " t"^W^r.tt ntaan'! ereada'tl!' o4*A ' 9n Jttua &wiruornerrf 'ffr'qie oalt4 bQaM o.nPan.erud a-5
't '
4"
&'
it\.+--.-\-v
.(Jc^&rrt[aoo.?clo trtv'
e,f trnl
ryh
( *s6
{bbfr
tu*;
*t
fr> Jat:a. Aeg',,^ Clalr U-^tltt&ii r a!'u wqen PUC) "tfr"", "lnod/ *'a+*t sna' c,toa 1T y^f -p QeMe>1lrtkrrurD(,dla tt cdib4 &uel+t _Jnarzt olatta tnz' io ?!y: "*T Pna'rir^u>bzg,anlwa. Wft a-+ ftw-'Zeeaa 4teh etdbtnZ&J +' 'elsJ44 .1he&- at"- e Njp< 3 heen prvpe,4r<a 0s gt'rrpV po"p"i.Wu"
jl
a*<.
*"rr ry! J
y.y-'-e
ncn
k)
'/v\"F!_
enAo*4 'Orrr+.**a.
O h"''r.fll"-
\]/\-J\,-v
or,p,
volya, at oJ
lf/t)1.-.
?,
int
age-1
ly"^*
q", "z
t;
p"rPg^ry'
)
) ) )
bo-*-a,.^ ctadga];
'{+ff.. l,ttl":
rclit'c-
v'ld
qt)aosnA
b6E?,Q-L\
qa$Ma"4fanwn<lt)
D )
ts
p
: 3
'';al-u.og
9, ,q"rt e*urfjl
potAnt
v64 <*G*"s^(*;rV cxrDJ pr-u',pL l coo'9al - c"sil ) (s,rrf ;" au\/ S>ct|,t')u- v6l r.tG,-i*-
voJr"t
lpet,ttc. I
3!
, g
{.ausqLtr1-cr.)=r*-;
{to-rn
vtJlrj
tD
q*.rt\ r-h;!-*.
pu],r),
t t<*rr^rn
7^-y^riT#rl*n ,*,
Gc$4"-(
t A^J,y
Xr*o ohl rrr,oa*ItV . .- ,^- ut<' t.?- (J&p:a*.,[<eD' us(oo (s'a',unitaweto t*#il
"6@uaJttr -
lo'' X-u*un'n" ' ' <oryr e*tpryettVs (Jfr ?+ry''il'> {'?<- '
(Tht \r^._
,9
*ter
*Na,\: 1[W..g7'-s@n
tl\r4A
-"\--\--\_-\__,
ur*BeA^>
dffina]e,tt
f>
car:oaegJ.) cr4"|(
'
"MHg
? at*!t =' ^ I
+-']t rlttal;ly;cQ Sctucr teca gla*< nan\a gbf+*'( p.ro f C.*.""1Klt"rg-l e1>fuv.hoe.n ( ( J'&{-t}. 3cl,p{8
G-
-tt "3
L,fl,
uWSog
l.*peatt"W Afia
lg>"-
c6
ap"l
tu
b;icd':am'-
JdDo'.
.(
j+f
:u-u-anrl, fl ='it"
Cio,l,{.= I
e .a
'._
\>_j
g th- d.l(/v<- &nF coolJ *tt-t aB; l*t6<F c.fuorr 2n k4'.or, Scrsfi .
Pl.
\-_:
.ra
t<t{rrcrru- Epr- r> l< pr.(laJqtfA<**). r'-re^ . a^^ 2Sr'. \.Jt;u&{eor. ld=\!r{ {pr-.+ra.' elas =vp(. !fuJ-or*?.ean, tt.rspr-=q
.e-
.*
@D
e-
39 M,$r sg& rh'g f[c- ( L =ozut p; , g[4r"m"""(.); \\ u 3L, .-5rn$*-n.-o- fir- fs nw- c.Q.{ uf *>ob.err- {YP"- tr pl. *Skr4a*0ezn c.[ag, 2 kt- pt.9adlntd h ch-.is e*ktAl kr,<> eac ela'15 .
g=
e e e e:
'hR/', &dq
ry"64 &-EW .1 ./ -, /
+o bcao at@Nfq,{
,
beon
Co't
Lbc.tZ
: e'
C:
e\ ..... e * /leala (e$4.v ,-, ,*frr"aa ao foroa'D e)au 6Qi h nr- won *
rtte,
W'}frrr?f -'
ya-0,ue-=q
br
rPwY\
a
\
atna'te+l>
cu-
rn.r.vx(t /u^,, P\"?r'*'f 'rnn^(xr6p*rr X /nqtna-" = t { tl b-'n t}d^ 4ir,"r^4 d d}f,cbuE v$h&-qv*n i',o fh- S
u ll ,*tun- G! b.-- ga* g
& &
NdL:' {\2'v&ilz'
-fo*-="
ll
",r4r*
6m""*;
nanr->vxc")
beanpr",eil<t
lfltp awnea',2
CF
paromzku
.
;"Ly
t
e*
&
p',,crror4
=\!nou uc.0'uo- =\t6+q/7 uttq sbi qqd o*tr"t @W k*Lno.(2 rnerno{ on '-P"n"i"f {"tn}s .lv, ulno't. Vdt- -'tsAY'-& +rr..- Lnon p*fAf
W"fl
G&
e*
nqrni-'att'{
(q"'- <W'. Ver;u?tlxt o$r,:B$lLl7 016bu4 tiert -0,=u ll ll<*"n a,li nam,- )'f|u VdjJ&- dwr' 'm (Jfur uztBea.r;
b b
ryl
dftpw " *:' :il "** Wkts) cn!-f\d ,-n h^zn cjaq
@
:@)
)Qo
&*t
6isof
nsr6< 6a'u4
Q:ffio-
b0 uih
J44b-.
4ru- Panos,,ft |!ea-Wil,!W - kctn"vaqtvu' b".aatL<. +v\- U.tu4 a.t c a,l,fo Vigl.I< l"r '&hle,
it-(ao E- fuu4
lE ,
!,v\.^.^,z*
enetnp\2, oapu- g,
c,t>
4"A-'-
W to gftk?
7
tpct4n-tt'tol
Gmrntnicg6ao
-p',oV'tS
l1l -
U('
bluan*3-
,4
lAnttol*,'7tP.
clFltl-
;t
v!
?n tnP(']az. yt14
\--Z\-/^+.--,^<-/
-) %
etr-Qao
7' .&*!a^l?
lac'-
pEw:6r
o* ,n9lvy u6f6
&anporyeaV
e_
o*".w=q(k'4n
/;;
-:==--'
12
8-
t*u Jbt3v4U{an
(t>
g*'g+Jge
trytt-^@,ssaa^'ffi8#,y*,,*a
lcrrr<
es.'.'\,'
,,
: ei.oy,"-,
JaJ3 eA
a:-tte-wft+r\"-
b*,q\trv<'- cA.ru,f Q e
".4uth
ttt"
]gao<E-
T.ennatea
*re
do4'a-
Rsrc$''gu.4*;5tNel
u^1tt>
lrrtuJ.trpL
t*eP'ta-"^ clih
G)
rruUde.alrea 3c,unt_"\-,---.-.\^-
gzaz.rala uaa<'tfu$<e-
Tfte-
44e/8on-'.al
aLLLuwEL,
?'
CLly,\9lt
Tmt'tst-Worn, mFfmF
,"--)
Drk rnoM
b4
D.
. \./.v.\/_,ijt
q.'.arJo/r
7D ++tno^-s4kdrl
o'm_"!I?,*:#*
V
\s tot u-+./ ood wu)G- -\leL{' ltuc' g.ho.uJ '"g+ **- Lo+tc S $oa,Vt 15tP (,'r*trl 'fepa4 i6 i" uxl*ypw 4ct'e,l-r'prna.trf-
PY co 3F
\.,,\_-_;
rF,lJC4
v}gv
.DVC2-
**", <puotl- atr-tlyA c.'\ getrlord -{tq rftcD Jqx uirr hdl-)
mullrp\a- L$fA uSlt b'+D Ja!!&p lq:e-t, i,> 41*u- La4r.7t t,r'e uJz- rD trlSeplo- tethnolqiel,
he{..- tw'<, ca6 tr+z- < earLtF ,790 @kno07e4 -+op-!fu.'- a u'r-6-4g*" &uda/vr'.d$ '
utoLolpAn
\--l'\/^
6
b/
Wd.
s4tr-u1*91r"-@
-a
e
'nE
:ip - -r +% -rd
nd41- axit$kt|<tt<up-
-3 a*- *nd
J'b'' ta +tfi"
<.V n*nVL
r::<Qen
[%..-&
W app'n r\ ca'"vb4' p ? t@ awzufir^t* ft not pGYAhL ' to p'ataffiT e wV' P6( (t");-" ft;ddl!- (^frrL &.uJng muve b &apltmtn*' &' LvU- ..r ,r) !n'o'waf lLx $va't Lturfun (b 'lha-- lttvlfime?" -e t *+4" t< ,ril"ffd<'J-,,ra"^r'tz '*.t : iffi7., -:,
'
*tr*
tr;T"ffo z
ovrd
lnn'.,,\ant-eb
WZ.""t
w*&^+ii,--
t:
prEe6rornee(
on$-va'
lYVc:t4-+
r"te"A,-/
^ lq-"
V-->
+Aon*.ins 6.Lr?t- qod pex5jp<l,.,_ 0o"yf;)o* Gn u,r<. joua, alaafLz_an, plLcs.fx, &pifra, 0'
* \Tf"lj,? "d qc-, . fD Orr*W c->b^.rnl.l,,-. t"f- j&,trfr ro*u*., Ittv;cf e-snne,,t;vr*o M..
->u}a
vr",-.,
r,",x,-,,-
_trffiHJ*,*m
cq,,
{turz-o"#c{'
'
j: n
(oo ur<- (e^!trt-, Cr.t"q,kl -.>r!4 br,t*^ noJrr*rj'' gtur 0,oyc- 9??+ rr Aft -tatsbtc PdJc'"-'lqktp,''tvt1s7'
.lD 1.U- |ho- Qorrvo<u?oh'ao t"1., (h"-
/_.,o^o_
lnu.r,^W"^ lt+'c-
T d*,o'n.J-ol
)TW!,?,^
y,*y, * yT,
,r<uS+t
r'nort'1t't't
,nd **Y
._,
tD
+ -7 Undp,xfanhhe Y't5.:::qq
ll:r
eC{s: s5g53l1}
rUL
+ b--nvq orc}u'44's; !.lrerah, ,rcrou'c4 uoftt l"- kj"o) ,t- a&l <aye-+bat sun-- ,r<!our{"- $"U qgt c4 V}ettt ;'r_r*t ,_ layn ;; .l^Laultt 4r
qrc^AiAauq>. s+.ruf,t ruourcr,( ->W!" g+t -db- ye{ocl?e{4
ortCI )r<-
__. rnvey + 3caL1!.t pry*.^A/W pr%( alu- 04 vtpn ard a*ael ttr,, :: Wr- ,.t^nln4. , ?d{,q- ultrJ;t*^ *u c",r,l c$ry!. ,^nt6 k/,e.},c o{N q.J 4k" u'Irr a* az mn&, l @r,- v40c.r<24. 8n rnrc; o** @L a*rd*- lryr,- v4owr-e-, Wf t..* t Z< ry :qk d4-k d{ @r^d,,vti'u Lay.- rczau.<oa' ir*n-/"^"t oiLc,,nl?,!, aft'v vEtt l4r'f.Plhd-b apyl q^/ *-. a,,at,^4 w3o<-1r<4r, ag **7a byaG<t- vesour<a,
ro",r
rfiu.- irl
c,.onv,,r44-
u-f ll t --
.,.,{rt
b-
S{!-wWg+*
ctrettllAtlr<-
?ive4
clcaD
)tr,,r.4- orc|tbJ<+.- .fs ?"-J ,f. Arxeir'p m_eAiu6 Ur-L '<^La- pr{uk *on 4'x-'s lrwx ')ctx trl{r $ +J..obr^ ,to Souryn Grnrrnru.cc*fon ?pp 6 .*'i-","rrl) f I , JhuoS,a \q6fi,{ru'<e]ton e ' - -t -* v t{ndr",- rnvel r,lvet ztrcArt Q4flpl kil<t><, _ & qnd,"'r't"cutqfu>o
fi *
mve
>
q,.,cliq.dq)<_.
Lr
p p p
(\ i7r/v*-^-^-1,
^Alwla,Ahq- v\v'
exhltukY,.' nJo-\.'\-,.v-.\./^\,^r
s s
g
$)
9 z)+ *Y uEzt ln- "rh:'atg. lo*tc $' ^,V @Yl:'eo",1p,,o,,i 9,. _Yo
9
-41ry1.:tF> cut',{our wA aprt g<t1"re,(a4 tfi.- ,r.1}r,+r +. Mbotfr\, f::", t-'ap4)1d*&4 tfb,.*?\^a4.t aql ,il+u ,*cl!t Jr; gttt:** .|W,o -yefrro &1aF+s n,
P"tp
,NA
wer&@
""_
,.1),,!
e6->(;'^&;!: ;t :2"?";,"k n
'tts) mrdl]
(qut
,
k 1o tfL,^
oLNo
bulnea eoap
Qlu.
Xrn*t +r*-ryqu,(ll
bqa, (b
Ja.iotrr PlilAfc{rn,
tt
-) fru-
pyanlatfon lrfr,'c 3 vrLu loVea- -Parnah -l*|.- tuux+J &ndl ++st<- a<t&Lk +o Lnt^t1ldr,c" at \(Wok-
,^4 '
^r
\
n)
I *r- ,fitu.- q-L,-, rou-tblta hlrr< aur Can % alta,t lA,,-atWn* b[n Lnl#e ts Wtt+Ll"-) rn"&&'t-rcn-.1 Arlr\u ,o t^- ht,"< anjr Qa-y".- ADg
<L L.+a qana--tho"'
W3ygqg-$
e!:z:-
A an
!__:
bl"-,
->u,'frrt^
e^rX,*a**;rro ,, ! ,
puge*- tc
.'c.o-.o-
Q--;
fr T'**o
ot
e-
:j *) &n pavrerul eo'x.a.'rnru- nuj-*fu1"_ p*Sf.,t{\e_k a*_ ><a;v.4 3L u-e- a-b p*r[o! da'<u{vt^ur *{Yt*v a5f\ilav5I\9tP- c,,o-rdl"tr. ctsot #0> 'lleu: an Ar^R:-cu,i+D ""\r-e "" 'T u{rrl'r I
a,,]$kect\F-
yffi$,'ff*ir
U-dt"r
r<yoal
w\L- fe-n
{llo pe$J<{
\!ieu.,Gqz-, r 't
,ffi,
> Y-:? Lrsr
N:)J
G^N1"4-- layta-
{,bqrec{.
"e,', Qp"W o^d fun&l awayre ea., .le.phnuuo1,tza 4enhschg'ta o^4 ro*,* ,ki&n6.-;,',kiwn"t et
W,H"tr*tffiT**
-
^l
-
;]
-l
Qevl
sj$le- roortr.4 kith rrn/c1- q<}u i<.t*<rr- w<- twut fu&l.t ktst-"qlg C > -'**-t', o* ,"r& mlv(e- ry'rrLa{' r^ Ao^-I -l 0oatl fu Ju'* V ew^7 lef* k fu^'s4w4 t., pkcn-' Cgua'b g=i +hw- 1n114 c,nd l,.a")rp Pl4ea- utxl 24h4' Wq . ii "4alouJSuo laeq aozt 96o514 '/'ek* 6r.f <a) -- A*"tt ayea^-tton 'n apiil coA%ro
, b<c^\ tttuo ar( -n** hn V mtlhVw $z.Xlqycor b vlrr.o [nyr'b) L--i' tno o nult'fpLz- ')c,rt,yt 3 h n J4 6y- k4 lftqs, ntt'vt h. ^V $L, Je{rto,[- b ua*rvltv- !t,/o-. , (ul vuour<r-* eg u,tjro- @,n Wrr,ttr/ .,o+ ink,-aL+ aA't'ih ' C, ",
;rd,t;
c""r'q 1
*^,,a* (q4urtt-
{61-i
^t
:" u*,T
3e{at-II-'
"fr
.rou/y1-
trflb la-lt,- >rbc{raj e,t-'t4o+w<a- flrcy.rJ.a nc+ Jal'le'njbdql (.t tnu,t+, A"!fn, ,lfi'r,ath eon6lle"- Jbrrr&{-.
^ ru \T
,
U<n&a^/
u)466k!)t
r,
'
;O
{r, \'
r \9
l,e- wt,,i*at-,.4
h c:':<rnnap'- waWk4 (o+vs) \f*ronut*-p("n"tr -i AJ4 -o l>z_ c}"n"} "K" ^"T L szcl +2] n::ul,*- * tx- ollaawVe! Aauei.po-l Lf,^<4 ott orvtts orcF,tco*^--, pt*ctni A,{n7r'
.
a{
,fuq{-.<.J
: fo liarg,j"zzn
tt-.t-
-s
i:,*"LX^ffi"#*:;Y
tlt*
Po-tzio|- /lo
-*:##
t [l
.
Df*t rst-o :e 4 /Y"n; Pru.f ert .L)r-4stttsim> c'{era qf- y': nekuadk' qc'Hlft1+ *t'ltd" r..hr--;'k ) '"tY*yq' 4&to, &DDo,towtn kd txt :g e, k rfrt !eu)dJ"?dk\"b @ve4'
+L, h4ilrt,q
-)
.,-,a J .(&.lf'.n rry n- 4ol* % ilpn-ekek hr Gftqwa Pqmap4{t AM kd tnl-,t- JaJa$ntc*qx<- qe.,-. (6r, aol<'(va<.
Eowwu a'e,- lpx.tb.ltzaU-- oUQtk LU' de@ulk -> V<gt -teru TaAe- da'avz{ ffiy4, A'#y{? kr ?rllnte&
M-la-afutLalto"<_
,N&.t +l Wle-plfa7 F u dowtvtal<b<A cl.r._ sp{&&?ary_4_ -c" 6+ier*_ gndb4T .9d-u-Ern', 9_ fg g <,la,g,aa qal ve_eoa n >J_d t7) u,t ui' + 9b u'"- clscnt fu P(J.kdvr @t)tt, rcad ep".*norx an &:il,<thvo &ja
#\a4
4"
A<
qob-lvna,r-\)k4
aoo-6{llt+,Nl*zAnnp
)W Wu nna- l*ftff
trffi,
$
b p*["*-, bd{' q(ad, (^dtL apvrr]lory *onV {L oo cl/lJkelfexn D( {f\a^ TFfg ry<-oo,,,monJnl fu utL W*"il4
3'.- l4z*-,
llo,tff+aAt
ond el<-- ,
Q=
e.e,,an*-7 a'fferUt4' L<-oo.r,ott<-- Q/2h -,r!n! -,oo-tf.1gIt74r- *-f fu4 ,D'd6(. q a.,q-lu*tftzutt 'b,rl- '-{A "ht* \ n ..w*rp cn^ [h,-c- oofa.- oh]4r-d*_d.r,h' e_ w(w,u:t<* q) A
caab
fi >aa* !*t b
e_
-\--/1, b=-
-> %
,>aJlcilk Qrt to drw- PM;\an qU. <r!j, a<ao^d gt) az,t &g;ty.4 Surq, clas 6hi ord oq lffrt- 6Ad h Qeth qny !tlfr-. lru.ot uua- As*-\-4 "tox {s CaJkd Vo aio,t (oD +4 d& bTo (td.l"- ftdrup_ 65il d"S. +fih olaa ts f
o\)e4tom&,
D_
fboaL<rat1.
9\^-^^
hDd.rn\t^\
'.
jor,,<. fo . GdYd1,'?-'^,LL
ln* tu*i
/1
i"S
Poai
u6t
:
g''*,h b&
',
t-
lq,z-
!Y'-'d<
*I *I
q 5 ,GI
c eJ
q q
A f--
usl';L'- (v1,Yr"r7- 79 !
*l *l
qt
e;t c.[
*n
ll
o"-ch 6&'a.a4 6 Ortaa, U'W a'L;^! "vzr,'.. C4,ktJoo (u.c"+g* tr1), ''
'
GI
I
fiu- a]f,'/z. l.ef5ed haMl4/A .I^"- w.@dt t r'<t,d.,lteh e&'qt ,D qr-^rr&'tt-\ aM,rt/o ttmuf th'- okv. WfOn en< Etd4k! , AD ob&* 6 |r.tnt el;lr*olfeo nJ avea-.thz. dw'ru?dte-!U;.* ad'4t4 -lo {flz, citmw* c6 frr. Al $Attd t*, to.tuD d4, !euW2atJ'- 6+$erlx.
7 . ;
t#4,#- u*wL"- &tJVa+ u4"4 a.df<ilfq> p/,, dlr*,-lr'vuelu\4 io louw WD2rqo,_Crrl ""er,r$fa0- reco'rd< orla- ,lr- n!-k/rc.r')e. * c+y- ,tr.u^ bb 9-rJ,"rlt,-. f?u- Jd-b.- arod4- dl+ha-$cJutr
q".lrUse -
anJl,-,
tlr *FV,
kl'- vr4- Lt'L ffu:c. tttf l.pryeilS&. ,-y -l -----' -f -e--Weil\a/ ^ {rfb rrninfuJo TNDtr Pbuge}r.%., nuil prvperhu U,e-, tLt4- 6rbf Dt, (ql 2o {ea&n,f,yd% {o rrlg.j*la-io roul.b}l* vattu< a./ &yd.i
gnb eiluttua
uArh,itrb
&r**-
trsfr;L
!U!
q4o.\rtt- m n]ivt! mrey 6pph. t 'a PftuLH trtb a4 hbqn"a Pu'tJ\t4* &au ,,4
{D b^b.l entir.^ dc&\ .$ Fewpfa-W
9$erL".(z'8lf-a
V(atJs/
r{sq,r) A4
0r.Jl
fr.-
ta,
Ln
pt^
LD
w@ofeo w.<.
J4"H.
&r-sri.slall.a- c',lsrcrl
hl-
o ahosen *;'** t3 Lt",.d lb ior'o]e' I Ptp'F C-b\Ltr+-' ) \ on an tl\, [ul4-n' -l lrL4 .llt_rw3.aa *aod.rru ^'ir' h co4ru4 ^-0 trai *n! ^j , ^ G/ d31 &i,- bo6rL l"dr'rFon b .,-r -r r.. wd" r\rr qs-rarcol rrrJt* th* prfnr<Ft' m,*"*+
no
gt*rnrtu Qth"
flr !Lt+
Bt d
ff 11
T#;""[.""*i"i'.-
tK'4r--=--
Va.u>o.$rtle-
lhn'
rl >_
e_
.^o'L , ffi:[,,,:'-h p rr o6t- otc\a'nnra.rJ tu ry^d Sxrutrrr'eo- 2:Yf#i -'*'*T andttl'/'- Lo*te"-
N'l6to
S;ffi'H'--5
? &xrt* p""qnero ;; atfl;ls,*t't' B f\ta4 o/f* PV P;* an fh-o 4o'^t,e'dal' / \a,.-b -) ldc-oJvn' Ku- a4'oonk,p ^ ,-! \t tt*.u1o +, ePDoa) o{P\ vtan'a ' f,qr d-rf,ttz,, 4,"q{@," b'td {nh'i Pd,o'k *e: !+ F", At*r pa5- 5 letiavfrop ,o *K*'X,:' ,3'2'.. r*larcnS'y .factlitf%,. ^ ^ +{'"-r Pqa) AV flvaSf-" (d'rr;l: 'Bukl-s{* (
{baocaF, hYPe^rfn*+
tp
ry u^W aqtvt4c
e s s
is
[?)
s
_
k""' atfi<t*-
,, --- -__----t6
Q"
Whe'e did
Yo.
1,1ss iovaBean
I
in
gocrr
praietro
')
I&nS ketng
gg rucnc{s of
to
Colteclion
Ddjzt
a,trtr$&{ e,
-@
.-@
rt
at
in
$vCl
ln
giTtrfs oPPliftddh
eo
6as
e
FBPe{51sKr)t clrrss
aS
SPrirBoo clc.s J
SetA ct^Ttactt.,
ta lrord
fire
ddtu
Formpcrgq
a^5
Sngle
SerS ;crrr
Athri&rtt
YctLue
use Ja\jabc{n
a5
belrc1
ctas'
Pt;*
tol-t;te dewloP'o3
rht lat6e'eole
lttic5
C(r.nrror rer
t rDde c
Se{ch (-
*ict
600k
hidarn to,,
sEtEc1=&tsTdtate
EmrNa'ne
1,*-,,t Je
r4dh/
k!fts
So"rs"
n0
'nel
-ro
*r
crn
oFroo
sen iS
Frrtr, f,ag
based
rbe
Lrrtio
tl-ot
ts u9-d
fu
iniilo'k
eirber
yq/desi-
rl-{.t
@T)
c&taP\
o,
cc.rne5
to
Lrocose'r co\ndocrr
&s
d^ocorr
fu
en
<x\r
'
keuPointS:"
->
=:hete
J&lo
l'lv
c?
Qrchi lcctat
e iS
trSed '
gc{iPt
i3 uJed +'"
futrovatidcollons ar'
V' o
' class
ro
c'P
BesdlSelib
l-
ilregpe-Cli
ve
oP
Nefrr:oc\< iL is no+
recorneode
d 6 &oi
Resutt
&t
odeq-t
d.ir4rt6'
er
PYDfl
arD
y".ei_,Oed
Frss-s
Rerdro
Bilreo
Jo
Jsp's
u5i.tj
hlebKe Ptitti.
the rte Ptrr otne clo,on\octdalle dic.grorn bax
d
OP$6n *.. re
i5
oPti6n
le rheoe la
mioi
PYqidt
./ePe.
rhe
opPlidottdo O;et'n
iD
Flfle No t
@ tt @ 'L;t'la
&' -- *"t
tt,
0 --m^*61,
"t"
"-
t"fl-'q
Cd^rr'&YLrqr-t'&"n
oe
G'"
9,Lmtt
tt
I tl-
-'t
fi
les
(oil
nor
be
.Sated
clrwutg in rhre
uplcrrctecl ff'tes
.otr\
5;
Scr.utd
\-
their
lDccfions
Lr-rkm
ttrill b
Bre
s(r.Ped
'in
Do-rajk*r
*-a
drooloodlnS
X re4arr"ed the
loccr,lrtc,"o
,,rill &
c-bc,rut
Srf* h-"
rmclone
hkr8ctr,( k$\e
Colurnns mrd
Bro urill h
\
dotoolu,dect to
St"
$sreros'
ug
"iirenr'coro
Do1"oloroa'{
$rct':' t'.l*td'b'cq''
(o
hteP
"ABc.isp"
>
Send
.lt,>
%A.r.j5p
zo lmP'- "Acc"isp ? p, --yo1l pr=vala,,y ge.,d z/a7 4
send
reyres
t to
rhe
Aec.jsV kn; o1
relFarcrrDs ttpe
s
,
Pt
=VaIC,
P>=Vcrra
,Ne
--)
Ne
t(s e
Jay
zq.rm opj
'' Cr,nreri-f
ftreo+loaati"
Pvoce.!
Ld(nk
toi#
o1i566r16 or.,
,,
?erp6n
pen
k:rmrn3
P;re
Jue"')*oun9
lslrzllotz
hini&aiet} p
dieai sid
e
f;'re
g,ptmctr
and
oloconloc.d;ng.
lsEf
6u-,a
: I--teT--"1
Photo
La;$tl @
tgu"r9
C1\srore
m{ri.
w(bPo.3 e
n{c. hSd
dqe",l*otGo.)
;
I
vp_pcsur,rE
lsrrre\'tsatrs\
N,r'ro *e
diagrarn
\
F le uelmcl-tn
0l
ro (2J
iodxnlcs
I kom
Neu:
cutnf
lo
Eerrve't
0
@
End
.u.',
clict
on
Qgisu
ErnP'10'1ee
bgfrno
ttnf
FrrS Le rfre F-.o P4ge ond Sulrn;rs rhe rg&esr C3) kOi.r.n6e"ut"t pYdc'ram ,adj $e Iltrm r$ot, and ures JvoZcum Aer ro &.nPleieFluql-U
b*"r."
I a-1
\J
Reglerc.r Serv
Kt
Scrr.es
rhe
Rec;r-re
gn, *rve,r
'Ym"I''lne
Fte65ercro.
f,awte*fmgram 11,ffi6
loccnc'ng
rhe F - d.o.ra in
DB
ta-bIe
as
recxd
LaoinX
th'
a?
plwto
Qesume d.oatrnedS,
dccrabase tc'bte vercds
@ a @ indtcc/6 Vie-oin3
End
use'r cticvg
60
defails
Vieto'isP
d.,.,h
$e.Toorarcs
lood
hye.r[nus'
-na" ff*r*or, s;srcrn tff* ' ,-\ Fre l^-*r."-.^ ,-,,,o rrn'ld Du 4," ftiveat"-"-' d' .-, 4, +il ro Cl\entr>aahsne @) n",nf*j' .;rp .locoru l,rc 'n .xoteL fo 6od1"e
6olqmn
^
@S#rr*a otl
d0no-'" af-b1*-1e 4 rhe dcronlooavnwt'ov on ott gwotvnoh*nQ clcl"s ana,.ut'r @ ?|-lonovtr*t ail r rfr 6n 'w thor iua! "o,1tes
) -@
@t
l Dernlo."t'jsf utq!
$,ns'tr
n-
a
1
4 5
7
il;;;;;;;,;;;-------D
Name
EMP_ID
s c ri
pt
Null?
Type
I
11
10
EMP PIC
13
14
'15
16 17 18 19
EMP_ID
EMP-RESUME VARCHAR2(50),
vARCHAR2(50)) <centel.> <a href="Registerjsp">Register new Employee</a>
20
21
22 23 25 26 27 28 29
<br><bp<br>
<a href="Mew jsp">view and Download Emp Details</a> body bgcolor-'$/heaD
<table>
<tr> </tr> <tr>
30
31
nP }!Pr of v&tt"s)
<td>Employee lD<ltd><td><input type=text name=tid></td> <td>Employee Name</td;<td><input type=text name=tname><,/td> <!t > <tr> </tr>
<tr>
<td> Em ployee photo<nd><td><input type=Ijgname=tphoto></td>
33
34
35 36
37
38
39
40
41
42 43 44 15 45 47
4A
<tr>
<form>
</centeI>
49 50
5t
62 53 54 55 56 57 5a 59 50
61
<body>
<web-app> <servlef> <servlet-name>reg<serylet-name>
<servlet-class>RegisterseMet<servlet-class>
<Jservlet>
62 63 64
<welcome-file-list>
(i5 66 67 68
-_____-_Registerservlet.
72
14 75 76 77 78 79 80
B1
import iava.io.lOException; im port iava.io,Printwriter; import java.sql.Connection; import lava.sql.DriverManager; import iava.sql.PreparedStatement; import java.util.ArrayList; im port java.util.Vector; port import inr port import
im
|.1f:'S.'g('.rt"'
javax.servletServletException;
javax.servlet.http.HttpServlet;
javax.servlethttp.HttpservletRequest;
javax.servlet.http.HttpServletResponse;
a2 83 84 85 86 87 88 89 90
9l
92
93
public class Registerservlet extends Httpservlet ( public void doPost (HttpservletRequest req, HttpservtetResponse res)
throws ServletException, lOException
{
string resumePath="c:rstorelresume
String photoPath=' try
/,1
94
95
96 97 98
99
gpa)o$ 9'z glx-bt.n)g 9o tN "-., ) hg. ct 92,&t> 'nah'rv $9< s# ' "ystor"lpnoi".t;:,
g'a- ud'1t$A
(
rnt etd=tnte ger.parselnt{ni
t00
101
get sp-cial request obj given by Java zoom api MultipartFormDataRequest nreq = new'ttl|ultipartFormDataRequesllreol:
102
'103
104
105 106
srrins eName=nreq.s",r.;:ls":"*f.;T;fi'l'iio"ll;7 Stting eAdd=nreq.getParamete("iaOo,.); " J &.n1 f'XtJ {String ephoto=nreq.getparamete(..tpiroto,,}; shows Nu String gResume=nrcq.getparameteil',L.rumu,.1; snows Hutt .l
// settlng telatEd to Resume UploadBoan upb = nsw Uploadgean(i;
*-:'u' e;;-'e"*
'Es'w^g
ve<"s
cr
107
108 109 110
tfi
112
uptoading ,.)"5 - d o99o< I Fgl. ^o,y+ upb.setF-oldedtoreii""uni.e.ol; "' | ,.-'.'V*' tDl,uf upb.setoverwrite{f;be); ' \ upb.store(nreq,,,!:rsu-me-I ; ,-- (, cu t agca fl upb.setovsMrile(felso); f- c/:i'^{rb'r o'- -' upb.store(nreq,',!pD9Jg);.-.) comptets fites uptoding ?'rd;'L-l?{ _!
upb.setFolderstor(photopathl: ,
lesName=nerv ArayList<StrinO>();
SN','
a
1t3
174
115
't
// sttins rtatod
pfloffi'uft"aing
'arlu, .25
rrlofitdtetsfitesuptoding
dl e\"- C"!"
16
117
l.t8
119 120 121
ArayList <String>
fi
t-"F"
a+
"ilt
lesName.add(up.getFitename0);
E"@
128
System.outprinttn("resume.'+fi les/ame.get(O)l;
129
'130 131
132
133 134
7
q
a
System,out.println("photo"+filesName.get(1 ))i store the patlrs cf the uploaded liles to c:\store fotder oracie.jdbc.driver.OracleDriver"); .Conneolion con=DriverManager PreparedStatement ps=con.rjrel
,//
ps.setlnt(1,eld);
135
136
't37
138 139
1 i
b
ps.setStrinlil,resu;ePath+"/"+filesName.get(0));1
ps.setstring(5,photoPath+",/"+filesName.get(l));
-\
140
141
int
i=ps.executeupdate0;
if(i==1) else
142
143
$$
,
(
try
144
145
146
147
MA
'149
1s0
151
!/catch
)rrdoPost 0
1s3
152 )r/class
155
156 157
DB table -->
158
159
Class.foiName("oracle jdbc.driver.OracleDriver,'l; Connectt6fl coh=DriverMairager.getconnection("idbc:oracle:thin 162 PreparedStatement ps=con.preparestatement("seiect. f romEm$i6[ene g1 163 Resultset r5=ps.executeQuery(); Gi;-\ aa ( h,J&. 164 Vn 160
161
'l6s
166 167
168 169
170
17
"ota <body bgcolor=wheat> <tabie border=l> <tP<d>Emplgyee Name</td><td>Employee Address<^d><td>Employee Resume<td><td>Employoe Photo</tal><fti.
a*vr
A9J cr\teo4l
-e&"'12''1b'
)e e'
tt9
<t'
179
18{)
141
1A2
<%r./.>
183
184
</bble> <body>
193 194
195
,.,,,scott.,,,.tiger,.);
if(requgsLgeJPqr?meter("resumeld")l=nulll 191 . queryText=r'aeleit emp-resunie from employeereg where iinp-id="+request.getparameter(.,resumetd..); 198 else quetyText="select empiic from employeereg where emp-id="+rgqus5gt.tparameter(,,photold,.)l 1l:
200
196
201
205
207
206 )
tileName=rs.getsbing(i l;
208 209 ?1.9 211 ?1? ?11 ?1! ?1l 216 ?ll^ ?18 ?19 220 7?1 222 ?23 224 226 227 22A 229 230
231
/t prepar settnge to download the file File F new Fite{fiteName); int length = 0;
Datalnputstreamin=newDatalnputstream{newFilelnputstream{0);
while ((in l= nuttl && ((tength = in.read(bbu0) != l)l
22s
op.vr,.ite(bbuf,Ortength);
in.close0;
op.fiushfl;
op.close0;
1/o>
d\ag9rz
l---'4'R'4;*et!t,^'e'9*re^ia
*,
La''
T"*"*
.aa>- ca"@
fd)
5a.r^As'o -P9
) (f,-/\'
--^,r':'0ern
n eeo''y't *'*
l.'\_,.
<9.-.'"
3J..t-
cn,"ro
.,pr
*9e4
t^z' fr4'4
-j
ft i6
rclol
iO
,>ot>.
Ye.cirneodd
detrlop
tisinS
Jsp pogrc.rn5
os
ihvc,codp
lesS
Jsp plqjirarns.
&1l- thr'5
Ca.n't
6s
o&c;aved
bX
cdn
d Jsp iags" e,c. *rstr ar \irJ /e.r5 iD (c(nr. der'etbp c&sr-Dm Gr hjs jh currzm: Jsp kg tjbra 3.
predegrr
and
-_+
---+
Lrse
rhese cushnn
Jsp fugs
Jsp
t(glrbYc(Y$
lS a 1;frar! $or
oxtnd5
6et
oP
Jsn ta3s
-Ihe
Java
closs ilrot
f,.nctic.nou
Ro-
&ger
. IoSSqTs1t ,io,s
s
.r"d
de|+nes
rtle
6( rhr
cTe
jsp
i5
CoI1ed
tct6
handle,t clal
->
4rcgho.Otelt
ctcds.
prle)
$e
tcrr$gurofion
&
jsn
ta-gs'
->
de'l-cti t5
rr-.rr3,
t<rg he'ndlc'u
narnes
-T\ib'IaY\ej
uSe
Des;gn
&df,Ua
Tagllb'{"q
Brdc,')
c)&sses
rtre
LNEB-'rNr\clr's6rs
ABcTagiav q
publi c
clasg ABCratl
PLtbli(.
a 1,
exKndg
inr
dogk{t-lagt) Il
erc's
enteust<JY|
l
ptbril
J
L
fr
tht
do9-na1"3
()
/l*,*
t^lbur
.>
ef,louYt'tex'
-t
TJ
Pubx c
q
fet
lt"s'
tou
clas5
..
)W10S
1 ,, qlrendS
jovc,r
Pub);c
inr
clo3rz."tTc.g
t;
{
.t
_. -cLoEndTrtg(
Rr6lic if*
L.-....
1)
.\
Srep'u
'===-
iDeueiop
Js?
ktg6
con$grrcrnvr5'
h.lB-lNF\Serht.t\d
LA?)L7
ABCTcIS -
cl.r$S
lt''lz> -->
XY7T&S '
clors
deuelorteot
cP
ry-
in
Ncb'x'n) ftre
@ Ltog!\b7
zr&glib-
z l brr11)iU-loco'rco^ >
:ide{Lhfier
@ E\ca
8KQ-f,i-
uirh lrg
tcglib-crxi
(i'" a"-o )
u.ss cusrornJsP
t&3\ibrat +Ies
)n
JsP
ffi.
L
l,rt9,"
b0 *t"S
To clse
7rc IIbraYt
ir5
in
JsP fn%rar'l
!.'
@ " f*f.Y'
ano
is
r-user deh
ned
htt ltlt
LaSs
oF
rhq
+cr3
when
tm
alfPo"e
nt
ta3
lruravles
h"*
a0t
Scrrn n6p1g.
@
Ftotrr
ar, 49 c
1
oes
to
bro(nsel coindcrtl
as
ves6aa6
6f
xeco*)ctn
ktg
encocttter 5
tl be gortrrttcl tk* rrrg tl-e P,reFx " st " Loi '' der6-'o" roirt bg Serhetd tttri gc.5e d dn f&3lib rte preAx A] @'t' be lxcLrtcm fu+*od ' &m0" rbe tta 8[a n'c'me c,nd /'1 n /_-\ oii tl8trb bt 6srl''c'a e E(9 Bcrsea on rhr 1z('3 cd) l)
@ f'o-
gl |to-
ild
Are rbe
rrtme
o?
fie tc'3ha"dle"r
bracost"
clctts 'l"t
LftF)L>
-a
- @
pcdiL
o(
cnkonr)
'tt'
'':;trLrt
crs
l.srctflse'
-_:.-.pog. Cor,t
^
o bj
eft is
prtlte
crcd
tnem bet
vdricLble
oP
;rre-aeP;ned
nt3g'f(t'o
ClCrsS. 50,
ln vet Tclg*ltnuter
cLals obie,1
PtF9.
SuQea,ue*t
$iag
ftla
ffieGnrcxi
6od
elL..
--)
ruhite vlctfq
derr
rhe
doX
r*
cme 0f-rhe
EVAL-PAC'rE
*4?ttt'ts
+eocdrlclc8 the ra'rrtninJ Conrtrtt '('fu Pcl' -T1 SKIP- Bopy -------+ i6rvrts' d* b'g e:{ rhe
.-
6t-IP- PAh E
.-+
PcEe qxa-ba-blcm
EvAL-BoDv-krlDE
al1)te
*1
-.; bodg Co
the jtr
*rt.
rer.t
rElcrred
p,r1cesgJn3
.-,---= doEndT.g t)
procsssinS'
Ftn oc$np\e
afp\i.orcn
on
c$tc,m5
f.6
deue-l'errLerut
re&x o*iiJot"
,r,
a-
f,sit
&Y
Jsp St,ndora
&+ nnk,ni
;l3p
&S
,Io.r,a code
lexs
Jsp t troqra,-.
i5 ;ncbsi,t hrnctcrcl
6etoP
sLun
mi(rb
d,fl
$skrn
i5
3Wp1gt^g
ctf,ritctf;le
Csp Tafl
4
in
J6rL.
--+
06rL (cmra;
n5 4 irnprcr*
CI{i n^dliot'U
ur
ca,n
4're
daxk
&rta
code
ler-s
Ge rnYarfn{,
The
(i)
Lasic ofrjl-4flcrn
live Vo'iatl
cla
loroHtrn
'
(D
DB oPc,rztdon5
i Sil' bla
(9
F-t
*)
T"3Ut"'*t
dv{
izr$s
o^w:$:ry*
--, t\d
Hre is
I
f*
r,tL- Pnte#41
^t\tr
tT'
-l,.'.'
clo{ca'
tld
I'rr* 6"ru
ocztt bAe in
ist1 '
jal
s^
astr JsrL
tt6 [''f"'"'tl
f'n"^;'"
l"'lL
hlllo
rr/-tt
no
need
rhette ls
o?
dc*/uoPln5
'tn
tld
fl.,res, frrX
brdJt,
Sres.
procedG\.e
t0
tcu'(v-
krnr: &bcret JSrL t'!flS 'rnd it otfiA+<'L ( paXe oo '15-ltl ) glp-e) g.,6"i tld e1e5 P,'om sranda,d'&T, iott'Jc''l ord Pta'p rt'e rn io t'lEB-rNtr (%l&ry'
6rc0-r)
c.Lld,
*'td/
+<'$liL uris Lo'ei1 Bre ureb'xnr) libYaY're: i,., -.6q2-4) rrnAgrre J6rl ta3 h sap prTs' 6Kp-b) u5e rhe ta6s .P CsP ktl;bxlYies
strlaf
plnte.grao&rd'jar, jstt
'jal
R'res
in NFB-aNr\riu 6tae"/
tsrL
-fhls
Llse rnote
ImP\lcit tlieor3
daxloprr^'+'
6sP
irnpl,ti
-.
Wtx't\
rrpre
o6j4+5
ar c6e"t *o rrp'i*c
$e 3Y
;rrfric-r-
f --
AhierJr3
o-'re
6ng
reofrJl
.-
flararr) ---'----
fo !'Lfb't
fx'r@
purarrVao,zs ---- -4 lo
qat'\e'( rnutHPle
headerl
+tt
abre '
heocUnVor"rs
------r
I' 6'+*
J-o r(r
'r'pre*t
h*a*
volt*'
.'\
**rb ' rellle"9t Aj+nAt4 c.tsY L4Dr toi anJ - ^l^,rnu^ oLtr..,bltt-s a-{tplitolla Lctufl' +a uofi'
to
erc
ctuu
crrr
fi
va^JcLA 's
cc,e necd
to
PWe
)n J6P &'r
ploce inJ
r,.nd.&rclg.
Q* rlus Jtp
u5e &rprbft
1o
p'ftfim
a'arhrrattc
and lqior
opc.raFcrns Lo)rh
&;} u:lnl
SuicLeode
1ryI'
----a
"fttirh"narlc qxxa*tcnL' ytfue ----t 9- f lat'"3 dr ovt .rl;tL l-'as {ie can ofptj a(f,r$n b*"O\ e,thoi .'n te.pbrc kxr
gorie hrrnS Cn
borh
/__
'
-,
At sxg6p\e o-pplira.ildn
exflress
Vlvl>utz
@
\"lensPtE'e
4Pe
Venctr{ ApPl;CaHoo
"-7
ftl ve1
S lcd
rgm
/
J-dK
\v
!e{5ion
6.
r'x
Ccc-panste Loirh
t'+ #)
C(Jrr)rre1-i(rl E[u]
dePcurt
Prrt
numbe.t s
qo6o
QoSo
ft,. oa-in
->
----------r
\*'
\r
o\lurls
Jnstoil'r$n
3 CPn'' ht's )
an
prDced"c
Dr,n\oo.d
ktes -'------" -
exlrc"(t It
)
-:
o? -Wlt
t
to
^ dorroin
--"rln in
r''rc]o*hrrte
""
_-
fUext-----,Nexc=_-^p}reHurP?c.rrourn64'admincc"nsolerilrr/J.rnb2l"-.-....--9
b
-------+ NCxr
---+
Nex b
poce&ve
ro
depb
gee
q,q-,i,11'T:*.J1.Jsil:J,Fjt[ffi*S#ry*#
Jbr' ,\'"--->_.t'"'"' y'l Firrg\ ' ";ffi[lir.'edrr") 7id{a -vrrsru'"
nr Y \ pruqTc
ff"ffi#:
.,[-I:,,ff
-'{ff..ff
jdxt + sqqu
u*
\
:-
9n0-'?" creote
"*.-' c( et*&cK1r sr
F'res
cr-.,ebaffDea$vo
nmd
\-
\-
c.*
gnvitcrrrY,,r,,f'
"lo$
|
1\ Dox Aee
F-----7
rrr.r,e
1.ru-v
,.rE6
-lN F
nDrc
(9:
Sare
rlof
Derc,Sw ,j61ya
*re @:
lieb 'xm
gcr rtn-f
r.."r)rnar+
-'-
Z IDOOVPE
,, ]. gotr*n fttt lub-.fp- e-3, dra g'r dF /web-aPP-1-6'drd ' ) 1+o^^. xam >\ rtu\ &rulef- api -ic.n
e
LNfb-aPP>
:
Llw<b- ot?7
'the
Luebo{'Pn'
E:\DareltP)
iav
cP
DrteAt p . tnnr
s:p'3"' s'ccrr
ilc,-',v
p6[VDcmd-ln
sftnt
v"--.
Aclminisiralrr
&msole
Ys"r"" 1
=--)
b'.-
Snrld{ neo
Co"l'ri?'EroO
44pD
@1ry?
.-r
nex
L
Ste53s'6
+=---,
Cot1;atu---,neul
DalcATf
rflxt
rnexb ------*tex("----..FY'}/h.=
gr<e
-+".-
i.eep
rhe dqrtoled
c4Pn5
--r'EnKb/rde(
----t V oot"*'*
3F
'{v
'
S"p-u::
Tesr rbe
Anlc&llot)'
(oindo ot rr,rnrbost
OPaqbfiurta
--)
-.
Nti
K NS uv1
i. e. cj,pow
brrP'/l
lqosLlrvs<tt'p lrcst
&^\ *nx,. .-
pro
rr&'re
to &arc
Keep
lo Jam(a-h Nclerwe'('
gld4/
6icp0 :"
fte
io
Lrro.cc*-holne>\lib
ure'rt'$ (torncaf -bome> lurn fu'n (orrett tDrotol -oluti1a't .' -O$bc t+ .Jav
6t?C)
brnccr
-.ldbc'icl
&""
obtfi
'Jo
-=-
:-
iE
.,
Llor*ot-home 7
\c'-e \
ccmfcxr'
xm) underl
Zcartrc*v>
mTne
k?'
'
tiJr
eYne
_,*^.-n'ld*
-*
iagl-94ry.r*, g'^r5',
- f
obirr
u
r!$a*rvt
ohj
brrcar.iauc.gool.
#.'"""at*
"
l
'
dtiuc,t
'Otaalc-h*n
tq
u+=''
--.t
id bc', crrlrlle
"rtun ,
@rlmo'l
hos
: \5u i rrc\r
tr
ftrsSrocr.d
"ti$'r =
inittcdsize
='o'
")-o' rrnnA.ho =
m0D'Idle-'"1D"
minl
le=5
nraxhlc b = "toou
ftn'a,n*6*'v
LlConrc^tz geue\oP
lL-ra,
opro.1 tOPtfcrd)
t
the urboPn
fi"6llotldfrttsurun bd *,",3
Poo
-Iobcufool WEB-ANF
i-------*w.a'xnn t
iodex.jsp
* , javal'E'] 'xt
iava" sgl
\--'
JniiirrGrrrexf ic=neo Jnf rtaeGmfcxt6l ; i/GretQrrasoc.vce obj Proisr''t . -*ff.*!HT*l )l ('Jovor /J-lSr'"'" lc"e/"tY Dlafoc.rce .ls -- COtr.,scr,'<e) ic'toortp Illet 5. jcbc c'o Fol l'ntott" @ofl'*tr ^o* ds'flu1rnneu*.on. ) j Grrclcrn Cuo = llrddrc jdoc cocte
Bfarerrer*
l?es'r+-3#
C) ) 6; = ccrn . a*oPSe'r<tttlt"t
YE
9k)e-nf
.);
{grr-t
r
z
-an ['cs'ger].zr(.1)+
n'
+ zarz)
,tr>
5rye!
LN$-ct+Pl>
e
,.t
rcffJ:Dcplogee
and
.t
/irae*-3sP
--.--
:.-*r
Se*n7
--r Nerutfl. ir-l .ftcrtri!
;n V{etaPPlico*toos
o?
Fw6't"n,ets.
-"
PrDgfafrr/rs Cry
re6porAi ble
to l"n'nate aW lt^xl
&carrlrg,
^ -w;Auto^tr^n
y'orFrry;z^Hc. -t **E
rleL6ry fi1actcne6
pe'ft1atJt,l
perrntsslcrs of
a us1
on
s
tc.Ung
pqssar.rJ
-fuOte-rrcr,rl
')
Chreclun3
the
O.te55 Pelrnis6io
,
ofl
&rrrtn-ri zatltrnr
E
4'-
be
t't
orrrhe"#cor<d
&''HtJ
pru.]e{-
b+ ''
h,
v<''foJ
[*Rj*h'
Glso
4nd
-':,-::":T':
--+
fr\5orirltrrrs.
J:" :
:
\-/
" Dr*o' :
v
ilc;
\-./
lovbcr"cvd
r&vr
Dt*a oPrc'r
Decoc(cl'int
lare'\
sc,'* t
or-1 ct*c-PPlt
cc'hl co.5
lr)
rloar
(o(tts- \-/
Qf
P0$Y.\rrLi-tic
aPPtcrnch
"
"
iau c.
cotle
\n
ioe-bresurrce Pa6ram
@ ftuuror,u.
----'r Use
ul&6e1ve{
ecuvi tX
fl('r-;cl '
Palrn
Cirnsep
NglE'.-
Dectc.rcr,liv
6qptlach
i5
S8'\lei S1>elihcc.hoil
Ure-lc oPPlicoficnS'
g-rPPort5
/t
mocle
S"ctt"lt$ | c+ o*o"ricoflm
O - Bnttc
@ prrcnrsr @
1
I
I
.Ihe
se
crrt
rnuch Simile'(
rr:rrn I
cLlENr-cEPT ltr;ore
orrb
Hlqg_q
' Poi"c"l
OlfP<ran*
N'-n Ot$'-
"-tld* )
erctb[ed
L, h**t ou."
+J*
searred
sookr Late,r'
Under6tandin5 Plocrl
o?
o<ecldso
hlien
Dclararrw &c"6t-3
\y-::
tE
need
0n
UdreSO..r'Ce fn4{&m5.
ce o-'cb r-e$out
prcpJYam
to
cDrl-t
ln
Walc'xrnl
RLe
-J ftct(\liJ latrl)
i5
mlddtt!'are
arr-r.lrorr'li
Be6vlce
okuch rrrtrnturns
aarlPa zattlc'tl
Sprc {:
LLloi
'
/ rol eg
fM
cr#
crr
achvideE
c^nl
[x4rmme F3rsodd
: I y.rj4l
Far.rt
-l
tglo,.|* s..,r'h)
ierfdse
f{"-!
vo.iq
-teritr', haurng
anit
dur8lt
8i"t'sn
S.ontetlirt f'tg
dn6
C{rc
corr
&dt
l.ritr'{
deflogee
d ii) o &"ruer
{z;, CXett{r'orr
Crn
ccn
YrYJJfi'Pl(
inoicrnces fcopies
) ol
bdsls
&..vctlet
Pcd
cb ci-t)Pt ccrli
611
t!
exe&rte
&rvler, js
rmrof(rrn5
t? thut
,txl"a4Puc&fto't
k,r.to
the
0)4O
rec.cl5
1"r1yl1:.
crn
in
tdcb'xrnl
fifa
and
'
iderrl l
FleS
Yhtr
6rt0
6lerleilttiug Sek\i
@ O
u lo
floin3
-,". ff'o"(]'o
Lrso)nome \ )( *'the (, collctl dn2 lo ' bor p'crlogre rlut'st Wfr the ,^ ::"),",nn**n*o, end uJed fc'rlclafet
Crcc*Pnricrrre
APr-x ScrbmirtrnS
Dlalog..e
ll'5e'rt")Gtrr.,
F*strrrrcL
toxi
$lutrrr
ustxrlcLT}le/ pctEscr{rocL
@ Sette*Co"Jz'nor rDarthe'
t(9,{n&rne/
?oscmtd "+
Secdtir3 realrn-
6"7
t6
Lr-:ebwsocii
Ce
(l itt
-,
ernii
o
B^,otaEuA;ndo-
'
Co+afl6n4
U6ex rotes
lipe
.
grnplogee drslSnoflons
b oh)*' oUd, u6
-I
qes /
I gsers
er#6
deftr_; I S
; 6rlls{5
o{)pl$
Arqhenz-r'tlcrn
loB,*
[c'sed
on
ggrrd'es
Y]o'l-
based
crn
Ust^ names'
&krrrb
Securtg
Potm
Cntted
mUralm
"
Irr
Torncot Scrvelr
lo add
uJetr6,
Toles
ta
&rurl tg
us
]-Fnfftt-bome>\ctmP\l*'c"+-
us:rs'xml
e;Le,
bmcor
(s'!5 '
)\YD
re fo adcl
osers(roleb:-
ir.$
- " &rfelviscr{" i> l' roles -- 'rnPlo Xee" " Kctlo"' ' tlJota .. koE = 4use'1 uY1norrDe Pa56 *rrarnsa" YD[3 = " emgiogeo" *rrxxrffa= Luy't il\orname = Sasa-oo<A '' ' ' "' 2 u ' ggnplogee Srf'rvRld trDls= ' " zu4^ usernam e =^ 'ieshu' Passt,,ra = ,u'n*
rolmm
z-lttmts+
Usors >
-->
uses
Ease
+
rb
Encoacli
r'rg
otgcm"rhr
PwrcLrinS
ul-r
rrdfftr Fostoo" d
PLL\!
-)
Uslng
Decoc^ding
6e(L!.ri
'
Ul9rnome,
udrd '
ftycrre
is
no
..-> tlc.res
Underetand.nS
Dohge box
olr\
DJCIEST rudcl
------+ fume
cts BASIC
rhene
nnclal
bur
useS
.-)1q1fu5 rnnd.el
Dfa pivc'1
-1
6r\q -.t
Lls{nctrn i
prscoorrl
FeuJ Brocrrsex
{rlindooS
$tpports
fflis
I .-
h* is
Hxed
Urde'rsKrn&ng
-
rrrrle
L)
Seme C(.s
&' tr,
BASIC hur t''!e8 qrrd pcrlstior'\ userrtLr"qe, Q^-n4te to yrtreJ clisV\ct'J gr(n msts !r,hc.r 4..*"n tlcrttl-
(bor{ole tn
P*So@
ftr
['tS
d+jgq
f is or':4tff'fe
6cr:n errr-t/
S'''
}{btt
e Nldng
en
Hie6 % kd
arcLi-i
UL ned
inRttrrriHcms'
.--
b
;and
cn
cphrreb
ul6-nt
tD 6ppf$'ftoaxe'rivt eeluviq
Consrre,in-r6
e
(0
A"rtr'*;arrtcrn
'--t S?edb
U60"1
.;r5 ffoael
qjc'
"
ctetc"i
-Dilq fte
Cc"xfrc.i
nf
""-
end user
trscnnc.rner Pdsuxrrd
eho./rd
nodld'-
NoNP
-
--l no eonsr,oJr*
"-)
Ddlto lYitffnrb
D',k^P'ivcil
(Dill h d{Piie
Loi ll
A
'
&
gYf,'bleA
SNIF(;\PAL
CoNruDpr'il-JAL
----)
Loil\ Le
erglled
oitb
$rne encoadjng
9tPPatr'
us<-
"lgT/t"
w
cu''A
u*
CONF'DENTTAL
r0h1e l'co'Hn$
procedttre
fu
develope
opPiidaHan
{ e.euilrtl
BA6IC
Yroc/eJ
. OP
5r(p-1
;,-
keep user6
Yefttr
rec.drJ hatlios
Yoles
in
1-irrfcf &rver'
G*t.f
itt Towal
- ut,rs' xn,t)
yt::
Develop
as sha,rn 'in
ir>J
the
app:lica$on(D
tf rht
"tr> )
e^eclLrc
eradei appWoltfoo al
yy
,5ame
c$
pre.{lont ctppt}c{4icro
t'-eb
8t+e*th h,e.top
opn
0q}' *
,
to8t' a* sb*,r
,te
rno4tra-.. qame
@ n^f +"
1
usas
coho
a'e L.o;*;
* g:{uo_
2 3
Appl:
d fo #"::& "
.rava-----------------;
4 5
6 7
I
11
t0
12
Printl,llriter
pw=resp.getwriter();
Ur{nnaaYnc
t3
14
t5 t6
17 18 19 20
21
y/ class
ir servicdi!
pw.close();
enalLe
d'
sr&'YI rB
rn ctel
22 23 24 25 26 27
2S
<web.app> <servlet> <servlet-name>sewletl </servlet-name> <servlet-class>Firstsrv</servlet class> </servlet> <servlet-mapping> <servlet-name>servletl </servlet-name>
1345
icDl.Sest
ye1rrCst ctY
I:
<url-pattem>lsrvt</url-pattern>
<tservlet-mapping>
: rcro
r | ar-rcDiage-r
Are / swr
'
@
a\ (9
l::
35
29 30 r.31
.,t
4,.;
e.^,i*
s-
Dyrrai
am
c",
r37
<auth.constraihl>
</auth-constraint>
io
,
5e'vtir
;;,
;d
*,'
be poab\ e d Nk'r'
Lc.uA
'/"/ten-
flnir<t1n.
Lrs
40 42
.rote-name>Eltlfilllrote.name> toLtntl rhat L'x mo.ti .-r... .otr.oag <login-cotlfig> .----r6Pcih's The
<lsecurity.constrain
.o
frr'>t'
.43
<auth-method>BASIC<auth-method>
<realm-name>my-'tealm</rcalm-name>
44 45 46 47 48 49 50
.fl:in$;3"0n'-*E&Pa.r1
App2: (Form Model)
n'11n-,
no-u *,''n
r.o
h-rch
ort rls
u kct's and
uleg shlr ld
be
colle+eJ
5t
52 53
tl
55 56 57 58 59 60
61
liim
meooo="posr action='j-securit$l""r,,t
--E
62 63 64
65
65 67 68 69 70
71
<td>Usemamei<rtd> A <td>cinput tlrpg="texf' name='l usb+rlame"><ttd> _-]-;</tF + Ffd (r'rf)Ptt (/nl rtr(r4c <tr> <td>Password:</td> (x\ <td><input iype="p3ssword" name="i basdword,'></td> <rlr>-7__-L- h,red <tr> &,rng<flr,^f frdr.l e
<td colspan=2 align=righD<input type=submit
Fr"d-AIol lrrt
as
e^{rectfd bb Qru'{
<tr>
<nable>
value="Submie>4ld>
72
@ tt",
crr-lRtut
i5 g'xcd
if nor {rro.,rrd
*t*,nu
an
Ccmmon I o
,.ttKtvut
L'
Fncottst-Tbase ncrrn<l
o"n'
6^*
ln Q'ouf ?et;Hag
73 </torm> 74 </blockquote> 75 </body> 76 </html> 77 ------------- ---rogin_f ail.jsp--{oil-\--9.!'-L---g!!.s.. gctt f ) 78 <html> 79 <head> 80 <title>Loginlailed</titte> 8l </head> 82 <body bgc olor=#f{flff> 83 <blockquote> 84 <h2>Sorry, your user name and password were not recognized.</h2>
85 86
<p><b>
ii rriie"rogin.i"p,''J
</blockquote>
</a> </b>
87
88 </body> 89 </htrnl>
<body>
<l/.
93 94 95
/ 4enai\t rcr crr.* - - . l,\rjb;d.r ld0F'n3 n, ':--:------------..-!ditisp-CBlx''io--J:I-n:-l-:gt"ro orr ct)hl cln ut c{rr 99 91 <html>
92
Sec(tdq
\ /
96 97 98 99 00
01
----------web <!DocwPE
<web-app>
3,
02 03 04 05 06 07 08 09
<servlet> <sen'let-name>servlet2</servlet-name>
</servlet> L,
<;sp-f
<servlet-mapping>
<servlet-name>servlet2</servlet-name>
t0
1t
12
13
<url-patlern>/securityl </url-pattern>
</servlet-mapping>
<security-constraint> <web-resource-collection>
14
t5
16 17 18
1091('J
rome
:il#n:ilTf+1ffi.-
'.
P.n ,;na ne
: rui
t9
20
21
<auth-constrainl>
.rol.-nam"tWSt/role-namet
22
23 21 25 26
27-
1 28 1 29
1 30 1
arrtLolr}lranc"t
'
3t
1 32 1 33
'l 35
1 36 1
Iu
37
)swha dx - ! n
u,
^ E,mft'3e
{cttorl{-9<
^-^,^.'_,@e
Fc'ntv?
}IEB-T N F
tq;n -F"t. j
iocb'z.m
edit'j
re1l1osr L{yt
hq,.ll
lorc,thDsl
: zaxi }lr-A0e/
&cttrtt5 t-
C[rrur- CFRr
..-
., -)
Thr6 rftde I
send
D;gitol Cerrifrcate
ce'ri
to
&\e
clien$[
can
6rcc'\sed
I\e fe?rats'
uie -'-'+ i5 .-, -+ Thi,5 is nol 6iv.n to ve''l fo auhe nricotl on' ar
ro
prelare rhese EiSrqr
6(crf3
)it'e PSA ' " ' cedri 8c"lq tzr deot u:irh Di8;tcd Bnrro
ctl8aorhn-s
ol{,.)3
&rili
HtrPS PrDlo@\
(,
HrrP 6urr
'ssL)
Seornr3'
on "- rFp-f
,
cLLE\r'T -
cFPl
roocLel &m4s
the
rhe
S6L'
Setotttd enlironrnr-n*
g"r1ii:rr
,+
)r3ir.t Ce'ttficr"l+
amd
- @ rn*.dur. rc
dreveioe clief*-ce.rr
uboppl'lca*{oq
DiSil-'Ll
rhe
lo y'rerafe
df
Ce"{rrPiro}e'
Kgtoot -ss''keu -Gliob c:\ue.,5\rrrrarrh >
E
Re
T****.
l+
olgoiirhm'
*cr fqao'e
Pa'$utt{d
ro'jcrYo'ic!
I rqjarqj a
v'Ej
t,ll.nl
is goc.r f;tst
last rllme :
vao
Srnc'sniza1111n
whga
&6nc're'ntff'o+<
Are wflesen$n3
c:
--tlt f
firn
\ ureta \ <to;ndrurs
L15{,,rnaro
Sf ae,t
>
---,-,---
<oioeloos
in
uin docas
er,v;rcrnmoy.+
SrPg- ernble
Ztorocof
l-lctps prplual
;n
I
lorca+
&nro
envirdnmo^f.
-hrme
\
-
coP\ Srwr.
x"r,
*---r
l.nne$vt}
ta'J
qclcl,
act&Hdaa'l
ollnelrres
in rhu
\
'ftr. attve 'neaEd ,|
"
z.ConDe(r(
6++ 5
f.lsi.*
P'te
Ls
a,tYofito\
'
rnctil't
crnd roles
ae +,s.r in
exc"'q'tc
-lorncar-us,rg.xrnr
fef<r
4e.
e.rcrmple 64p\icaHcro
in +ortfat
krolt@ '
rhe lovtst
( Blsrc
kvv
ett
Oi,to,usr
"ne)
$q-ol
Test
$e ux,ho4picayl un
\-
ljnder6randirq rhe
,Fcro :
uxbcc,,t,vt
DlBi
-J
ctieru cr((q,rs
rhe
pYD0mm- Jn
rhis
pma6
&.(af,e cli.n f prDrecds 7be relralt to rceb,rtJrxrtt v d errvinoornr'16 ro s4rpw &fc. &ctrved Senyov in cttnf fbe 6oo
tcd
Ced
--+
0xlrlg CLJEItt)-'{r{
'"jl**_.*"-X \/
u.tirf
\,
v
U
i,
I would try to update our site JavaEra.com everyday with various interesting facts, scenarios and interview questions. Keep visiting regularly.....
Thanks and I wish all the readers all the best in the interviews.
www.JavaEra.com
A Perfect Place for All Java Resources