Taglib Doctype HTML Head Meta Title Title Head Body S:form S:textfield S:textfield S:submit S:submit S:form Body HTML
Taglib Doctype HTML Head Meta Title Title Head Body S:form S:textfield S:textfield S:submit S:submit S:form Body HTML
Taglib Doctype HTML Head Meta Title Title Head Body S:form S:textfield S:textfield S:submit S:submit S:form Body HTML
Goto -> Webcontent folder -> right click -> New-> create JSP file -> File name = index.jsp ->next->Finish
Commons-io-1.3.2 jar
Commons –fileupload-1.2.1 jar
Commons –lang-2. Jar
Commons-logging-1.0.4 jar
Commons-logging-api 1.1 jar
Freemarker 2.3.18 jar
Javassist-3.0.4 jar
Ognl-3.0.4 jar
Struts2-core 2.3.1.2 jar
Xwork-core 2.3.1.2 jar
Goto -> java Resources -> src->right click-create folder name (resources) right click ->new ->other ->goto
xml folder -> click XMLfile ->next -> File name=struts.xml ->net->next ->finish.
<struts>
<package name="default" extends="struts-default">
<action name="sayhello" class="com.seconds.sayhello" method="execute">
<result name="success">welcome.jsp</result>
</action>
</package>
</struts>
Goto java resource -> src-> right click create java class ->write package name and name ->finish.
=com.seconds.sayhello
package com.seconds;
}
Create welcome.jsp page con Webcontent folder -> right click -> create jsp page