File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 12835
    
    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: 61764
    
  67

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