reset password
Author Message
jhall24
Posts: 9
Posted 15:16 Jan 17, 2016 |

Hey everyone,

I was just wondering what is meant by "stores user information in the global scope" on the second assignment. I ask as I have spent the last hour or so trying to get my user information for the second homework accessible in my second servlet but have had no joy, attempting to use session and request to send the info failed to work out, Any info on what is expected or any resources to check out that might help would be much appreciated as at this point I am almost certain I am missing something very basic.

 

Thanks,

Josh. 

krishsb2405
Posts: 8
Posted 15:41 Jan 17, 2016 |

Basically, user information when user logs in is stored in session scope. So I do not understand your problem exactly but yes there are many ways to store your data. To store user information you can use any of these - 

1)  Session scope

2) Application scope

3) Page scope etc

Try to use session or application.