RE: Return an ActionForward with additional query data?

2002-07-06 Thread Andrew Hill
I find I have a few places in my code that look like this: String path = StaticWebUtils.addParameterToURL(forward.getPath(),uid,12345); forward = new ActionForward(path,true); // Create new ActionForward with appropriate params added to path (the method it uses just determines whether to use ?

Problem with empty file upload field

2002-07-06 Thread Dave Weis
Hello I've got file uploading working fine with Struts 1.1b1. I can upload files with no problem, but I receive an error if I try to submit the form with the file field on it with no file selected. I'm using a normal action form, not a dynamic form. This is the error that I receive: 500

Struts 1.1Beta problem with Jdeveloper 9.028

2002-07-06 Thread Jean-François Brassard
Hi, I try to execute exemple of Struts 1.1b with the new Jdeveloper 9.028 and i have many error when it’s compiled jsp pages. ERROR LIKE THAT: Error: java.lang.ExceptionInInitializerError: java.lang.NullPointerException Error: java.lang.NoClassDefFoundError:

applet-servlet as view component

2002-07-06 Thread Anton Epple
Hello, I'm trying to build a struts-based web-application that uses an applet to display information. I've created an action that retrieves data from a database, when called from an applet: 8-8 action path=/helloWorld name=HelloWorldForm scope=session

Re: Object Relational Bridge is great ? A Basic Problem

2002-07-06 Thread Bryan Field-Elliot
On Fri, 2002-07-05 at 15:50, Adolfo Miguelez wrote: The only way that I have seen to do something similar, is the mini-project SIMPER (Struts resources page), which is able to work out dynabeans (actually they are hashmaps in their guts), following a database schema, for it

html:link and html:img combination

2002-07-06 Thread Ravi Kora
Hi, I have a page where I want to combine my html:link and html:img tags. In regular html, it would be something like this. a href=dummy.htmlimg src=submit.gif /a I want to write the same thing using struts tags.On clicking the image, I want to invoke a JavaScript function.So, I wrote my code

Re: Object Relational Bridge is great ? A Basic Problem

2002-07-06 Thread Adolfo Miguelez
Thanks for your reply Brian, and congratulations for SIMPER. I think is a small project, but handles a very nice idea. Care yourself and rest what you need. Health is the first. :-) As commented, your project offers something that I can not find in largest frameworks (AFAIK), as Castor,

RE: Problem with empty file upload field

2002-07-06 Thread Alex Paransky
I think the solution might be to update to the later version of Struts. I know it's scary with the nightly build and all, but I have been using a later version of struts without any problems. I have a page where a user is able to fill in up to 25 names of files to upload, not all are required.

Re: Problem populating form bean with multiple parameters of same name

2002-07-06 Thread Dave Hodson
I found the post below in the mail archives, but could not find any followups. Anyone have an idea how to get around the issue of how Struts can read multiple text input fields, all with the same name (akin to ServletRequest.getParameterValues(String s) ), and properly populate those same

RE: Return an ActionForward with additional query data?

2002-07-06 Thread Alex Paransky
David, in your example, there is no need to add the userId to the url. Since forward passes the entire request to the page that's being forwarded to, and userId is already part of the request query, your next page will automatically get the user id that was passed into the action. Thus if you

RE: Problem populating form bean with multiple parameters of same name

2002-07-06 Thread James Mitchell
Yes, indexed properties. here's a link to get you started... http://husted.com/struts/resources/indexed-tags.htm James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: