have a look in the generated servlet maybe this will help you ...

at least this is what I would do

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 3:24 PM
To: [EMAIL PROTECTED]
Subject: accessing formBeans from forwarded JSP page


Hello,

maybe I haven't understood the struts concept but I've run into a strange
problem and could use some advice.
I have a JSP page that sumbits a username and a password to an ActionForm.
After the Action does the business logic it forwards me to another JSP. From
that JSP I try to access values stored in the ActionForm bean.

This one works:
<bean:write name="loginActionForm" property="username" />

and this one doesn't (only retrieves a "null"):
<jsp:useBean id="loginActionFormId" scope="page"
class="cswebview.LoginActionForm"/>
...
<%=loginActionFormId.getUsername()%>  

Since both actions should be the same I cannot figure out what I'm doing
wrong. Anyway the package and the method call  are correct! 

Any help is very much appreciated!

Thanks in advance
Nic

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail


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

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

Reply via email to