Re: getInitParameter struts TC5

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Chris Pat <[EMAIL PROTECTED]> wrote: > 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 > >totalSamples >3 > > > action > String te

getInitParameter struts TC5

2005-11-21 Thread Chris Pat
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 totalSamples 3 action String textNum =totalSamples = servlet.getInitParameter("totalSamples"); What i