LookupDispatchAction qustion: how to name the method

2004-08-08 Thread lixin chu
Hi, Still strugling with the LookupDispatchAction. I got this error message: javax.servlet.ServletException: Action[/admin/OrgAction] missing resource 'button.list' in key method map . I suspect that there is something wrong with the string I used. Here is what I aming doing: 1.

I suspect this is a bad idea...so what's a better one?

2004-08-08 Thread Joe Hertz
I got tired of, in all my action classes, beginning with something to get a database connection and at the end destroy it. I want to automate this a bit. Here is a first shot at what I came with: In my subclass of whatever flavor of Action I'm using, a have a protected variable which holds my

File upload problem

2004-08-08 Thread Erik Weber
A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. I am trying to convert it to a Struts Action class. Converting the Servlet's doPost method to work in the Action class has not been a problem. The problem is with the source JSP. If I use

Re: I suspect this is a bad idea...so what's a better one?

2004-08-08 Thread Craig McClanahan
On Sun, 8 Aug 2004 03:23:35 -0400, Joe Hertz [EMAIL PROTECTED] wrote: [snip] Now, I can only count on this working if, and only if, the Action class itself got instantiated for the purpose of processing the request, and destroyed afterward (otherwise the protected variable is going to get

Re: File upload problem

2004-08-08 Thread Axel Stahlhut
Craig McClanahan wrote: On Sun, 08 Aug 2004 06:37:33 -0400, Erik Weber [EMAIL PROTECTED] wrote: A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. Is there a particular reason that you're not using the standard Struts support for file upload

Re: File upload problem

2004-08-08 Thread Erik Weber
Well the idea was to save time, since the upload Servlet already was working. I think I see the connection now -- it seems that FormFile is where the Commons implementation is lurking, whereas the Servlet works directly with FileItem objects. It is tough to make the connection to Commons

varying form element types using struts

2004-08-08 Thread Victor Grazi
I am creating a Struts form with some dynamically populated drop down lists. There is a general requirement that any drop down that contains just a single element should display as free html text instead of as a drop down. Is there any way to specify this type of variation using struts?

Trying to highlate error causing fields

2004-08-08 Thread joe a.
I'm trying to use #3 on this page: http://www.niallp.pwp.blueyonder.co.uk/. It is a tag library that I'm trying to use with my struts web app. But I have no clue how to use the class file he provided. I don't know where to put it at compile time, and it has a different package name than my current

ot: testing a forum - join?

2004-08-08 Thread Vic Cekvenich
I am testing a forum, that should be for advanced developers and people interested in operating RiA/SoA. If you want to help or are interested, please join baseBeans.com forum. I will be keeping it up to date on RiA/SoA. .V -

[ANN] Providers 0.5 Released

2004-08-08 Thread Guillermo Meyer
We have released the version 0.5 of Providers. Providers is a Struts extension that allows you to manipulate select options easily. This new version comes with some enhancements in ComboSelectTag (a tag to create dependant drop down lists) allowing you to set in each select a provider (in the

Re: Struts, checkbox and optionally displaytag

2004-08-08 Thread Koon Yue Lam
Hi ! From your question, I guess that you need a multiple of checkboxes, so you need html:multibox instead of html:checkbox for your reference: http://struts.apache.org/userGuide/struts-html.html#multibox and a wonderful example: http://j2ee.lagnada.com/struts/multibox-example1.htm you would

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-08 Thread tiwari.rajeev
Could you please check web.xml file, specifically if any hardcoded path is defined over there. - regards Raj (+91-11-31261821) -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 9:53 PM To: Struts Users Mailing List Subject: FW: null

Re: Module and pages Behind WEB-INF don't work...???

2004-08-08 Thread puneet . a
Thanks for the help..yes it works that way...!!! Puneet Agarwal Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Jurn Ho [EMAIL PROTECTED] 07/29/2004 07:06 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To Struts Users Mailing List