This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes session in Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "session in Action class" Watch "session in Action class" New topic
Author

session in Action class

Avtomat Kalashnikov
Greenhorn

Joined: Dec 25, 2005
Posts: 9
i EveryBody, I am a newbie to struts.I am devloping a small login application in Struts. I am using VOs, DAOs in this. I want to maintain a session in when ever the user loggedIN. But i am unable to design where to maintain session and how to retrive it for the next jsp pages. Plz reply me with an example.Its toooooo urgent.... Plz dont forget the example ..
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Hello "A K", welcome to Javaranch!

Before we can help you with your struts question, there are 2 things that have to happen:

First, please change your display name from "A K" to something that looks more like "Myfirstname" "Mysecondname". It's a special rule here at the ranch called the naming policy. It's a very important rule, we think you agree, at least you said you did when you registered.

Then, we'll have to move this question over to the struts forum. You'll have much better chances of getting the answer you urgently desire if it's posted in that forum.


Enjoy your time on the ranch!
Pauline
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi Mr. K,

Welcome to JavaRanch!

First, I'd like to point out our policy on display names. Yours doesn't obey the policy -- you have to use a first and last name separated by a space. You can change it here. Thanks for your immediate attention.

Second, this "JavaRanch" forum is for discussing the site www.javaranch.com itself -- the other forums are for discussing Java. In particular, this area is for discussing Struts. I'm going to move this thread there for you -- go on over and find it, and wait for an answer there!


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session in Action class
 
Similar Threads
use hidden parameters?
back button in mozilla
maintain checkbox status in pagination.
How to maintain Session in Swing application using StatefulsessionBean
Struts back button problem after logging out from an application