Image Sandbox Taglib Help

2005-04-14 Thread Scott Arbeitman
I'm new to using JSP and custom tags and the J2EE environment in general. I'm trying to use the image taglib in a Coldfusion (.cfm) page on JRun 4 app server, I've followed the instructions (copy the .jar and .tld into the /WEB-INF/lib and /WEB-INF respectively, and edit the web.xml). I've had

Re: Retrieve a session attribute

2005-04-14 Thread Vernon
Thanks all for your helps. I get the page setting usage clarified. In this application, I need to set a user preferred data in the user session during the session life time as well as in the form of cookies. Every single JPS needs the preferred data. So, I shalln't set page to false. The page f

[ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review

2005-04-14 Thread Pierre Delisle
We are pleased to announce the availability of the Public Review of the next versions of the specification for JavaServer Pages (JSP) and JavaServer Faces (Faces). JSP 2.1 is developed under JSR-245 and Faces 1.2 is developed under JSR-252. The two expert groups are working ogether to improve th

Re: Retrieve a session attribute

2005-04-14 Thread John Fereira
At 11:46 AM 4/14/2005 -0700, you wrote: --- Martin Cooper <[EMAIL PROTECTED]> wrote: > > In a servlet, a session will be created on a call to > getSession() or > getSession(true) if one did not already exist. In a > JSP, if a session > does not exist and the page has session="true", one > will be c

Re: Retrieve a session attribute

2005-04-14 Thread Rahul P Akolkar
> I thought a JSP would share the same session within > the servlet if a session already exists in the > container. JSP is eventually translated into servlet > code, doesn't it? > > I insert the log message code in the servlet before > getting to the JSP and find that a session already > exists at

Re: Retrieve a session attribute

2005-04-14 Thread Martin Cooper
On 4/14/05, Vernon <[EMAIL PROTECTED]> wrote: > > --- Martin Cooper <[EMAIL PROTECTED]> wrote: > > > > > In a servlet, a session will be created on a call to > > getSession() or > > getSession(true) if one did not already exist. In a > > JSP, if a session > > does not exist and the page has sessi

Re: Retrieve a session attribute

2005-04-14 Thread Vernon
--- Martin Cooper <[EMAIL PROTECTED]> wrote: > > In a servlet, a session will be created on a call to > getSession() or > getSession(true) if one did not already exist. In a > JSP, if a session > does not exist and the page has session="true", one > will be created. > > -- I thought a JSP woul

Re: Retrieve a session attribute

2005-04-14 Thread Martin Cooper
On 4/14/05, Vernon <[EMAIL PROTECTED]> wrote: > > --- Don Albertson <[EMAIL PROTECTED]> wrote: > > Vernon wrote: > > > In Servlet, I have > > > > > > request.getSession().getAttribute("cc"); > > > > > > The code returns the right result. > > > > > > In JSP, when I have > > > > > > > > > > > > I g

Re: Retrieve a session attribute

2005-04-14 Thread Martin Cooper
On 4/14/05, Vernon <[EMAIL PROTECTED]> wrote: > In Servlet, I have > > request.getSession().getAttribute("cc"); > > The code returns the right result. > > In JSP, when I have > > > > I get > > java.lang.IllegalStateException: Cannot access session > scope in page that does not participate in

Re: Retrieve a session attribute

2005-04-14 Thread Vernon
--- Don Albertson <[EMAIL PROTECTED]> wrote: > Vernon wrote: > > In Servlet, I have > > > > request.getSession().getAttribute("cc"); > > > > The code returns the right result. > > > > In JSP, when I have > > > > > > > > I get > > > > java.lang.IllegalStateException: Cannot access > sessi

Re: Retrieve a session attribute

2005-04-14 Thread Don Albertson
Vernon wrote: In Servlet, I have request.getSession().getAttribute("cc"); The code returns the right result. In JSP, when I have I get java.lang.IllegalStateException: Cannot access session scope in page that does not participate in any session I think the reason is that I have <%@ page sess

Retrieve a session attribute

2005-04-14 Thread Vernon
In Servlet, I have request.getSession().getAttribute("cc"); The code returns the right result. In JSP, when I have I get java.lang.IllegalStateException: Cannot access session scope in page that does not participate in any session I think the reason is that I have <%@ page session="fals