File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Login action class using struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Login action class using struts 2" Watch "Login action class using struts 2" New topic

Login action class using struts 2

ankit pathariya

Joined: Aug 16, 2011
Posts: 10
i am creating a user registration and login system using struts 2 and hibernate.
I have succesfully created the user registration but unable to create login system so can any one please help me in creating login action class

Rob Spoor

Joined: Oct 27, 2005
Posts: 20188

Well, what have you tried already?

How To Ask Questions How To Answer Questions
ankit pathariya

Joined: Aug 16, 2011
Posts: 10
I have created one login action class which entends action support but i dont know what to do in execute method for login

Can you please help me..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10768

This forum is for General Java questions. Please do take out time to CarefullyChooseOneForum
Moving to Struts forum

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
I don't understand, if you've done your registration, then haven't you done the hard bit already? The login would follow a very similar structure, but instead of creating a row in your database.table, you are just searching for a matching row.

As I say, isn't the registration harder than login?
I agree. Here's the link:
subject: Login action class using struts 2
It's not a secret anymore!