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
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
>
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
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
> 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
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
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
> 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
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
> > >
>
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
> 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
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,
> 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
This should really be in a separate thread, but I don't see any reason
multiple resources for a single webapp shouldn't work.
BTW, your solution implies the manner you were calling the servlet was
in a separate request. If the servlet is called in a separate request,
it won't share any of the
Thank you I solve it using session, particularly:
pageContext.getSession().setAttribute("InQry", qry);
and retreive it in the servlet like this:
String inQry = (String)request.getSession().getAttribute("InQry");
But, I have a question regarding DBCP, it is not wrong to have more than one
CP, isn
Can you post the relevant parts of how/where you call this servlet?
I've never had a problem retrieving a request attribute after it was
added and before the end of the request.
--David
Mohammed Zabin wrote:
Actually, I wanted to pass this list from within a Tag to be used inside
another Ser
Actually, I wanted to pass this list from within a Tag to be used inside
another Servlet class, (i.e. the tag class after finishing rendering its
elements, goes to a servlet, so, i need to pass this list to that servlet.
As i have stated above, i used the following to store the list in the
request
Typical design is servlet forwarding to jsp for view. Tags being jsp
elements occur after servlets have executed. So you can see how your
problem is a little curious in that jsps don't typically forward to
servlets. If you are forwarding a request from jsp to servlet, let us know.
However i
Thank you Johnny,
To be specific this is my question
Hi all
I am trying to pass an object from a tag to a servlet. i did the following,
1. In the tag class, i put:
pageContext.getRequest().setAttribute("QList", list);
The above Tag will go to a servlet, i need to read the above request
attri
Hi Mohammed,
Cant say I really understand the question
In general this is what the Session Objects are for
So say you have a servlet and a JSP page and say the servlet makes the
bean with the Array List in it then if you
session.setAttribute("MyBean", MyBean);
you can get it (My
20 matches
Mail list logo