In web.xml ,we have init-param tag in that we will mention param name and param value ,in b/w the tags strings are written and the are accessed thru servletconfig.getparameter,but while using struts in web.xml we have same init param tag and we write name as config and param value as \

Showing Answers 1 - 1 of 1 Answers

Megha Grover

  • Mar 23rd, 2006
 

In web.xml we write,

<init-param>

<param-name>detail</param-name>

<param-value>2</param-value>

</init-param>

At browse u can easily retrieve value

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions