Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

how to set global constants cross all of the scripts ?

john lee

2007-08-07

Replies:

inside jsp/struts 1.3, how can i set global constants that i can make change one place, but can make all the corrspondent change cross all the files.
 
for example, if i have script file 1.jsp, 2.jsp ......n.jsp, all the file contains
    <a href="www.test.com">
 
any way i can set it as <a href="@(protected)?
 
tks in advance
 
john

   
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
©2008 junlu.com - Jax Systems, LLC, U.S.A.