Hi Antonio, are you access the login form directly in your URL or are you going through a struts action mapping? The first will not work. Also, are you sure you've got the loginform class in the webapps/yourapp/WEB-INF/classes/test/struts/ directory? Have you kept the same large & small letters in the name? What development environment have you got? Adam
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
<a> </a> </td> </tr> </table> <br> <% System.out.println("Hi at Login.jsp"); %> <table width="68%" border="1" cellspacing="2" cellpadding="1"> <tr> <td> <div align="left"><font face="Arial, Helvetica, sans-serif" size="3"><b>Part C Focus Summary</b></font></div> </td> </tr> <tr> <td><font face="Arial, Helvetica, sans-serif" size="2">1. List the things you would like Chartered to improve on to make our products/Services betterfor you. Rank them by priorities.</font></td> </tr> <table width="45%" border="0"> <tr> <td><html:text property="comments" /></td><br> <td align="center"><html:submit /></td> </tr> </html:form> </BODY> </HTML>
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" > <struts-config> <!-- Form Bean Definitions --> <form-beans> <form-bean name="CustomerSurveyForm" type="com.st.csm.it.custsurvey.dao.CustomerSurveyForm"/> </form-beans> <form-beans> <form-bean name="LookupActionBean" type="com.st.csm.it.custsurvey.dao.LookupActionBean"/> </form-beans> <!-- Action Mapping Definitions --> <action-mappings> <action path="/Lookup" type="com.st.csm.it.custsurvey.dao.LookupActionBean" name="CustomerSurveyForm" input="/login.jsp"> <forward name="success" path="/mytest.jsp"/> <forward name="failure" path="/index.jsp"/> </action> </action-mappings> <!-- message resources --> <message-resources parameter="com.st.csm.it.custsurvey.ApplicationResources" /> </struts-config>
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->