aspose file tools*
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 Java 8 in Action this week in the Java 8 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
I agree. Here's the link:
subject: Static class members in Velocity
Similar Threads
static inner classes
Static variables and methods
A quote from Khalid A. Mughal
can we access a static variable in a non-static method?
Accessing outer class members in a static nested class.