update a data base record

2005-09-27 Thread Thibaut Lassalle
hi i'd like to update a record from a table from my data base : for exemple, the object "Client" I used struts 1.0 and now use struts 1.2.6 that why i'm a little bit lost. The action i call is /accessToUpdateClient.do?id=9 In the action i do : public ActionForward execute(ActionMapping mapp

Re: access the DataSource in a plugin object

2005-09-14 Thread Thibaut Lassalle
hi i have the solution DataSource aDataSource = (DataSource) actionServlet.getServletContext().getAttribute("dataBase1"); i found the solution here http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=58&t=001155 Thank you, Thibaut Lassalle Martin Gainty

Re: access the DataSource in a plugin object

2005-09-13 Thread Thibaut Lassalle
name space for the items in each module to protect you from name clashes. HTH, Martin- - Original Message - From: "Thibaut Lassalle" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, September 13, 2005 5:02 AM Subject: access the DataSou

Re: Struts Development Tool

2005-09-13 Thread Thibaut Lassalle
hi Eclipse with the good plugins. http://www.theserverside.com/news/thread.tss?thread_id=35683 R Rajendran a écrit : Hi everyone, Could anyone of you let me know the available Struts Development tools (IDE) for Windows environment. Thanks Raj -

access the DataSource in a plugin object

2005-09-13 Thread Thibaut Lassalle
bc:mysql://192.168.0.25/cvdunet" /> And in my plugin, i call this : DataSource aDataSource = (DataSource) actionServlet.getServletContext().getAttribute (Globals.DATA_SOURCE_KEY); but 'aDataSource' is 'null'. Do you know the rig

can't find equivalence

2005-06-09 Thread Thibaut Lassalle
hi, i have to migrate a struts1.0 application to struts1.2 (for module support) i can't find any equivalent to set a bean. Here is the code i try to migrate : ActionMapping nextMapAction = this.getServlet().findMapping("/createadvertisement"); request.setAttribute(nextMapAction.getAttribute(

Re: access to dataSource configured in struts-config.xml in a Plugin

2005-06-06 Thread Thibaut Lassalle
Ins method which initialises the PlugIns found in the config file Is there a specific plugin you wish to use? Bonne Chance, Martin- - Original Message ----- From: "Thibaut Lassalle" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, June 06, 2005 10

access to dataSource configured in struts-config.xml in a Plugin

2005-06-06 Thread Thibaut Lassalle
hi, i'd like to access to dataSource configured in struts-config.xml in the Plugin init method. But i don't have a clue how to do that. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

access to dataSource configured in struts-config.xml in a Plugin

2005-06-01 Thread Thibaut Lassalle
hi, i'd like to access to dataSource configured in struts-config.xml in the Plugin init method. But i don't have a clue how to do that. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

migration from Struts 1.0 to Struts 1.2

2005-05-27 Thread Thibaut Lassalle
Does anyone have documentation on how to migrate from Struts 1.0 to Struts 1.2 Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]