Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
<%@ taglib prefix="s"
uri="/struts-tags" %>
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h2><s:property
value="message"
/></h2>
</body>
</html>
import
com.opensymphony.xwork2.ActionSupport;
public class
HelloWorld extends
ActionSupport {
private String
message;
public
static final String MESSAGE = "Struts is up and running
...";
public
String execute() throws Exception {
setMessage(MESSAGE);
return SUCCESS;
}
public void setMessage(String
message){
this.message = message;
}
public String
getMessage() {
return message;
}
}
<!DOCTYPE struts PUBLIC
"-//Apache Software
Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package
name="tutorial"
extends="struts-default">
<action name="HelloWorld"
class="tutorial.HelloWorld">
<result>/HelloWorld.jsp</result>
</action>
<!-- Add your actions here -->
</package>
</struts>
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.