This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Storing in Jsp

 
Cool Impression
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic