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 Struts and the fly likes Static class members in Velocity 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 » Frameworks » Struts
Bookmark "Static class members in Velocity" Watch "Static class members in Velocity" New topic

Static class members in Velocity

Kirill Shepitko

Joined: Oct 18, 2004
Posts: 3

Does someone know, how to be able to use static class members in Velocity?
Googled a little, also read intro-article about Velocity in March issue of Javaranch Journal - but didn't find a solution.
It is quite easy to get access to object, but how to get access to class?

P.S. I'm using Struts+Velocity

Let me intoduce myself: I'm a social disease
It is sorta covered in the JavaRanch Style Guide.
subject: Static class members in Velocity
Similar Threads
Accessing outer class members in a static nested class.
static inner classes
A quote from Khalid A. Mughal
can we access a static variable in a non-static method?
Static variables and methods