Re: Static pages dir inside webapps

2002-08-26 Thread Jeff Forbeck

D - 


I am a newbie, but may be able to help. The
$CATALINA_HOME\webapps\[your app] is the directory I
store static pages. This is the area for public files
where WEB-INF stores protected documents. Adding a
special subdir called [your app]\static\ worked for
me. Of course, I forgot to restart Tomcat the first
time (dah), but I eventually gathered my senses.

As far as what previous allowed, I can't help you. I
started with 2.3 and there is a strict directory
specification. 

Anyhow, I didn't see another repsonse - hope this
helps.

Jeff
--- D Bamud [EMAIL PROTECTED] wrote:
 I *need* to put a directory (say static) inside
 webapps that contains
 static html pages. When I try to invoke
 http://localhost:8080/static/test.html  I get 404
 error. HOWEVER the moment
 I make *the* dir WEB-INF in static dir it starts
 working. It was working
 fine in TC3.x without WEB-INF dir but gives the
 problem in TC4.0.4. Does
 that mean that all the apps must adhere to have
 WEB-INF dir? Why?
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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




NT/Tomcat 4.0.4 - Sending StandardError to logger

2002-07-31 Thread Jeff Forbeck

I have 3rd party classes that call printStackTrace and
the standard output goes to the Tomcat console
standard error. I need to capture these errors into a
log. 

I have tried to add following to server.xml to
redirect the standard error with no luck:

Logger
classsName=org.apache.catalina.logger.SystemErrLogger
  prefix=smms_log. suffix=.txt
  timestamp=true/ 

This is inside my context under the Tomcat/Standalone
service 

Any help would be greatly appreciated.

Thanks,

Jeff

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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