Help first. Criticize second.
Is there a way without using HttpSession to persist the counter values?
I am always surprised at the added knowledge i can get from others when i give my opinion on a topic.
Help first. Criticize second.
I am always surprised at the added knowledge i can get from others when i give my opinion on a topic.
Help first. Criticize second.
I am always surprised at the added knowledge i can get from others when i give my opinion on a topic.
Paul Ngom wrote:or if you want to use scriptlets:
You don't want to use scriptlets.
2001 called and wants its technology back.
I am always surprised at the added knowledge i can get from others when i give my opinion on a topic.
Are you new here?
I am always surprised at the added knowledge i can get from others when i give my opinion on a topic.
Paul Ngom wrote:I joined the Ranch on May 2014
Bear Bibeault wrote:You don't want to use scriptlets.
2001 called and wants its technology back.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Varun Selva
Varun Selva wrote:
I think, In this case,
You should use instance variable rather than using local.
Bear Bibeault wrote:
Varun Selva wrote:
I think, In this case,
You should use instance variable rather than using local.
NO!
Never, ever, ever, use instance variables in a servlet. Never! It will make the servlet not thread-safe!
(Constants are ok.)
Varun Selva
Help first. Criticize second.
Just because you can get something to work doesn't make it good.
Help first. Criticize second.
Help first. Criticize second.
This map technique is not something that would ever be done in real code where an actual session can be used.
Varun Selva
Help first. Criticize second.
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|