http://www.macromedia.com/devnet/flex/articles/struts.html
Is this for real? YES!
Point of Struts is MVC, so some people do JSP, Velocity... other do
Hibrenate or iBatis... one thing remains.
(note how they did not support Spring, or WebWork or XYZ).
Flex is XML like, used to be Royale ( and
HI All,
I found a way to get it working.
%org.apache.struts.util.RequestUtils.selectModule(,request,applicatio
n);%
html:form action=/Layout.do
I have to do this for every html:form item.
This works, but it is ugly. It's even worse since this method is
deprecated in struts1.2.
I'm suspecting
is there a sample Flash Flex w/ Strut application on the web?
currious what a RIA looks like...
Regards,
Daniel
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Wednesday, 17 December, 2003 3:07 PM
To: [EMAIL PROTECTED]
Subject: Flash Flex w/
I usually show the Flash PetStore, but there are dozens of Flash Data
Entery applications out there.
I am a MacroMedia parter, and I could get you more links, but check out
the Flash PetStore first (from http://blueprints.macromedia.com ) and
then if you want more, let me know.
(the only VERY
Dear friends,
I am substituting the normal HTML image tag
img src=%=contextPath%/images/cal.gif
onClick=popUpCalendar(this, ParameterEditForm.endDate,
'dd-mmm-',46,735)
with the shown below but is not getting recognised, can somebody guide me
out how to use it, I am new to
Hi Joe,
thank you for your usefull hint. Now it flies :) Of
course I was quite close. I even tried out different
addSetNext methods. Following your hint I knew I had
to change something else. But I missed to add a
corresponding add-method to my ActionMapping
sub-class.
Once again: thank you for
Hi,
we try to concat more than two conditions with requiredIf.
Something like (selectionOne==1 || selectionOne==2) value ==2
The problem is that it is not clear how the validator evaluates the
expression.
Does anyone having experiences with that.
TIA,
Markus
Struts already appends the context path.
html:img src=./images/cal.gif
onClick=popUpCalendar(this, ParameterEditForm.endDate,
'dd-mmm-',46,735) /
...should be enough
-Yves-
-Original Message-
From: Amit Kumar Sharma [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:33
You cannot have two properties with the same name in a form.
Try:
html:hidden property=creator_1/
input type=text name=creator vlaue=bean:write name=beanName
property=creator_1/ size=82 maxlength=25 tabindex=1/
cheers
Koni
Caroline Jen wrote:
My JSP #2 receives a hidden field passed from JSP
Hi
Further to my other mail I have tracked the source of my problem here
org.apache.commons.beanutils.PropertyUtils#setSimpleProperty
The problem is that when you submit a form, with a file element and the user has left
the file
elemet blank, it crashes The altered code below from line
Hello all,
I am making use of BasicDataSource class to get connections .The code which
I write to get a connection is as follows :
basicDataSource = new BasicDataSource();
basicDataSource.setDefaultAutoCommit(autoCommit);
Did you remember to make it a multipart form???
(And use input type=file in the page?)
-Original Message-
From: Ben Janes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 December 2003 17:28
To: [EMAIL PROTECTED]
Subject: BUG!!! FormFile
Hi
Further to my other mail I have tracked the
Yes,
as it works perfecrtly as long as someone enters a file in the html input field
Benjamin A. Janes
BLUEWAVE SVERIGE
M. +46 (0)40-631 1068
F. +46 (0)40 -631 10 50
F. +46 (0)46-540 03 50
Drottninggatan 18,
S-211 49 Malmö,
Sweden
Hmmm. Strange.
I dont get that problem in my apps.
What struts version are you using?
-Original Message-
From: Ben Janes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 December 2003 17:41
To: Struts Users Mailing List
Subject: RE: BUG!!! FormFile
Yes,
as it works perfecrtly as long as
Hello to all,
In Struts-1.1 it is possible to bind Actions to static URL path,
but is it possible to bind Actions to the set of the paths,
described by Java regular expression?
For example:
action-mappings
action path=/users/.*
type=com.mysite.UserPageAction
can the validator plugin be used for the following.
I have a delete button which deletes a user. Prior to the delete i want to show a
warning : 'are you sure you want to delete? '
I can do it whith a javascript but can it be done using the validator as well ?
Thanks !
Struts 1.1
Do you want more code, such as JSP / ActionForm etc
Mvh
Benjamin A. Janes
BLUEWAVE SVERIGE
M. +46 (0)40-631 1068
F. +46 (0)40 -631 10 50
F. +46 (0)46-540 03 50
Drottninggatan 18,
S-211 49 Malmö,
Sweden
Read the article ;)
http://blueprints.macromedia.com/PetMarket/flashstore.html
Doesn't look to bad ...
Oliver
-Ursprüngliche Nachricht-
Von: Daniel Joshua [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. Dezember 2003 09:11
An: 'Struts Users Mailing List'
Betreff: RE: Flash Flex w/
Your statement is OK. It comes from the surrounding quote.
The only idea I have is to check double-quotes correctly.
Fred
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: mercredi 17 décembre 2003 07:41
To: [EMAIL PROTECTED]
Subject: Please Help With This Error
maybe you don't have a space character between creator and scope... try to
write the tag in one line, not multiple lines.
F.
- Original Message -
From: fredatwork [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 8:53 AM
Subject: RE:
There are a couple (3) ways to do it.
1. Have both JSP#1 and 2 use the same form then have the action that
processes JSP#1 simply
forward to JSP#2 and Struts will auto-populate the field.
2. Have the action that processes JSP#1 forward or redirect to
JSP#2 whose form has the same property
No friends for me on this list ! :(
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:12 PM
To: Struts Users Mailing List
Subject: BasicDataSource class of package org.apache.commons.dbcp
Hello all,
I am making use of BasicDataSource
Hi,
I used a connection pool via JNDI,, the only issue was that it was possible for the
system to check
out the same connection once, and if you return one, (close) then it closes for them
all.. I wrote a
little item that added the hashcode to an arraylist, removeing it when then code
Hi,
I am new to struts..
I understand that the validate method of the Action form can be called
based on the validate
attribute in struts_config.xml.
Similarly, for the reset method, can we configure in the xml file.
Regards
VasudevRaoGupta
Confidentiality Notice
The information contained
No, the reset method will automatically be called on a Session scoped
ActionForm upon each request. Request scoped ActionForms are newly
instantiated upon each request so, with Request scoped ActionForms, the
reset method is irrelevant.
-Jonathan
-Original Message-
From: vasudevrao gupta
hello jitesh,
why do u need to bother about BasicDataSource code if u r running it on any server
just configure the configuration files and use JNDI lookup to get the connection and
your close() on Connection object returns the con obj to pool
regards
srinivas
Jitesh Sinha [EMAIL
Hi ,
I have a screen with number of records and each record has an associated
check-box.
User clicks on single/multiple checkboxes to select the records and
clicks on delete button(same as in Yahoo mail).
I have an associated action form to this screen with one of the
attributes of String[]
Seems like you do not have DTD configured localy and the server is
tryiing to access DTD from web server. See beginning of validation.xml
file and look for DTD definition...
Milon
[EMAIL PROTECTED] wrote:
All,
The validation doesn't seem to work.Checking the Server logs displays the
Any Form Bean which extends ActionForm can override the reset() method
http://www.fawcette.com/javapro/2002_07/online/kjones/default_pf.aspx
Is there something in particular you wish to accomplish?
Martin
- Original Message -
From: Fullam, Jonathan [EMAIL PROTECTED]
To: 'Struts Users
Hi,
Both 'Struts in Action' and 'Programming Jakarta Struts' state that
ActionForms and DynaActionForms are nearly equivalent and the main advantage
of using DynaActionForms is that you don't have to declare all the getters
and setters.
In DynaAction Forms each property can be of a (array of a)
Thanks Chekuri and Ben for your replies...meanwhile I have done some
research on BasicDataSource
and found a few things..will post once I am totally sure about that...
-Original Message-
From: chekuri raju [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 7:49 PM
To: Struts
Hi,
I have written a small application based on struts.
there is one jsp page from which i am submitting some data.
this is the code inthe jsp file
html:form action=Lookup
table width=45% border=0
tr
tdSymbol:/td
tdhtml:text property=symbol //td
/tr
tr
Hey all,
I just learned about the new tag files in the JSP 2.0 spec by playing around
with the tomcat 5 examples. I'm wondering since these tag files seem so
easy to create, could they be used as another templating mechanism similar
to tiles? Does anyone see any reason why you would want to use
DynaActionForms as cool as they are are more trouble than they're worth
unless its a small simple form. For one thing you don't find out what's
wrong until runtime.
I just use strings for dynaaction forms as it works, the problems our
in part caused (i think) by the conversions done by
To address the fundemental question, it is considered a best practice
to only use String or Boolean objects or collections of String and/or
Boolean objects or collection of
data structures which contain String and/or Boolean objects in your forms.
This is because it gives you
more control over
No one's suggesting that anyone hangs them selves or that struts isn't
good. But the fact that this list sees a high influx of newbies,
getting battered with high-brow design concepts which while are very
interesting have a certain chocolate fire guard quality to them .
Easiest thing is to
Mark,
Perhaps I am getting old, but the meaning of your metaphors went over my
head. On the other hand, this is an international audience.
What is a chocolate fire guard?
Do you believe it is harder or easier to use DynaActionForms instead of
Strings?
Is taking the piss a bit
Hi Ed
On 17 Dec 2003, at 15:49, Ed Dowgiallo wrote:
Mark,
Perhaps I am getting old, but the meaning of your metaphors went
over my
head. On the other hand, this is an international audience.
What is a chocolate fire guard?
a fire guard is like a shield one places in front of a fire
Hi all,
I am experiencing problems with DynaActionForm..
I have a DynaActionForm that contains 13 properties and
A DispatchAction used calling different methods depending
On the value of one parameter (named methodToCall).
Now, when I enter the page for the first time the only request
Hi Ed
I've checked my spellings this time.
On 17 Dec 2003, at 15:49, Ed Dowgiallo wrote:
Mark,
Perhaps I am getting old, but the meaning of your metaphors went
over my
head. On the other hand, this is an international audience.
What is a chocolate fire guard?
A fire guard is like a
I have the same problem but ONLY with Opera 7.2x
I'm using Struts 1.1 and with Opera 7.1 everything
worked fine. The formFile field could be left blank.
When I upgraded to 7.2 it began to throw a argument
type mismatch when the formFile field was left blank.
Could this be the source of your
Wouldn't it need to be
html-el:img page=/images/cal.gif
onClick=popUpCalendar(this,
ParameterEditForm.endDate,
'dd-mmm-',46,735) /
as using src won't append the context?
-Dan
-Original Message-
From: Yves Sy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 2:55 AM
To:
Hi Marco
Perhaps try a none strust form element
input type=hidden name=methodToCall value=foo
rather than
html:hidden property=methodToCall value=foo /
also if possible in your situation
html:form action=/myaction.do?methodToCall=foo
Cheers Mark
On 17 Dec 2003, at 16:10, Marco Mistroni
Hi Mark,
Thanx.. but this
A href=/myaction.do?methodToCall=foo../a
is exactly what I am doing..
I am assuming that If validator is trying to validate all the
Parameters I have no other choice than redirect straight to the
Jsp...
Thanx anyway and regards
marco
On 17
Hi all,
After struggling with my application, I have
One question to ask.
I have a DispatchAction class that handles my logic, and
A DynaActionForm associated with it.
The problem is that the jsp from which the request comes can
Contain either 1, 2 parameters (out of 13 of DynaActionForm)
Thank you for the translation. ;-)
Ed
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 11:11 AM
Subject: Re: Newbie: java.lang.boolean and DynaActionForm?
Hi Ed
I've checked my spellings this
Hi marco
well i think the problem your having is because you're using a dispatch
action
so the form is mapped to the action and its set to validate. You can
either separte yu dispatch actions into standard actions or hack it by
having a single action that calls your dispatch action much like
Excellent I will give that a try. What I was hoping to do was maintain one
JDNI location for my database, but I will definitly try this out.
Thanks!
-David
- Original Message -
From: David Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December
well i think the problem your having is because you're using
a dispatch action
so the form is mapped to the action and its set to validate. You can
either separte yu dispatch actions into standard actions or
hack it by having a single action that calls your dispatch action much
like you
Hi Wendy,
Only a little problem.. I haven't written any class for my
DynaActionForm. Instead, I declare all the properties in the
struts-config.xml
Struts does all the rest
But, anyway, can u give more details on ur solution to my problem?
Regards
marco
-Original
Howdy,
I've got a strange problem with character encoding German characters.
I'm using iso-8859-1. The app is running on JDK 1.4.2, Jboss 3.2 w/
Tomcat and using Struts 1.1.
The application works fine on local Windows machine and on a Red Hat
system.
However, when moved to a Debian system it
Hello everyone -- this is my first post. I'm hoping you can help with a
problem. I've seen bits and pieces of this question asked, but not
entirely...
Here's my problem:
When the user enters data into a 'enter search parameters' form and
validation fails, I don't want the URL to proceed to the
Vic Cekvenich wrote:
http://www.macromedia.com/devnet/flex/articles/struts.html
Is this for real? YES!
Point of Struts is MVC, so some people do JSP, Velocity... other do
Hibrenate or iBatis... one thing remains.
(note how they did not support Spring, or WebWork or XYZ).
Flex is XML like,
Marco wrote:
Only a little problem.. I haven't written any class for my
DynaActionForm. Instead, I declare all the properties in the
struts-config.xml
That does not preclude you from writing a class-- Dyna forms just get
you out of writing a bunch of get/set methods. You can still
Hello,
I am working on a fairly complex application and I am running into a struts
internal error. Can anyone tell me how to sort it please.
Here is the exception trace:
***
HTTP Status 500 -
I did the following to get around the drawback with RequestProcessor that
you pointed out:
1) keep the ActionErrors as a request attribute
2) set the validate parameter to false for the ActionMapping
3) add code like the following to the search action itself:
errs = form.validate();
if
BaTien Duong wrote:
Yes. This is what I am looking at Struts 2 of request/response framework
(struts-chain): in the article example of registration service, we will
probably have something like this:
Registration request - RequestProcessor - RegistrationService -
RegistrationAction - blah
For those who are using commons-logging (i.e all Struts users!) on
WebSphere 4.0 or greater, you need to be aware that WebSphere comes with its
own implementation of a commons-logging Log. Not only that, but it comes
with its own implementation of LogFactory... and a
If you have components used everywhere for every module, create some new and
separate struts-config.xml and tiles-defs.xml files. You can specify
multiples of each type of file for each module, so each module is free to
reference a shared config file.
To reference more than one
Hi,
I have an abstract base Action class which calls an abstract method called
executeAction. All my Actions implement the executeAction method.
//Snip from BaseAction class
public ActionForward execute(ActionMapping mapping,ActionForm
form,HttpServletRequest request,HttpServletResponse
Hi I am using Struts with Hibernate in a webapplication.. we are using forms
etc. The problem I am currently trying to decide how to handle is thus:
Assume user 1 loads up an object in a form and is modifying it.
Assume user 2 loads up the same object in a form and is also modifying it.
User 1
Environment:
OS: Windows XP
App Server: BEA Weblogic 8.1
MVC: Struts 1.1
IDE: JBuilder 7 Enterprise
JSP File: See attachment
Error:
Dec 17, 2003 9:34:42 AM MST Error HTTP BEA-101020
[ServletContext(id=28941,name=hipaax,context-path=/hipaax)] Servlet failed with
Exception
Hi,
Make a file called commons-logging.properties and add this line:
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFacto
ry
Put the file in your classpath
Ovidiu
- Original Message -
From: Hibbs, David [EMAIL PROTECTED]
To: Struts-Users (E-mail) [EMAIL
hi,
i am using Oracle 9i as my datasource and have declared it in my struts-config as
follows:
data-source key=DB type=oracle.jdbc.pool.OracleConnectionPoolDataSource
set-property property=autoCommit value=false/
set-property property=description value=DB_Connection_Pool/
Hi All:
In IE when user hits back button then I want to
forward user to my main page. I want to do this in reset method of the form.
How can I
1)
forward using request object to forward to main page.
2)
Or redirect to main page
Note: At this time I am not executing action class.
You can get the root cause of an internal exception by looking about half
way down the stack trace. In your case it is:
root cause
java.lang.IllegalAccessError: tried to access class
org.apache.commons.beanutils.MappedPropertyDescriptor$1 from class
Does anyone have an idea of how i can generate .java file from xml file? Tools like
jakrata digester, JOX are there but both of them are useful in populating java beans
from xml. My requirement is to generate .java file from .xml with getters and setters
methods for xml elements/attributes. I
I avoid timestamps.
Just make your where class = to the selct cluase.
In case any colum is changed, it fails.
(if you really need this)
.V
David Erickson wrote:
Hi I am using Struts with Hibernate in a webapplication.. we are using forms
etc. The problem I am currently trying to decide how to
Thank you Jonathan,
I figured this out myself but I don't know how to sort it out... Can you
help?
Julien.
- Original Message -
From: Fullam, Jonathan [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 7:58 PM
Subject: RE: Struts
Have you looked at XML beans:
http://xml.apache.org/xmlbeans/
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 2:01 PM
To: [EMAIL PROTECTED]
Subject: Generate Java class from xml?
Does anyone have an idea of how i can generate .java file
Castor (http://www.castor.org) which generate the java classes with marshall
and unmarshall methods, but it is not finished, doesn't care to namespaces,
owns severals bugs ...
The second one is Xml Spy 5.0, it generate classes from an xsd file which
wrap on the Dom Tree, but all facets are not
This is an age old questions. There are various javascript 'hacks' around. I
suggest google the following: javascript back button
the problem is that when you click on back button no server request is made,
the catched page froom history.back() (i think that is the method) is
displayed. So
There's also XMLBeans (http://xml.apache.org/xmlbeans/) , which, unlike
Castor, works with JDK 1.4...
Martin Gainty wrote:
Castor (http://www.castor.org) which generate the java classes with marshall
and unmarshall methods, but it is not finished, doesn't care to namespaces,
owns severals bugs
Hello,
I am using Struts 1.2 (nightly build as of 17 Dec 2003) and am trying out using the
tiles-el. When I replace my tiles taglib with tiles-el, I am getting this error
/WEB-INF/tiles/layout/main_layout.jsp(4): Error in using tag library
uri='/WEB-INF/taglib/struts-tiles-el.tld'
Does anyone know a good reference on how to use checkboxes with
session-scoped DynaActionForms? The problem I am running into is that when
the form bean is session scoped, the checkbox sticks to always being
checked even if the user unchecks the checkbox. This makes some sense to
me, because I
A wild guess in your jsp are you declaring any Properties such as
private Properties elementMap = null;
In that case you want to make sure you have mutators (set) and
accessors(get) methods set up for elementMap declared in your form
Would be helpful to look at the entire jsp
-Martin
Message
I am trying to use bean:message for internationalization within the html:submit
button like this :
html:submit property=physicianSubmit value=bean:message
key='csc.button.submit'//
There is a key-value pair in the resource bundle.
But it seems to display the following error : Attribute
If your fields are currently Strings, just put
field = new String[0];
in your reset() method. You don't need to change it to a [Bb]oolean.
This advice should work for any type.
B
-Original Message-
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 12:48
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
Also, It looks like I am going to have to subclass
DynaActionForm or DynaValidatorForm so that I can reset the
checkboxes in the reset() method of the form bean.
That seems like quite a pain (kind of
defeats the purpose of Dyna forms, doesn't
you can't specifiy a tag as the value of an attribute in another tag. There
are a few different ways you could solve this problem. Here's one using
jstl and struts-el:
c:set var=messy
bean:message key='csc.button.submit'/
/c:set
html-el:submit property=physicianSubmit value=${messy}/
From:
Hello, I have been using struts for awhile, but after I started a new project last
week, I began having a problem with it.
It seems like struts cannot find the getter methods in my beans. For instance, when I
try the following jsp page:
html:html
logic:iterate id=statLine name=playerDisplay
Sorry for resending this, I forgot to put a descriptive subject:
Hello, I have been using struts for awhile, but after I started a new project last
week, I began having a problem with it.
It seems like struts cannot find the getter methods in my beans. For instance, when I
try the following
Did you include the Struts bean tag-lib directive?
In other words if you view source, do you see
bean:write name=statLine property=lineDate/
?
robert
-Original Message-
From: Shaun Roach [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:13 PM
To: [EMAIL PROTECTED]
Yes, I have these taglib directives at the top of both those pages:
%@ page language=java %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
%@ taglib uri=/WEB-INF/struts-nested.tld
No, I don't believe this is possible currently. Wildcards of any kind
(extending to regexps) are not support for ActionMapping paths.
Sergey Proskurnya wrote:
Hello to all,
In Struts-1.1 it is possible to bind Actions to static URL path,
but is it possible to bind Actions to the set of the
I noticed in the documentation that ActionError is deprecated, so I was trying to be a
good doobie and use ActionMessage like the docs say to. So in my code, when I go from
this:
errors.add( ActionErrors.GLOBAL_ERROR, new ActionMessage( error.password.mismatch ));
to this:
errors.add(
Yeah, it doesn't help because there is a commons-logging.properties file in
the WAS classpath already! As long as you have the classloader mode set to
parent first, it will find the IBM version first and, thus, use the IBM log.
Good thought, though, and I did neglect to mention that creating
I use Digester which is used by Struts itself.
http://jakarta.apache.org/commons/digester/
http://www.google.com/search?q=jakarta+digester
http://www.javaranch.com/newsletter/August2003/TouringTheCommonsPart2.html
--- John Smart [EMAIL PROTECTED] wrote:
There's also XMLBeans
I have done this. Hibernate supports versioning (using a version number
column), if you use this Hibernate can make sure the changes are not
overwritten.
The basic process is:
1. Hibernate session A loads object A1 (with identifier 1234)
2. Hibernate session B loads object B1 (also with
I have done this. Hibernate supports versioning (using a version number
column), if you use this Hibernate can make sure the changes are not
overwritten.
The basic process is:
1. Hibernate session A loads object A1 (with identifier 1234)
2. Hibernate session B loads object B1 (also with
Well to answer my own question: The source of the problem was found. A
compression filter (gzipping the response) seems to have been the
culprit.
-Original Message-
From: Seyed Razavi [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 17:37
To: [EMAIL PROTECTED]
Subject: Character
With versioning hibernate increments the version number each time. I
believe this is prefrered to the timestamp method, but I think hibernate
supports both.
(off the top of my head) I have a struts form which holds the fields etc
plus the object I loaded from Hibernate. I use DispatchLookUp
Gus Heck wrote:
Interesting, I'm not sure I agree, but the patch that he complains about
not being added sounds useful...
A lot of people have requested a history stack, and have also
implemented it in their own applications. But I think we need to solve
it in the larger context of a general
I'm running Tomcat 406 on Redhat9
I have a working Struts app
I've added a second servlet to web.xml, specifying load-on-startup 2
(where 1 is Action servlet
The second servlet is ignored (or at least it doesn't produce anything
in the logs) - the log shows the parsing of the web.xml going
Wendy Barrett - Thanks for your help! Both of your answers helped me fix
the problem I was having with checkboxes and session-scoped DynaActionForms.
Wendy - I feel like the reset method of the DynaActionForm should be able to
automatically take care of checkboxes, perhaps with a little extra
I think there is a common misconception that if you use DynaActionForms you
don't need to write an ActionForm AT ALL. While this is true, you may also
subclass the DynaForm and provide a similar level of functionality as a
normal form.
Kmart Tech News
news://uskihsvtfinsys
The essence of
Barett,
1) keep the ActionErrors as a request attribute
2) set the validate parameter to false for the ActionMapping
3) add code like the following to the search action itself:
errs = form.validate();
if (!errs.isEmpty()) {
saveErrors(errs);
return mapping.getInput();
}
This seems
John,
this is off-topic, but why does your message header contain the word
***SPAM** ?
On 12/17/2003 08:43 PMnbsp;John Smart wrote:
There's also XMLBeans (http://xml.apache.org/xmlbeans/) , which, unlike
Castor, works with JDK 1.4...
Martin Gainty wrote:
Castor (http://www.castor.org)
Hi Christopher,
just a quick question about Digester, perhaps you can save me the effort
of reading up on it to find out myself, but will Digester be able to
parse HTML?
I am dealing with the Internet Explorer bookmarks export file. I have
already tried JAXB but JAXB chokes on it, saying that
You are correct.
Your decision to put the errors in the session is necessary if you want the
URL to read that way. My understanding is that all request attributes will
vanish if you redirect. Most notably including the ActionErrors that the
thread was all about! :) I have long since given up
1 - 100 of 143 matches
Mail list logo