| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
10 comments so far (post your own) View All Comments Latest 10 Comments:Where does session.login came from?
Posted by SunriseKid on Monday, 09.15.08 @ 08:33am | #79487
hi to everybody,
in the article above the user needs to login and logout explicitally.
i need that the logout occours also when the user closes its browser and when the session expires.
someone can help me?
thank's
Posted by michele on Saturday, 08.2.08 @ 15:30pm | #70529
I'm a beginer of Struts Framework Programing.
i just started with this Login tiutorial but i got error at Runtime like this.
"The Struts dispatcher cannot be found. This is usually caused by using
Struts tags without the associated filter. Struts tags are only usable
when the request has passed through its servlet filter, which initializes
the Struts dispatcher needed for this tag. "
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60) which is the
inbuit class file of strtus.jar file .
i'm using Oracle's Jdeveloper for development.
plz give me solution for this problem as soon as possible.
Thank you,
Rose India
Posted by Mayank Patel on Monday, 05.12.08 @ 14:24pm | #59449
<s:if test="#session.login != 'admin'">
where does login come from?
Posted by struts beginner on Saturday, 05.10.08 @ 02:53am | #59055
Thanks for giving these tutorials which will help all the beginners in struts.
I have some doubt in this tutorial(Login/Logout With Session). I am listing it below.
1) What's the need of
public String logout() throws Exception {
Map session = ActionContext.getContext().getSession();
session.remove("logged-in");
return SUCCESS;
}
in loginAction.java
2)what's the need of
<jsp:include page="/struts2tags/pages/uiTags/loginCheck.jsp" />
in Success.jsp
I got the results without these. So what for it is written?
Hope i will get help form yours.
Thanks in Advance
Struts
Posted by sarin on Tuesday, 03.18.08 @ 10:20am | #53142
Highly informative for struts2 beginners.
many thanks
Posted by dtrprasad on Wednesday, 03.12.08 @ 20:26pm | #52492
Hi, I'm currently learning the Struts2 through this tutorial, but at this page, I got some error. When I do exactly what this page said, I can't access the login.action, it says that there's some null pointer exception; then I delete the "type=redirect" in the struts.xml file, in the login action, it works. I don't know the reason:(
and my jdk is 1.5.0.13, tomcat version 6.0.16
can any one explain this? Thanks:)
Posted by stanley on Wednesday, 02.27.08 @ 08:30am | #50264
my question is the same of vijaykumar
Posted by Cynthiadave on Sunday, 12.16.07 @ 06:01am | #42566
The Success.jsp has this include - but I don't see where it is, and the struts2tutorial.zip is missing all kinds of files from here.
Posted by Sean on Saturday, 12.8.07 @ 02:25am | #41570
Hi
it is very usefull site for begginers like me. i have gone through this sessions. i am having query related to session.put("logged-in","true").my query here is where do we use those objects which are declared in
session.put().
i would like to know about this.can any one help me here...........
Posted by vijaykumar on Tuesday, 11.27.07 @ 13:02pm | #40676