Hello
What is the correct syntax in the struts-config.xml
and the syntax in the Action, to establish/retreive an
default parameter for the default application.  I have
tried:
web.xml
<context-param>
    <param-name>totalSamples</param-name>
    <param-value>3</param-value>
  </context-param>

action
String textNum =totalSamples =
servlet.getInitParameter("totalSamples"); 

What is the correct way?  tia.




                
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to