Struts Section Index | Page 7
Can I have multiple form beans per action class? If YES how would the struts config file look like?
Multiple form beans per Action class
Can I have multiple form beans per action class? If YES how would the struts config file look like?
How should multiple button support be handled in Struts? Each button gets submitted with different text, but in order to separate the view from the controller that text should not appear in the Action. I'm curious how others have dealt with this situation.
Multiple button support
How should multiple button support be handled in Struts? Each button gets submitted with different text, but in order to separate the view from the controller that text sho...more
Should we be chaining action servlets?
Should we be chaining action servlets?
We're putting together a series of screens where we would say... logon (to main menu), list parties (to list result screen), then add party (to party detail s...more
Struts post-1.0 and Tomcat 3.2.x My post-1.0 version of Struts crashes on tomcat 3.2.x. What can I do about this?
Put xerces.jar in your TOMCAT_HOME/lib directory, and rename the files parser.jar and jaxp.jar in that same directory to zparser.jar and zjaxp.jar, respectively.
ActionErrors,ActionError about display the error message. In the strut example, we should new ActionError("error.password.mismatch")
ActionErrors,ActionError
about display the error message.
In the strut example, we should
new ActionError("error.password.mismatch")
"error.password.mismatch" define in the config file, if the p...more
Can we access members of an array like <form:select property="array[i]"> in a for loop... It works if I use constants but not expressions.. property="array[0]" is fine but not array[i] or array[<%=i>] for the property attribute of form:select. Any clues???
Indexed Properties
Can we access members of an array like <form:select property="array[i]"> in a for loop... It works if I use constants but not expressions.. property="array[0]" is fine bu...more
Has anyone had luck using radio buttons?
The idea behind a radio button is that you have a String field that has one of a fixed set of values, and you want to render one radio button for each of them.
Let's assume that your bean property...more
Form validation errors in different frame? Possible?
Form validation errors in different frame? Possible?
I'm writing my first Struts application and want to use one frame
containing the input form and another frame to display the results.
If I use ...more
Page caching by overriding the getOutputStream() and getWriter() methods.
Page caching by overriding the getOutputStream() and getWriter() methods.
Reading this( see second answer) I wonder how I can do this in struts. I want to save the response to my own stream so I ca...more
War file and directories structure for struts applications Could someone give me a sample structure of a simple application (2 or 3 jsp, 2 or 3 Action classes ...)
war file and directories structure for struts applications
Could someone give me a sample structure
of a simple application (2 or 3 jsp, 2 or 3
Action classes ...) including:
the appropriate direc...more
Can I use precompiled JSPs with Struts?
There is nothing about Struts that would care about precompiled versus not precompiled JSP pages, but the details of how
you set them up depends on the servlet container you are using. With Tomca...more
Can Struts be used in a commercial product?
Yes. The only requirements you must meet are those listed in the Apache Software Foundation license, which is included at
the top of each source file and in the file LICENSE in the top-level direc...more
How can I contribute to the development of Struts?
Struts is distributed by the Apache Software Foundation. These are the same people who
distribute the Apache Web server. Like all ASF projects, Struts is managed as a "meritocracy", wher...more
Is there a large degree of XML in Struts? Can you swap a stylesheet and switch form HTML to WML?
The Struts form tags are very much HTML oriented, because they only know how to generate HTML-style forms. One of the major
focuses of 1.1 will be better integration with XML in many directions, i...more
What's the difference between Jakarta Struts and Jakarta Turbine?
See:
< http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03206.html
>
< http://www.mail-archive.com/general@jakarta.apache.org/msg00495.html
>
< http://jakarta...more