struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deepak saini" <deepak_sa...@hotmail.com>
Subject sample program not running..getting stuck at "Creating new Action
Date Wed, 17 Dec 2003 14:59:33 GMT
Hi,

I have written a small application based on struts.
there is one jsp page from which i am submitting some data.
this is the code inthe jsp file

<html:form action="Lookup">
     <table width="45%" border="0">
       <tr>
         <td>Symbol:</td>
         <td><html:text property="symbol" /></td>
       </tr>
       <tr>
         <td colspan="2" align="center"><html:submit/></td>
       </tr>
     </table>
   </html:form>

the struts mapping is

<form-beans>
<form-bean name="lookupForm" type="wiley.LookupForm">
</form-bean>
</form-beans>

<!-- Action Mappings -->
<action-mappings>
<action path="/Lookup" type="wiley.LookupAction" name="lookupForm">
<forward name="success" path="/quote.jsp">
</forward>
<forward name="failure" path="/index.jsp">
</forward>
</action>
</action-mappings>

when i execute the code, index.jsp is running fine but when i submit some
data, the url changes to
http://localhost:9080/wileyapp/Lookup.do and gets stuck there.....


the server log shows the following
[wileyapp] [/wileyapp] [Servlet.LOG]: /index.jsp: init
[12/17/03 20:10:54:109 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action: Processing a POST for /Lookup
[12/17/03 20:10:54:109 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action: Setting locale 'en_US'
[12/17/03 20:10:54:109 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:  Looking for ActionForm bean
under attribute 'lookupForm'
[12/17/03 20:10:54:109 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:  Recycling existing ActionForm
bean instance of class 'wiley.LookupForm'
[12/17/03 20:10:54:109 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:  Populating bean properties
from this request
[12/17/03 20:10:54:125 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:  Validating input form
properties
[12/17/03 20:10:54:125 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:   No errors detected,
accepting input
[12/17/03 20:10:54:125 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:  Looking for Action instance
for class wiley.LookupAction
[12/17/03 20:10:54:141 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:   Double checking for Action
instance already there
[12/17/03 20:10:54:141 GMT+05:30]  f1c9d22 WebGroup      I SRVE0180I:
[wileyapp] [/wileyapp] [Servlet.LOG]: action:   Creating new Action instance

_________________________________________________________________
Stand out from the crowd. Make your own MMS cards. http://msn.migasia.cn/msn 
Have some mobile masti!


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message