On Dec 18, 2007 10:50 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote:
> The Web-directory was badly named,, but I was refering to the
> {tomcat}\webapp\ directory. When I was refering to Servlet Folder it
> would be {tomcat}\webapp\ServletDir\
Have you read the Servlet Spec? I think it would give you a better
idea about how webapps are typically deployed :-)
Pages/documents you want to shield from direct access usually
go in WEB-INF, which is implicitly protected by the container. So
you might have something like
$CATALINA_HOME/webapps/{appname}/WEB-INF/jsp
$CATALINA_HOME/webapps/{appname}/WEB-INF/pdf
and servlets go in, e.g.
$CATALINA_HOME/webapps/{appname}/WEB-INF/classes/com/example/whatever
> > > together and kept the mapping in an xml file and then served them
> > > using FileInputStream and writing them to the ServletOutputStream.
> > > This doesn't work because any internal refrences (<img>, <style>,
> > > etc.) are lost.
> >
> > "lost"? How so?
Still not clear on this problem, though...
--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]