RE: request and context data

2005-11-30 Thread Ramaswamy, Palaniappan
Hi Daniel, If your struts plug-in class implements org.apache.struts.action.PlugIn interface then you can get the ServletContext in the init method like this... public void init (ActionServlet servlet, ModuleConfig moduleconfig) { ServletContext servletContext =

RE: saving a value in jsp?

2005-11-28 Thread Ramaswamy, Palaniappan
Hi hem, Here is an example HTML HEAD SCRIPT LANGUAGE=JavaScript !-- function DropDownMenu(entered) { alert(Entering DropDownMenu); alert(The selected value is + entered.value); alert(The selected index is + entered.selectedIndex); codetext = entered.options[entered.selectedIndex].text;

RE: How to stop struts logging in my web application

2005-11-24 Thread Ramaswamy, Palaniappan
Hi Nitin, For More information on Logging Read this simple tutorial http://logging.apache.org/log4j/docs/manual.html Have a Good Day!!! Best Regards Pal -Original Message- From: nitin mandolkar [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 1:42 PM To: Struts Users

RE: Question about Global Forward

2005-11-23 Thread Ramaswamy, Palaniappan
Hi Richard, It is possible that your application is using the Tiles. In that case follow the steps given below to find out the mapping between page.common.Exception and your exception jsp. 1) Find for struts-config.xml file in the application 2) Look whether the following tag is present in the

RE: Problem: bean:define...

2005-11-22 Thread Ramaswamy, Palaniappan
Hi Eider Try /bean:define id=cmax name=adminFormBean property=Cmax type=java.lang.Integer/ the property=Cmax should be property=cmax. Struts is case sensitive. If the method in the bean is setCmax then the property should be accessed as cmax in any of the struts tag. Have a Good Day!!! Best