Re: getConnection?

2007-08-28 Thread Simone Piva
Sorry for the driver I used copy&paste from an old class I developed, obviously use your driver class COM.ibm.db2.jdbc.app.DB2Driver for registration... On 8/28/07, Simone Piva <[EMAIL PROTECTED]> wrote: > Why are you using direct JDBC accesss instead of ConnectionPool > offere

Re: getConnection?

2007-08-28 Thread Simone Piva
Why are you using direct JDBC accesss instead of ConnectionPool offered by Application Server? However, rewrite your try block like this: try { DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver()); con = DriverManager.getConnection(dbUrl,dbUser,dbPassword); } and

Re: How to change from .do to .whatever in struts 1.2.9 ?

2007-02-22 Thread Simone Piva
In web.xml: action *.do On 2/22/07, Leon Rosenberg <[EMAIL PROTECTED]> wrote: just change the mapping in your web.xml? regards Leon On 2/22/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote: > Hi all, > > How can I change the default extension provided in struts 1.2.9 from .do > t

Re: Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
Yes, it was a css issue, blocking the dimension of select input fields On 2/12/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Simone Piva wrote: > Hi all, > I have a problem while rendering a jsp with a select multiple tag in a > Struts application using tiles. > If I forward d

Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
Hi all, I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles. If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile, t