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
|
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.
|