I have a bean (used in a JSP) that serializes itself once the user submits 
a form.  When the bean serializes itself, it uses a simple file name with 
no path.

The serialized bean is getting saved in /opt/tomcat/ even though I am 
running in a context that has a base path of /www/mybiz/webapps/.  Any idea 
why it is ending up in /opt/tomcat/ ?  What is the best way to have the 
bean saved in the path of my context without using a hard-coded path 
name?  More to the point, any suggestions on where it really should be 
saved?  I was trying for the same directory in which the bean lives (i.e. 
/www/mybiz/webapps/examples/WEB-INF/classes/show ) but I'm not sure if that 
is really the best place to store the serialized bean.

Any help is appreciated.

- Todd Chaffee


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

Reply via email to