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 want to pass these numbers, Questions
IDs, from the first page, which i have made
PROTECTED] wrote:
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
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 Problem is that, I want to pass these numbers
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
the first page in the site, a random numbers
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
[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 never really
explained what this attribute is being used for; nor have you answered
:
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
the first page in the site, a random
, 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 Servlet
What do you suggest to overcome
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 answered
the question of whether
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 user may click multiple times
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
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't
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
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 being processed concurrently, any
:[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, any data at session scope
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
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
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
18 matches
Mail list logo