If you define a variable in a jsp page and then use the <jsp:include> tag to include it (let's say the middle) in another page, then
the variables that you define in the included jsp page is only available after the include statement. If you wish for a variable to presist for the duration of a user's
experience, say for example login to the abb, write some email and other stuff, you could acheive this by storing data in the session.

[EMAIL PROTECTED] wrote:

Hello,
Is there anyhting like a server side inlcude that is loaded into memory when the server starts, making variables specified in the include file accessible? Or is what I am trying to acheive (in previous posts) - session or application to be loaded when the server is started - the nearest solution to this? I have seen documentation to have a <jsp:include, but I can't see how variables within the servlet would be accessible from any other page? Any thoughts?

Thanks

Paul.


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

Reply via email to