Problem deploying to WebSphere

2005-01-26 Thread Daniel Kalcevich
I am currently trying to deploy a Struts 1.2.6 to a WSAD 5.0 Server. The application starts up correctly, but it appears the action mapping is not being picked up. I specify the following in the web.xml: action org.apache.struts.action.ActionServlet config

RE: Struts Validator - ValidWhen

2004-10-21 Thread Daniel Kalcevich
issues were fixed in that release. http://struts.apache.org/acquiring.html Niall - Original Message - From: "Daniel Kalcevich" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 2004 8:10 PM Subject: Strut

Struts Validator - ValidWhen

2004-10-20 Thread Daniel Kalcevich
Hello, I have a form that contains two fields: id & lastName. The rule is that if I can only enter in one or the other, not both. I am trying to use the ValidWhen to perform this check. I have code similar to the following:

RE: Uploading files to a database

2004-08-20 Thread Daniel Kalcevich
We use Struts to Upload files and store them as BLOB's in DB2. We have code similar to the following: **FORM** public void setufile(org.apache.struts.upload.FormFile uFile) { this.uFile = uFile; } private org.apache.struts.upload.FormFile getUFile () { return uFile; } **ACTION**

[OT] DisplayTag and Links

2004-05-27 Thread Daniel Kalcevich
I have a display tag snippet on my JSP and it works fine, but when I try to add the link it does not add it. The code looks like this: I am wondering if anyone has gotten links to show up using their display tag? I have the version 1.0-

RE: Struts File-Upload performance issue

2004-05-10 Thread Daniel Kalcevich
There is a package called edtFTPj that allows you to perform FTP actions using java classes. The location is at: http://www.enterprisedt.com/downloads/ftp.html It may or may not help you, but might be worth a shot. Daniel -Original Message- From: Kathy Zhou [mailto:[EMAIL PROTECTED]

RE: Strange Form Behavior

2004-05-05 Thread Daniel Kalcevich
recently and it was caused by having an additional element on his jsp page. I'd start by checking your jsp page. Niall - Original Message - From: "Daniel Kalcevich" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday,

Strange Form Behavior

2004-05-05 Thread Daniel Kalcevich
I have the following actions defined in my struts-config: When I go to /addLender.do the page loads fine, and actually calls the AddLenderAction class. The page that /addLender forwards to is a global forward using a Tile definition. On that page I have a form that is declared

RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
into problems using the name attribute in your form tag. You'd want to go the intended path, which is: ... ... --- Daniel Kalcevich <[EMAIL PROTECTED]> wrote: > It works, but only if I use the name attribute on my tag. I > set it to name="searchForm". Although my first p

RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
ils during the call to /executeSearchResults, Struts will show the resource specified in the input attribute (".search") using the form that failed validation. You don't need to put it in request scope, Struts will already know what to do with it. Try it. --- Daniel Kalcevich <[EM

RE: Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
case of a validation error and allow the user to correct the mistakes. --- Daniel Kalcevich <[EMAIL PROTECTED]> wrote: > Is there a way that I can use "request" scope on an action mapping and > have the submitted form bean be returned in the case of errors? What I > have

Struts Form Beans Question

2004-05-05 Thread Daniel Kalcevich
Is there a way that I can use "request" scope on an action mapping and have the submitted form bean be returned in the case of errors? What I have is a search form that when its submitted, calls the Validator and the Form Beans validate() method. Can I like set the form bean back into the request