LN 3 JSP

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

4 Terms

1
New cards

JSP Benefits

  1. Content and display logic are separated

  2. Simplify web application development with JSP, JavaBeans and custom tags

  3. Supports software reuse through the use of components (JavaBeans, Custom tags)

  4. Automatic deployment

  5. Easier to author web pages

  6. Platform-independent

2
New cards

Servlets vs JSP

JSP

  • Code is compiled into servlet

  • very easy to author

  • Java-like code in HTML

Servlet

  • HTML code in Java

  • Not easy to author

3
New cards

Why JSP over Servlets

  • Makes it easier to write HTML and read and maintain the HTML

  • Encourages you to separate the code that creates the content from the code that presents it

  • It is a pain to use println() to generate HTML pages in servlets

4
New cards

JSP standard actions

  • useBean

  • forward

  • include

  • getProperty

  • setProperty