aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Login action class using struts 2" Watch "Login action class using struts 2" New topic
Author

Login action class using struts 2

ankit pathariya
Greenhorn

Joined: Aug 16, 2011
Posts: 10
Hi
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
Sheriff

Joined: Oct 27, 2005
Posts: 19545
    
  16

Well, what have you tried already?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
ankit pathariya
Greenhorn

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: 9990
    
    7

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: http://aspose.com/file-tools
 
subject: Login action class using struts 2
 
Similar Threads
Session validation
Spring security: pass additional parameter when performing login
Best way to handle session in struts 1.3.8
how to maintain state
Struts 2: how to distinguish multiple submit button call in the action class