Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!

Swastik Dey

Bartender
+ Follow
since Jan 08, 2009
Swastik likes ...
Android Java ME Eclipse IDE Java
Kolkata, West Bengal, India
Cows and Likes
Cows
Total received
20
In last 30 days
0
Total given
0
Likes
Total received
154
Received in last 30 days
0
Total given
22
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Swastik Dey

So can you post your code and show us what you have done so far?
7 months ago
Fair enough.  But where are you displaying the output?  Is this AWT/Swing based program, is this a web application?  You can't display any formatted text in console.
7 months ago
No you can't.  Its a String and String class doesn't have any such property.  What is your exact requirement?
7 months ago


What does this return?
9 months ago
9 months ago


Try to access this page without logging in or from a different browser after logging in.  

In the above line we are retrieving the userinfo from session.  If the value is not null we show the page.  It will be not null only when the user comes to this page after logging in because there only you are setting the user info in session, if the url is opened from any different browser instance it will be null.
10 months ago
The above line is setting the value in session.  Where ever you want to validate, you have to retrieve it from session.

10 months ago
10 months ago
When the user logs in put the user info in session attribute.  When any request comes validate against that.
10 months ago
Does session tracking help in this?
10 months ago
What is happening now?  Are you getting desired output?
Because the index stars from 0.
10 months ago


should be

10 months ago
JSP
You need to create the mapping inside web.xml

10 months ago
JSP