+ All Categories
Home > Education > Ch. 11 deploying

Ch. 11 deploying

Date post: 06-Jul-2015
Category:
Upload: manolis-vavalis
View: 316 times
Download: 2 times
Share this document with a friend
Popular Tags:
12
Chapter 11 Deploying your web app
Transcript
Page 1: Ch. 11 deploying

Chapter 11Deploying your web app

Page 2: Ch. 11 deploying

Deployment

• Where do YOU put things in the web app? • Where will the CONTAINER look for things in the web app? • How does the CLIENT request things in the web app?

• Where do you put • static resources? • JSP pages? • Servlet class files? • JavaBean class files? • Listener class files? • Tag Files? • Tag handler classes? • TLDs? • JAR files? • The web.xml DD? • …?

Page 3: Ch. 11 deploying
Page 4: Ch. 11 deploying

Deploy via a WAR

Page 5: Ch. 11 deploying

Protecting via

deployment

Page 6: Ch. 11 deploying

Accessing below WEB-INF & META-INF

Page 7: Ch. 11 deploying

Actual and virtual directory structure

Page 8: Ch. 11 deploying

Welcome files in the DD

http://localhost:8080/MyTestApp/ http://localhost:8080/MyTestApp/registration/

http://localhost:8080/MyTestApp/search/ http://localhost:8080/MyTestApp/registration/newMember/

Page 9: Ch. 11 deploying

Error pages in the DD

Page 10: Ch. 11 deploying

Servlet initialization in the DD

Page 11: Ch. 11 deploying

EJB-related DD tags

Page 12: Ch. 11 deploying

< mime-mapping> DD tag


Recommended