Alright,

let's take the number guess example ... every time I push the 'guess' button and the 
page reloads, there is a new number to be guessed (I checked it through an output) ... 
and when I take a look at the Web App Tool, I see that there are as many sessions (for 
this app) running as I pushed the button (+1 for the first call). My conclusion: every 
click on a button, link, etc. starts a new session and the next page is put into that 
context. Which would also explain why my Struts app does not work ... the web.xml 
and/or struts-config.xml isn't known to the app anymore with every new page or action 
called. Btw, requests work fine.

Now, please give me a hint ... what am I doing wrong in case of my Tomcat 
configuration? (It does not seem to be the app, which is running just fine when 
started inside of the IDE and its implemented Tomcat engine.)

Thanks for any clap on the head,

Steph Kimbrough


-----------------------------


>Howdy,
>You'll need to provide more information so we can help you ;)  Needless
>to say, the number guess example works properly for nearly everyone ;)

>Yoav Shapira
>Millennium ChemInformatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 05, 2003 11:33 AM
>To: [EMAIL PROTECTED]
>Subject: Sessions in Tomcat
>
>Hi everybody!
>
>In a webapp (Struts/Tomcat) we have the problem,
>that actions will not be found.
>
>Besides that we encountered another more universal
>problem with Tomcat: A Session is started for each
>request. So eg in the Number Guess example the
>Number to be guessed doesn't stay the same and you
>get very strange "lower/higher" tips ;-)
>
>How comes?
>
>Tomcat4.1.18/Struts1.01/SUSELinux8.1
>
>Bye
>
>
>--


-- 
60% Onlinekosten sparen!
Jetzt Premium Mitglied bei freenet.de werden und mit dem 
Tarifnavigator guenstiger surfen.
http://www.freenet.de/tipp/premium/tarif/index.html

Reply via email to