Tomcat does not see dynamically-created directories
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gary_Kephart
Posted On:   Wednesday, December 18, 2002 01:13 AM

I'm making a servlet interface to Analog, which is a log file analyzer (see http://photeus.com/analog/). When each user runs the servlet, Analog is going to create several files (pie graphs) for that user. I'll have to display them, of course. Right now, it's being deployed as a war file, so Tomcat is creating a work/Standalone/localhost/analog directory. I thought I could create subdirectories under that based on session id, and place the graphics in there. That part works. But when I ask Tomcat to display those graphics, it doesn't. It seems like Tomcat doesn't even know that subdirectory exists. A) How can I get this to work, or B) Is there a better solution? Thanks, Gary    More>>

I'm making a servlet interface to Analog, which is a log file analyzer (see http://photeus.com/analog/).
When each user runs the servlet, Analog is going to create several files (pie graphs) for that user. I'll have to display them, of course. Right now, it's being deployed as a war file, so Tomcat is creating a work/Standalone/localhost/analog directory. I thought I could create subdirectories under that based on session id, and place the graphics in there. That part works. But when I ask Tomcat to display those graphics, it doesn't. It seems like Tomcat doesn't even know that subdirectory exists.


A) How can I get this to work, or

B) Is there a better solution?


Thanks,
Gary

   <<Less
About | Sitemap | Contact