struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>
Subject Reference to static field as parameter value in Struts2
Date Sat, 07 Jul 2012 16:34:59 GMT
Hi,
 Is it possible to have a result as follows:

            <result name="defaultLocaleLoginScreen" type="httpheader">
                <param name="status">301</param>
                <param name="headers.Location">${@
zzz.yyy.xxx.MyClass@MyValue}</param>
        </result>

Where MyValue is a static field of the class MyClass? I haven't been able
to get it to work. Any ideas?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message