Greetings

Bear with me, I'll try to be as succinct as possible.

I have been experiencing a problem with new sessions popping up. I
installed the HttpSessionListener and verified that a new session is
getting created between pages, which is a problem because I lose the
session data. I found a couple of <jsp:include etc etc> that lacked
'flush="true"'. I inserted that, and now I'm getting 'buffer already
flushed' errors (which is why they probably got removed). So, question 1
is: what exactly does that do? The 'Core Web' book says
it has to be true if it's included, but does quite say what it does.

I set the debug flag 'on' for Tomcat (which is 4.1.24 BTW) and I noticed
that the context was changing as in:

StandardContext[]
StandardContext[/Directory_Name]

In looking at the code (none of which I wrote) I also noticed that there
are inconsistencies in the <form action= etc etc> tags. Some are written
relative to the jsp directory <form action="Do_something.jsp" etc etc>
and others are written <form action="../Do_something_else.jsp"> and
still others are written <form action="/Directory_Name/Keep_going.jsp">.
Does Tomcat understand the notion of the 'local directory'? What's the
best practice for including jsps? It sure looks like all the problems
stem from the inconsistencies in path.

Thanks for your patience in reading through to this point.

Cheers

Mike

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

Reply via email to