View Single Post
  #1 (permalink)  
Old August 1st, 2005, 01:57 PM
naveenkumarg1 naveenkumarg1 is offline
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to display values in a struts jsp by directly

Hi,

   I have a problem.pleas look at the following code of struts-config.xml


<action path="/login"
          type="com.action.LoginAction"
          name="LoginForm"
          scope="request">
<forward name="SubmitLogin" path="/List.do" />
</action>

No when in the above code the path is set to List.do so it should go to the following code and execute the execute method of the following action mapping and should dispaly the results.

<action path="/List"
          type="com.action.ListAction"
          name="ListForm"
          scope="request">
<forward name="ListPage" path="/list.jsp" />
</action>

Can any one please help me

thank you