Category Archives: Struts

Backward to Struts1

Is it really sucks if you are forced to use Struts 1 after you have been using Struts 2 for ages? Maybe yes, maybe no, at least it is not that difficult to adopt it in a short time even … Continue reading

Posted in Struts | Leave a comment

Struts (work with basic coding)

Struts Tags       As mentioned earlier, to apply struts tag in the page, you got to declare the following line  <%@ taglib prefix="s" uri="/struts-tags" %>   Resource links <link href="<s:url value="/css/tutorial.css"/>"   rel="stylesheet" type="text/css"/>   Direct links <li><a href="<s:url action="Register"/>">Register</a></li>   … Continue reading

Posted in Struts | Leave a comment

Struts (Start with Maven Jetty + Eclipse)

Create maven structure Using the following command to create the structure:   mvn archetype:create -DgroupId=hongliang.com.firstHibernate  -DartifactId=strutsApp -DarchetypeGroupId=org.apache.struts  -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.5-SNAPSHOT -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository   http://maven.apache.org/plugins/maven-archetype-plugin/usage.html   Go to the project directory and input command mvn eclipse:eclipse Build the project to Eclipse Import the … Continue reading

Posted in Struts | Leave a comment