Chris, Thanks very much!

On Wed, 08 Dec 2010 17:48:31 -0500, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Fergus,
> 
> On 12/7/2010 9:27 AM, Fergus McMenemie wrote:
>> Thanks for the response. Other than reading the 300 page servlet
>> spec is there a quicker way to accomplish what I want. 
> 
> Of the 354 pages of the Servlet Spec 2.5, only pages 19-154 are worth
> reading. Before that, it's introductory stuff, and after that it gets
> into "enterprise" servlet stuff which Tomcat doesn't support, and most
> people don't need.
> 
> I recommend reading the spec in the same way you'd eat an elephant: one
> bite (byte?) at a time. Mmmm... elephant.
> 
> In the amount of time you might spend fighting against various
> contributors to this forum to extract information about the spec and how
> to do things, you could easily read the spec itself and then come back
> to hit some other newbie over the head with it :)

Yes this is the conclusion I had come to myself. There is no trivial
easy way to perform this trivial function. The defaultServlet is great
for the utterly trivial but if you want anything marginally more
sophisticated then it is no longer a simple case of droping in your
content. You then have to understand quite a bit more about the tomcat
beast.

Dont misunderstand the above, I am very grateful for all the help I 
have received.

>> Further, are you saying that use of catalina/localhost/vendoraDocs.xml
>> is a tomcat only solution.
> 
> This is just the webapp deployment hints for Tomcat. Chuck's direction
> to edit WEB-INF/web.xml is entirely portable and defined by the
> aforementioned quite-readable specification.
I dont edit, control or admin the content I am wanting served. So ensuring
the correct WEB-INF/web.xml ends up in the correct place is too big a
deal.
The "customer" is a MS house and has zero time for messing about with
tomcat
configurations. I was hoping for a simple "place it in here" one line 
instruction. But I will re visit this if I get the time and space to read
those hundred pages you mention. 

>> How do I best standup a set of vendor supplied HTML docs and
>> files for browsing through tomcat. It is not worth setting up
>> IIS for, as we already using tomcat for other purposes.
> 
> If you have a directory of static files already, you can just drop them
> into a subdirectory under TOMCAT_HOME/webapps and it will auto-deploy
> (assuming you have default settings in TOMCAT_HOME/conf/server.xml) into
> a URL like http://yourhost/dirname/your_files_go_here.html

Thanks again.

======================================================================
Fergus McMenemie                Email:fer...@twig.me.uk
Techmore Limited,               Phone:(UK) 07721 37602
Old Stables, Far End,           Home: (UK) 01522 810839
Boothby Graffoe, Lincoln,
LN5 0LG, England

Unix/Mac/Intranets/WWW          Analyst Programmer
======================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to