retrieving DataSource in struts

2003-08-14 Thread Marco.Mistroni
hi all, i have configured a datasource in struts-config.xml, which is successfully loaded. now my problem is that i want to write a component (which has application-context scope) which wraps the DataSource, so that individual action classes don't have to deal with PreparedStatement

logic:iterate question

2003-07-06 Thread Marco.Mistroni
hi all, i have a Map-backed action Form which contains an HashMap the ActionForm is as follows public MapActionForm extends ActionForm { HashMap table = new HashMap(); public void setValue(String key, String value) { ... } public Object

RE: Struts/Jboss 3.2.x

2003-06-27 Thread Marco.Mistroni
HI, i have also a struts app running under jboss 3.2.1 jars that i have put in WEB-INF\lib are all the jars that u find in the lib directory of your struts distribution don't forget to put all the .tld that u find in the struts_dirlib in your WEB-INF directory of your app regards

Struts, Plugin and JMX

2003-06-20 Thread Marco.Mistroni
hi all, i m experiencing some problems with my plugin and JMX. My application is composed as follow: - struts component - MBean1 that contains servlet initialization properties (from web.xml) - MBean2 that should connect to R3 to retrieve user information. So, MBean1 contains properties

RE: Struts, Plugin and JMX/ Apologies

2003-06-20 Thread Marco.Mistroni
hi guys, sorry...i made huge mistake: i forgot to put proper initializatio parameters.. everything is fine with plugin registering JMX agents... and i even forget to mention that i was running my app onJBoss. sorry guys regards marco

form bean

2003-06-20 Thread Marco.Mistroni
hi all, i have a situation in which i have to display a form which has 'dynamic parameters', meaning that for each request, since i have to retrieve parameters for the entered function from a function repository, i may have different parameters for the form. so, i cannot associate any

RE: form bean

2003-06-20 Thread Marco.Mistroni
Hi, html:text property=values[0]/ html:text property=values[1]/ that is already done. but after i display the parameter, there will be an input text field for entering the value. and those values should go to an action that processes them.. since parameter names are variable, i cannot define a

RE: Re[2]: [OT] Java Trivia

2003-06-12 Thread Marco.Mistroni
hi compiles fine also for me i m using JDK1.3.1_07 br marco -Original Message- From: ext Dirk Markert [mailto:[EMAIL PROTECTED] Sent: 12 June, 2003 17:35 To: Struts Users Mailing List Subject: Re[2]: [OT] Java Trivia Hallo Mark, what is the type of your

RE: need all info. regd Tags in Struts..

2003-06-11 Thread Marco.Mistroni
hi, if u download jboss, u can get tomcat along with it.. br marco -Original Message- From: ext Rajat Nayer [mailto:[EMAIL PROTECTED] Sent: 11 June, 2003 15:23 To: Struts Users Mailing List Subject: RE: need all info. regd Tags in Struts.. Thanks Josh. do i

question about struts

2003-06-06 Thread Marco.Mistroni
hi all, i have been working with JSP model 2 for few years, and now i want to move to struts. i am starting to get acquainted with it, and i need help to face this situation. in my mvc, i am using 2 components, one to connect to R3 and the other for connecting to DB. the lifecycle of

RE: question about struts

2003-06-06 Thread Marco.Mistroni
Hi David, thanx 4 the suggestion...actually i was thinking on either use a plugin or extending action servlete. but i m left out with one issue: where actually do i have to write the code for storing the plugin in the servlet context? struts docs mention 'The PlugIn interface extends

Struts JMX

2003-06-06 Thread Marco.Mistroni
Hi all, i have written an app that uses MBean for management. i need to register them at startup time, so in a way i can use struts plugins. but i would be more interested to know how to extend the struts config file in order to declare the mbean that i use, so that at startup time all