Struts Warnings ...About FormBeanConfig & about Cancel Forward

Struts Warnings ...About FormBeanConfig & about Cancel Forward

Hi Friends...
I am trying a very small code samples of Contact Application i have created the following jsp pages

1)Index.jsp containning the link which points to the AddressSave Form
2)Address.jsp Containning the Name,Email,Address labels & Textfields & 2 buttons save & cancels.
3)success.jsp Displays message that information saved successfully.

but whenever i run the project on Tomcat Web Server then it displays index page corrrectly but when click on hyperlink then it doesn't display anything...
& my Eclipse Editor's console shows the following warnings.
1)WARNING: No FormBeanConfig found under 'AddressForm'
2)WARNING: Unable to find 'cancel' forward.

the contents of struts-config.xml are:
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">

<struts-config>
<data-sources>
</data-sources>
<!--Address Form bean Configuration -->
<form-beans>
<!--Address form-->
<form-bean name="Address" type="ContactInfo.com.AddressForm"/>
</form-beans>
<global-forwards>

</global-forwards>
<!-- Action mappping declaration -->
<action-mappings>
<!-- Address Form Page -->
<action path="/Address" forward="/pages/Address.jsp"/>
<!-- Success page -->
<action path="/Address" type="ContactInfo.com.AddressAction" name="AddressForm" scope="request" input="/pages/Address.jsp">
<forward name="save" path="/pages/success.jsp"/>
<forward name="reset" path="/pages/index.jsp"/>
</action>
</action-mappings>
<controller>
</controller>
</struts-config>

Address.jsp
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>

<html:html locale="true">
<head>
<title>Welcome to Contact Book</title>
<html:base/>
</head>
<body bgcolor="cyan">
<html:form action="/Address" method="post" page="/pages/Address.jsp">
<html:errors/>
<table>
<tr>
<td align="center" colspan="2"><font size="4">Enter Following Details</font>
</tr>
<tr>
<td align="left">Name
</td>
<td align="right">
<html:text property="name" size="30" maxlength="30"/>
</td>
</tr>
<tr>
<td align="left">Address
</td>
<td>
<html:text property="address" size="30" maxlength="30"/>
</td>
</tr>
<tr>
<td align="left">Email
</td>
<td>
<html:text property="email" size="30" maxlength="30"/>
</td>
</tr>
<tr>
<td align="left">
<html:submit>Save<html:link page="/Address.do?parameter=save"></html:link></html:submit>
</td>
<td align="left">
<html:cancel>Cancel<html:link page="/Address.do?parameter=reset"></html:link></html:cancel>
</td>
</tr>

</table>
</html:form>
</html:html>

index.jsp

<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>

<html>
<head>
<title>Welcome to contact Book</title>
</head>
<body bgcolor="white">
<table>
<html:link page="/Address.do">The Address Info Form</html:link>
<p><font size="5" family="verdana">Contact Information</font></p>
</table>
</html>

success.jsp
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>

<html>
<body>
<head>
<title>Status page of Contact Information</title>
</head>
<table>
<p><font size="5" style="bold">Information stored successfully</font></p>
</body>
</html>

The Action Form & action classes are correct but these warnings are generated...
So please tell me the solution...it's urgent...

Umesh..
View Answers









Related Tutorials/Questions & Answers:
Struts Warnings ...About FormBeanConfig & about Cancel Forward - Struts
Struts Warnings ...About FormBeanConfig & about Cancel Forward  Hi... the following warnings. 1)WARNING: No FormBeanConfig found under 'AddressForm' 2)WARNING: Unable to find 'cancel' forward. the contents of struts-config.xml
About struts
About struts  How will we configure the struts
Advertisements
about db - Struts
About DB in Struts  I have one problem about database. i am using netbeans serveri glassfish. so which is the data source struts config file should be? Please help me
About hibernate using struts
About hibernate using struts  what are the advantages are occured when using struts in hibernate? what are the inconvenient occur in hibernate using struts in hibernate? how they are overcome? if any another solutions
About Struts processPreprocess method - Struts
About Struts processPreprocess method  Hi java folks, Help me... will abort request processing. For more information on struts visit to : http://www.roseindia.net/struts/ Thanks
Java Example projects about STRUTS
Java Example projects about STRUTS  Hai... I completed MCA but i have no job in my hands. But i do some small projects about STRUTS. Please send me some example projects about STRUTS.   Please visit the following link
About desing patterns - Struts
About desing patterns  How many Design Patterns are there supported by Java? and what is an Application Controller? what is the difference between Front Controller & Application Contorller?  Hi Friend, Please visit
about webapps - Struts
about webapps  hi deepak, I have a query ,i.e., If we develop web-application By directory name MyStrutsProject,then we kept this folder in the web-apps of the tomcat,other than this folder in tomcat can we kept our
I want detail information about switchaction? - Struts
I want detail information about switch action?  What is switch action in Java? I want detail information about SwitchAction
About Struts 2.2.1 Login application
.style1 { margin-left: 80px; } About Struts2.2.1 login application...(Java Server Pages). All the JSP files written for struts uses the struts...;%@ taglib prefix="s" uri="/struts-tags" %> here struts-tags
Forward - Struts
Forward  Hi how to get the return value of execute() in Action class. we will write return mapping.findForward("success"); how to get the value of forward. Is there any method to get the which forward is executing
Browser Back/Forward - Struts
a web application using Struts 2. Now, i want to enable browser back/forward... about implementing it in my web application? Kindly help me on this. Awaiting... on Struts 2 visit to : http://www.roseindia.net/struts/struts2/index.shtml
Struts Forward Action Example
_TO_REPLACE_1 Here in this example you will learn more about Struts Forward... Struts Forward Action Example  ... about Struts ForwardAction (org.apache.struts.actions.ForwardAction
about connectivity
about connectivity  hello i am basavaraj,will any one tell me how to use hibernate in struts.   Please visit the following link: Struts Hibernate Integration
forward error message in struts
forward error message in struts  how to forward the error message got in struts from one jsp to other jsp?   Hello Friend, Use <%@ page errorPage="errorPage.jsp" %> in the first page that generates
Struts ForwardAction vs Forward tag in jsp - Struts
Struts ForwardAction vs Forward tag in jsp  difference between struts ForwardAction class and Forward tag in jsp
Save,Discard and Cancel button - Struts
Save,Discard and Cancel button   How can I create a confirm message with Save,Discard and Cancel button instead of OK/Cancel buttons in java script inside a jsp
About Java
About Java  Hi, Can anyone tell me the About Java programming language? How a c programmer can learn Java development techniques? Thanks   Hi, Read about java at http://www.roseindia.net/java. Thanks
About jsp
About jsp  Read Excel data using JSP and update MySQL databse
about java
about java  how to get the value from the user like c, c++ program pls explain with example for me
About the project
About the project       Shopping cart application is an open source project written in Java ,Struts and Hibernate. This  helps  people that want to develop
about jquery
about jquery  i want to put already made dropdown menu code which is in internet into my website.but how to put
About Java2
About Java2  sir i want to a develop one text editor but the problem is that i m not able to save our file as text formet or any formet Sir plz guide me
about java1
about java1  Sir, i want to know how we develop 3d button ,lable,textfield etc. in java . sir plz give one program as well Thank you
ABOUT Jtable
ABOUT Jtable  My Project is Exsice Management in java swing Desktop Application. I M Use Netbeans & Mysql . How can retrive Data in Jtable from Mysql Database in Net Beans
About Main
About Main  can u create the object of one interface ? But i can able to create the abstract class through anonimous inner class.similarly can i
About Main
About Main  can u create the object of one interface ? But i can able to create the abstract class through anonimous inner class.similarly can i
about session
about session  hey i want to insert userid and username of the user who have currently loggedin in servlet using prepared statement   Please visit the following link: http://www.devmanuals.com/tutorials/java/servlet
About Project
About Project  Hello friends i want to make a project on face reconization this is my first projct so please help me that how i start my projct please tell me some working with image codeing. thanks
About Database
About Database  in my database i enter the date of birth as Birth_Date date but i dont know in which format we can mention the date of birth   In MySQL database, date should be entered in the following format: yyyy-mm
About Jsp
About Jsp  Hello sir, I am developing online Quiz project in jsp using MySql Database. I want to know that How I will show Questions from database One by One on Same page and also want to calculate Result for the User
About Constructor
About Constructor  How many objects are create when this code will execute... String string = new String("Java is best Lang."); tell me the number of object of string which will create . All are those are eligible for garbage
about a program
about a program  hi can anyone suggest program for this question.. it wil really be helpful.its based on *servlet programming* 1. First page should display a dropdown of mathematical operation (Add, Subtract, Multiply, Divide
About java
About java   how we insert our database data into the jTable in java or how we show database content into the JTable in java   Hi Friend,ADS_TO_REPLACE_1 Try the following code: import
about form
about form  how to dynamically increase the textbox in the 2nd form when i gave any value in textbox of form1 . if i gave 5 in the textbox of form1 , totally 5textbox have to be created in form2.   import javax.swing.
About BufferedReader
About BufferedReader   I have created FileInputStream fstream = new FileInputStream("E:\\TE MODULE\\Main Workspace\\OS PHASE 1\\input.txt"); DataInputStream in = new DataInputStream(fstream); BufferedReader bfr = new
About this tutorial
About this tutorial     ... for their organization.   Information about setting up Simple Cart Information about how features are implemented and explains basic API related
About MYSQL
About MYSQL  is it possible to upload the video on mysql database   1)page.jsp: <%@ page language="java" %> <HTML> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD>
About Webservice - WebSevices
About Webservice  I wanted to know about WebServices
About RoseIndia.net
About RoseIndia.Net RoseIndia.Net  is global services company that understands businesses and aims to deliver value... Development: Java2EE - JMS, JSP, Servlets, EJB, JNDI, JDBC, Hibernate, Struts
about developing a website
about developing a website  hi i want to create a website of on online shopping in java with database connectivity in oracle .so what... the following links: Struts Shopping Cart Application JSP Servlet Shopping Cart
about J2EE. - Java Beginners
about J2EE.  I know only core Java ... what chapter I will be learn to know about J2EE
about enum - Java Beginners
about enum  hi all, please tell me about "enum" and explain with example. And its use in OOP. Thanks
ModuleNotFoundError: No module named 'about'
ModuleNotFoundError: No module named 'about'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'about' How to remove the ModuleNotFoundError: No module named 'about'
about jboss - Java Beginners
about jboss  can you please explain about jboss...how to deploy,where the temp and lock is there...total information about jboss to use in java message services(JMS
about google map
about google map  how to add google map in website
about google map
about google map  how to add google map in website
doubt about J2EE connetivity
doubt about J2EE connetivity  steps to connect J2EE components with MYSQL
Query about bioinformatics
Query about bioinformatics  Wat is ment by spring? How it useful in bioinformatics
about the base class of file
about the base class of file  what is the basic class of file

Ads