Servlets.com

Home

What's New?

com.oreilly.servlet

Servlet Polls

Mailing Lists

Servlet Engines

Servlet ISPs

Servlet Tools

Documentation

Online Articles

The Soapbox

"Java Servlet
Programming,
Second Edition"

"Java Enterprise
Best Practices"

Speaking & Slides

About Jason

XQuery Affiliate

Advertising Info

Sample Resource
A Simple Sample Resource to View

This is a simple web page to test ViewResource. Note the local images and links are broken. That's because the page has been placed in the ch04 directory with links appropriate for that placement, but it is being served from the client's perspective as if it were in a ch04/servlet directory. The way to work around this issue is to set up ViewResource to serve the /* path. You could also use a <BASE HREF="..."> tag in the HTML if the file might be served from a number of different paths.


 


Home   com.oreilly.servlet   Polls   Lists   
Engines   ISPs   Tools   Docs   Articles   Soapbox   Book

Copyright © 1999-2005 Jason Hunter
Privacy Policy

webmaster@servlets.com
Last updated: March 1, 2009