I'm working on a virtual learning environment. It's essentially one
huge webapp. We don't want to manage files on the physical filestore;
instead, we want to use our own virtual filestore, for reasons too zany
to go into.
Is there a way of setting eg. an appBase or a docBase so that it points,
I believe that if your servlet is /mywebapp/myServlet and your user accesses
/mywebapp/myServlet/iwant/this/file, the iwant/this/file part is available
as the request parameter getPathInfo() and you can do what you like with
that - access a database, access any filesystem to which you have access,
From: Steve Kirk [mailto:[EMAIL PROTECTED]
I believe that if your servlet is /mywebapp/myServlet and
your user accesses
/mywebapp/myServlet/iwant/this/file, the iwant/this/file
part is available
as the request parameter getPathInfo() and you can do what
you like with that - access a
Hi,
Just to get this straight... can I write a servlet that dynamically
takes a request and re-maps the target? I'd expected to be able to do
that with a valve, but hadn't expected to do so with a servlet. A
pointer to the appropriate docs would be much appreciated!
Steve probably had a
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Steve probably had a Filter in mind, not a regular Servlet. While
higher in portability (but further down the execution pipeline) than a
Servlet, a Filter can be used to redirect requests and responses as
needed. A Valve is very similar to a