Forums Register Login

Date Storing in Jsp

+Pie Number of slices to send: Send
Hello,
I am Using Jsp, I want to Store System Date in a variable. when I Assign a variable of either Object Class or String Class.
It gives me an error "Cannot create static reference to non-static value". I want to Ask how to create non-static variables.
and store Date in it.
Please guide me...
Thanks.......
------------------
+Pie Number of slices to send: Send
JavaRanch has a Naming Policy In order to be entered in the drawing for the book giveaway, your name must meet this policy. Please reregister with a correct name.

Could you post the offending code? For some reason I'm not following the problem here.
You got style baby! More than this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 930 times.
Similar Threads
Date Storing in Jsp
Static variables shares the same value across sessions?
Assigning String object to bean class reference variable/jsp:usebean issue
Objects and Constructs.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:42:50.