tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Cronin" <mike.cro...@fax.com>
Subject RE: Different sessions between JSP and Servlets...
Date Thu, 06 Sep 2007 19:21:08 GMT
Hey Mark,

Your question as well as a previous post to another user in which you made
the point that the appBase should never point to a root directory helped me
resolve this and another JSP issue I was having. The change follows...

<Host name="my_site.com" appBase="webapps\a_subfolder\">

<Context path="" docBase="\my_root\">

I cannot thank you and Hassan enough for your assistance with this issue.

My very best regards,

Mike Cronin

Fax.com
"The New Way To Fax!"
www.fax.com
 
Confidential: This electronic message and all contents contain information
from Fax.com, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee(s) only.  If you are not an addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender by
reply e-mail and destroy the original message and all copies. Thank you.

-----Original Message-----
From: Mike Cronin [mailto:mike.cronin@fax.com] 
Sent: Thursday, September 06, 2007 11:41 AM
To: 'Tomcat Users List'
Subject: RE: Different sessions between JSP and Servlets...

<Host name="my_site.com" appBase="webapps\a_subfolder\my_root\">

<Context path="" docBase="\">

The only <Context> I reference (whether right or wrong) is the default
Context shown above. As coded, all applications successfully load using the
default Context, but I'm not able to pass session variables between my
servlets and JSPs.

Thanks for your reply Mark.

Mike
 
Fax.com
"The New Way To Fax!"
www.fax.com
 
Confidential: This electronic message and all contents contain information
from Fax.com, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee(s) only.  If you are not an addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender by
reply e-mail and destroy the original message and all copies. Thank you.

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Wednesday, September 05, 2007 7:37 PM
To: Tomcat Users List
Subject: Re: Different sessions between JSP and Servlets...

Mike Cronin wrote:
> I started from a clean install and continue to encounter the issue where
my
> JSP pages are not exposed to the session variables being set from within
my
> servlets. I believe that my <Host> element is set up correctly as I can
get
> to all of my site content as desired.

What values are you using for appBase and docBase?

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message