Check if in the forwards of your action you do not write a thing like this 
<forward path="***" redirect="true"/>


"Mohammed" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> in my action class I am setting in my request an object as follow:
> 
> SourceBean sourcebean= new SourceBean();
> sourcebean.setSource(" Longon");
> request.setAttribute("source" ,sourcebean);
> 
> And in my jsp file try to get a refererence
> 
> <% SourceBean sourcebean = (SourceBean)request.getAttribute("source");
> 
> if(sourcebean = = null)System.out.println(" the source bean object is
> null");
> else(
> 
> System.out.println(  sourcebean.getSource());
> 
> my Problem is that I am getting null for the sourcebean object. I think the
> jsp servlet is getting always a new session but I don't know why?
> 
> Thanks for any hint
> 
> 
> Mohammed

=============================================================
-- KeV -- 
=============================================================



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

Reply via email to