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 ?
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
Hi,
I try to execute exemple of Struts 1.1b with the new Jdeveloper 9.028
and i have many error when its compiled jsp pages.
ERROR LIKE THAT:
Error: java.lang.ExceptionInInitializerError:
java.lang.NullPointerException
Error: java.lang.NoClassDefFoundError:
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
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
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
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,
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.
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
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
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:
11 matches
Mail list logo