Re: splitting struts-config into multiple files

2004-02-29 Thread Jim Anderson
struts-forms. xml ... and xdoclet would merge the files for you. On Sat, 2004-02-28 at 13:36 -0700, Manish Singla wrote: May be Ant task can help in your environment. HTH Manish Singla Jim Anderson wrote: We have many apps that require the same global forwards. Rather than copy this info

splitting struts-config into multiple files

2004-02-28 Thread Jim Anderson
We have many apps that require the same global forwards. Rather than copy this info into the config file for each app, we'd like to be able to place it in a struts-config file that lives somewhere on the filesystem outside WEB-INF, and then specify that as one of the config files to use. I

Re: client-side validation not working

2004-02-15 Thread Jim Anderson
Niall, You're absolutely right! Adding the elements you show below did the trick. It never occurred to me to revisit my validation.xml file since server-side validation was working fine. Thanks very, very much! jim On Feb 15, 2004, at 1:33 PM, Niall Pemberton wrote: Actually, I just tried

OT: question about using CVS to download commons-scaffold

2004-02-06 Thread Jim Anderson
I followed the instructions on page http://jakarta.apache.org/commons/sandbox/scaffold/cvs-usage.html, namely: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co jakarta-commons/scaffold and got the following error: cvs

OT: Need help downloading latest commons-sandbox and Struts Contrib from CVS

2004-02-01 Thread Jim Anderson
Sorry, I'm feeling very stupid, but could someone please send me the cvs command(s) needed to download each of these from the Jakarta site? IIn case you haven't guessed, I'm rather new to CVS :-) Thanks very much! A CVS ignoramus...

REPOST: newbie datasource config problems

2004-01-28 Thread Jim Anderson
(The original msg didn't seem to make it to the list.) I'm trying to configure my Struts 1.1 app (Tomcat 4) for MySQL access and getting nothing but grief. Currently, I'm showing the following error in the log file: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource

Re: REPOST: newbie datasource config problems

2004-01-28 Thread Jim Anderson
pool.jar and dbcp.jar from the corresponding commons-projects - http://jakarta.apache.org/commons/pool/ - http://jakarta.apache.org/commons/dbcp/ greetings matthias -Original Message- From: Jim Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 6:14 PM To: Struts Users

Q: html:img question

2004-01-15 Thread Jim Anderson
I'm converting a perl web app to Java/Struts and have run into a couple of problems converting html files. First, I started converting img tags to html:img but discovered that a number of them use the name attribute with javascript to implement mouseover popup menus, e.g. img

need some sample Tiles definitions usage

2003-12-30 Thread Jim Anderson
I've taken the Login example from Struts in Action and converted it, step by step, to use Tiles. I'm at the point where I've created a definition entry in tiles-defs.xml but haven't been able to figure out how to invoke it. Although the book is generally pretty good with examples, it

Is there a way to prevent urls from being entered from the browser?

2003-12-29 Thread Jim Anderson
To clarify: I would like to be able to define ActionForwards for use within the app but which cannot be entered directly into the browser by the user. Is this possible? Thanks. jim - To unsubscribe, e-mail: [EMAIL PROTECTED]

newbie question/problem

2003-12-22 Thread Jim Anderson
I've been trying to modify the logon app from Struts in Action to use the new features in Struts 1.1 but am having a problem I haven't be able to solve. I replaced html:errors/ in Logon.jsp with html:messages id=error bean:write name=error/ /html:messages and get the following error: