> -----Original Message-----
> From: Towers, Stuart G [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 25, 2004 1:21 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] Help files as Static HTML Content
> 
> 
> Hi Group,
> 
>  
> 
> I'm trying to add some static HTML pages to my Struts application
> (running under Tomcat) as Help files. I've added an action mapping to
> point to the root of my help files - which is fine until the 
> HTML starts
> to reference other pages. I get 404 errors from the web server when
> trying to access embedded HTML.

I know with Websphere you have to flip a switch to get it to serve up files, otherwise 
it won't.
In the WEB-INF you should have a file called ibm-web-ext.xmi.  Inside is something 
close to:
<webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"; 
xmlns:webappext="webappext.xmi" xmi:id="WebAppExtension_1" reloadInterval="3" 
reloadingEnabled="true" additionalClassPath="" fileServingEnabled="true" 
directoryBrowsingEnabled="false" serveServletsByClassnameEnabled="true">

You want fileServingEnabled="true"

Tomcat has always jsut served up html files without any bother, and I don't know about 
Weblogic.

> 
>  
> 
> Is there a way I can tell Struts or the web container to serve up the
> HTML as it is? (The help files are generated by our 
> documentation team,
> using a commercial product).
> 
>  
> 
> Thank you,
> 
>  
> 
> Stuart. 
> 
>  
> 
> ________________________________
> 
> Stuart G Towers 
> 
> Manager, Software Engineering
> 
>  
> 
> Fair Isaac Corporation
> 
> e-mail: [EMAIL PROTECTED]
> 
>  
> 
>  
> 
>  
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to