Re: Bean and Servlet

2007-07-27 Thread Pid
est, I need to submit the same collection of questions to Results page. And so, i used session to store the questions ids'. On 7/27/07, Pid <[EMAIL PROTECTED]> wrote: Caldarale, Charles R wrote: From: Mohammed Zabin [mailto:[EMAIL PROTECTED] ] Subject: Re: Bean and Servlet My Proble

Re: Bean and Servlet

2007-07-26 Thread Mohammed Zabin
lts page. And so, i used session to store the questions ids'. > > > On 7/27/07, Pid <[EMAIL PROTECTED]> wrote: > > > > Caldarale, Charles R wrote: > > >> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] ] > > >> Subject: Re: Bean and Servlet >

Re: Bean and Servlet

2007-07-26 Thread Mohammed Zabin
or multiple requests to have the same set of questions. On 7/27/07, Pid <[EMAIL PROTECTED]> wrote: > > Caldarale, Charles R wrote: > >> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > >> Subject: Re: Bean and Servlet > >> > >> My Problem is that, I

Re: Bean and Servlet

2007-07-26 Thread Pid
Caldarale, Charles R wrote: From: Mohammed Zabin [mailto:[EMAIL PROTECTED] Subject: Re: Bean and Servlet My Problem is that, I want to pass these numbers, Questions IDs, from the first page, which i have made it as a tag class, to Results page, which was made as servlet. Rather than

RE: Bean and Servlet

2007-07-26 Thread Caldarale, Charles R
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > Subject: Re: Bean and Servlet > > My Problem is that, I want to pass these numbers, Questions > IDs, from the first page, which i have made it as a tag class, > to Results page, which was made as servlet. Rather than hanging

Re: Bean and Servlet

2007-07-26 Thread David Smith
ents please post it. On 7/26/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: From: Mohammed Zabin [mailto:[EMAIL PROTECTED] Subject: Re: Bean and Servlet What do you suggest to overcome this problem? In the seven messages you've posted in this thread, you've nev

Re: Bean and Servlet

2007-07-26 Thread Mohammed Zabin
l not work, but i think that storing these ids in a session is a good choice, isn't it? If you have any comments please post it. On 7/26/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > > Subject: Re: Bean and Se

RE: Bean and Servlet

2007-07-26 Thread Caldarale, Charles R
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > Subject: Re: Bean and Servlet > > What do you suggest to overcome this problem? In the seven messages you've posted in this thread, you've never really explained what this attribute is being used for; nor have you an

Re: Bean and Servlet

2007-07-26 Thread Mohammed Zabin
in <[EMAIL PROTECTED]> wrote: > > What do you suggest to overcome this problem? > > On 7/25/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > > > From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > > > Subject: Re: Bean and Servlet > > > >

Re: Bean and Servlet

2007-07-26 Thread Mohammed Zabin
What do you suggest to overcome this problem? On 7/25/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > > Subject: Re: Bean and Servlet > > > > I will tell you the procedure; At each time the user clickes

RE: Bean and Servlet

2007-07-25 Thread Caldarale, Charles R
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > Subject: Re: Bean and Servlet > > I will tell you the procedure; At each time the user clickes > the first page in the site, a random numbers will be generated > and stored in the session. You're missing the point. The

Re: Bean and Servlet

2007-07-24 Thread Mohammed Zabin
med Zabin [mailto:[EMAIL PROTECTED] > Subject: Re: Bean and Servlet > > Thank you I solve it using session, particularly: > pageContext.getSession().setAttribute("InQry", qry); Are you sure you want to do that? If multiple requests from the browser are being processed concurrently,

RE: Bean and Servlet

2007-07-24 Thread Caldarale, Charles R
> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] > Subject: Re: Bean and Servlet > > Thank you I solve it using session, particularly: > pageContext.getSession().setAttribute("InQry", qry); Are you sure you want to do that? If multiple requests from the browser are bei

Re: Bean and Servlet

2007-07-24 Thread David Smith
the Array List in it then if you >> >> >> >> session.setAttribute("MyBean", MyBean); >> >> >> >> you can get it (MyBean) back when the next call comes into say the >> JSP >> >> page >> >> >> &

Re: Bean and Servlet

2007-07-24 Thread Mohammed Zabin
ibute("MyBean", MyBean); >> >> >> >> you can get it (MyBean) back when the next call comes into say the >> JSP >> >> page >> >> >> >> Now if you read up on this you will see you can also set 'request' >> >> obj

Re: Bean and Servlet

2007-07-24 Thread David Smith
"servlet session and setAttribute" >> you >> will be on your way... I think ;) >> This area of servlet programming is one of the things that make it >> such a >> powerful technology. >> Have fun... >> >> - Original Message - >&

Re: Bean and Servlet

2007-07-23 Thread Mohammed Zabin
t and want to pass a bean across. >> >> Anyway... if you just google for "servlet session and setAttribute" >> you >> will be on your way... I think ;) >> This area of servlet programming is one of the things that make it >> such a >> pow

Re: Bean and Servlet

2007-07-23 Thread David Smith
y. Have fun... - Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, July 23, 2007 11:18 AM Subject: Bean and Servlet > Hi All > What is the best way to pass a list collection from a Bean to a Servlet? &g

Re: Bean and Servlet

2007-07-23 Thread Mohammed Zabin
ervlet session and setAttribute" you will be on your way... I think ;) This area of servlet programming is one of the things that make it such a powerful technology. Have fun... - Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users Lis

Re: Bean and Servlet

2007-07-23 Thread Johnny Kewl
; To: "Tomcat Users List" Sent: Monday, July 23, 2007 11:18 AM Subject: Bean and Servlet Hi All What is the best way to pass a list collection from a Bean to a Servlet? Thank you - To start a new topic, e-mail

Bean and Servlet

2007-07-23 Thread Mohammed Zabin
Hi All What is the best way to pass a list collection from a Bean to a Servlet? Thank you