Professional Documents
Culture Documents
Struts 2 Login, Struts 2 Ses...
Struts 2 Login, Struts 2 Ses...
Struts 2 Login, Struts 2 Ses...
Java| Frameworks | Databases| Technology| Development | Build/Test tools| OS| Servers| PHP| Books| More| What's New?
Frameworks| Hibernate| Struts| JSF| JavaFX| Ajax| Spring| DOJO| JDO| iBatis| Questions? | Software Development
Search
iPhone Baby Names
Application
1 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
Ads by Google
Java Class
J2EE Class
Code Class
Logic Class
2 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
<html>
<head>
<title>Insert Data here!</title>
<link href="<s:url value="/css/main.css"/>" rel="stylesheet"
type="text/css"/>
</head>
<body>
<s:form action="/roseindia/login.action" method="POST">
<s:textfield name="userId" label="Login Id"/><br>
<s:password name="password" label="Password"/><br>
<s:submit value="Login" align="center"/>
</s:form>
</body>
</html>
<html>
<head>
<title>Welcome, you have logined!</title>
</head>
<body>
Welcome, you have logined. <br />
<b>Session Time: </b><%=new Date(session.getLastAccessedTime())%>
<br /><br />
<a href="<%= request.getContextPath() %>/roseindia/logout.action">Logout</a>
<br />
</body>
</html>
Output:
3 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
4 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
» View all related Ads by Google JSP Class JSP Session BMW X5 Struts Coding Class
tutorials
1
2
3
4
5
5 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
Name:
Email:
URL: http://www.roseindia.net/struts/struts2/struts2
Title:
Comments:
Enter
Code:
Submit Comment
Current Comments
10 comments so far (post your own) View All Comments Latest 10
Comments:
Where does session.login came from?
6 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
which is the
inbuit class file of strtus.jar file .
Thank you,
Rose India
in loginAction.java
in Success.jsp
I got the results without these. So what for it is written?
Thanks in Advance
Struts
7 of 8 15-10-2010 07:24
Struts 2 Login,Struts 2 Session http://www.roseindia.net/struts/struts2/struts2-login....
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs
404
8 of 8 15-10-2010 07:24