wpa3-4servletjsp Flashcards

1
Q

Servlet

A

Sdilen mezi vice pozadavky : obsluhuje requesty a posila response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Servlet container

A

spojeni TCP/IP : zpracovani http protokolu : zpracovani parametru (url)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

web.xml

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

mapovani servletu

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

WEB-INF

A

soubory nepristupne pres http : web.xml a libs a classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

lifecycle Servlet

A

zavola se init() : při kazdem pozadavku service(req.res) – v nadtride – vola parametry doGet a doPost : po uklidu destroy()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

filtry

A

vstupuji mezi klienta a servlet a umoznuji zmenit data : komprese – kodovani obrazku

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

JSP

A

napojeni na beany : preklada se na servlet: ale není třeba v web.xml : kontejner udela za nas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

lifecycle JSP

A

Request – server – file changed ? Yes – create source – compile : No – Execute servlet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Struts

A

java framework : kazde strance odpovida action : hlavni servlet zpracovava udalosti a vyvolava akce : spravuje action bean a jejich automaticke naplneni a validaci

How well did you know this?
1
Not at all
2
3
4
5
Perfectly