File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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
jQuery in Action, 3rd edition