This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Date Storing in Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Date Storing in Jsp" Watch "Date Storing in Jsp" New topic
Author

Date Storing in Jsp

Cool Impression
Greenhorn

Joined: Jun 26, 2001
Posts: 18
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.......
------------------
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
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.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date Storing in Jsp
 
Similar Threads
Assigning String object to bean class reference variable/jsp:usebean issue
Static variables shares the same value across sessions?
Date Storing in Jsp
Objects and Constructs.