This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Newbie to JSP, multiple user login problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Newbie to JSP, multiple user login problem" Watch "Newbie to JSP, multiple user login problem" New topic
Author

Newbie to JSP, multiple user login problem

Mel Cen
Greenhorn

Joined: Apr 23, 2011
Posts: 7
hi,

i am very new to JSP.

just want to ask, if there's multiple users login into a JSP websites, what's the best way to manage their variables, sessions via browser or classes via server side ?

.

I am new to struts.

What's the recommended way to build system menu using struts?

how do i include parameters from the parent page to the next child page using this
for example this
<Start:link forward="schedule">Master Setup</Start:link>



William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
what's the best way to manage their variables, sessions via browser or classes via server side ?


Sessions are maintained on the server side - the browser side is responsible only for tracking the cookie that provides session identification.

The session mechanism is provided so you can keep the data for multiple users separated easily.

Bill
Mel Cen
Greenhorn

Joined: Apr 23, 2011
Posts: 7
how about struts ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

What about it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mel Cen
Greenhorn

Joined: Apr 23, 2011
Posts: 7
What's the recommended way to build system menu using struts?

how do i include parameters from the parent page to the next child page using this
for example this
<td> <Start:link forward="schedule">Master Setup</Start:link></td>
<td> <Start:link forward="schedule">Home</Start:link></td>
<td> <Start:link forward="test1">1</Start:link></td>
<td> <Start:link forward="test"2>2</Start:link></td>


the forward only forwards to a diff page,
but how do i include parameters from parent jsp to diff jsp ?

using beans ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie to JSP, multiple user login problem
 
Similar Threads
html:select html:options error, no getter. please help
JSP Page with multiple users
struts concerns...??!!!
Please help me
web.xml configuration question