Thank you for your replies!
When I understand this right:
- Giving Actions a state using Spring makes no sence
- It cannot be recommended to overwrite the request processor
with Spring (we already have our own)
- But the spring Context offers some new possibilites
like IOC but to be honest I'
Hi,
I used to have this error as well. Its a warning from Eclipse, right?
If so, just ignore it.
mvg,
Jasper
On 6/7/06, Olivier Bex <[EMAIL PROTECTED]> wrote:
Hi everyone,
Using struts 1.1 with eclipse 3.1 and myeclipseIDE I have an error with a
JSP page :
"Failed to load or instantiate Ta
According to my java file, the property loginRequired is in a java class
that extends ActionMapping. In addition, the setter and getter methods are
set. Thanks for the help.
Regards,
Olivier.
-Message d'origine-
De : Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 7 juin 2
Hi,
I want to print a message like this:
myValueAdded=my value{0} has been added.
How can I fill in the corresponding value?
Thx,
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Hi,
Here is my form bean declaration :
And here is the action form :
(NB : the other declaration loginForm does not use the loginrequired
property.)
package com.eyrolles.struts;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apa
Pass the argument {0} as follows:
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 1:32 PM
To: Struts Users Mailing List
Subject: message resources
Hi,
I want to print a message like this:
myValueAdded=my value{0} has been added.
How can I fil
Hi Marcus,
Where do you want to print this message ?
What type of data do you use ?
Regards,
Olivier
-Message d'origine-
De : Marcus [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 juin 2006 10:02
À : Struts Users Mailing List
Objet : message resources
Hi,
I want to print a message like th
Pass the argument {0} as follows:
I tried that,
but then it writes literally:
Value value has been added.
But what need the VALUE of hte variable "myValue" to be printed.
:-(
Marcus
-
To unsubscribe, e-mail: [EMAIL PROT
Where do you want to print this message ?
I type in my value into a textbox.
Forward to action.
Action adds value, forwards to jsp.
Now jsp should say:
Value "myValue" has been added.
(With the value of "myValue" printed!)
What type of data do you use ?
Strings
Marcus
-
I'm assuming that there is a key-value pair defined in your
message-resources (.properties) file as follows:
myValueAdded=my value {0} has been added.
And that you want to print a value at location {0} to be passed from some
jsp or some other file.
Moreover, you can pass upto 5 arguments using
Marcus wrote:
Pass the argument {0} as follows:
I tried that,
but then it writes literally:
Value value has been added.
But what need the VALUE of hte variable "myValue" to be printed.
:-(
Marcus
-
To unsubscribe, e-m
Try using
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 2:28 PM
To: Struts Users Mailing List
Subject: Re: message resources
>Pass the argument {0} as follows:
>
I tried that,
but then it writes literally:
Value value has been added.
But
What do you mean by " Action adds value"??
Where does Action add this value?
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 2:30 PM
To: Struts Users Mailing List
Subject: Re: message resources
>Where do you want to print this message ?
I type in
Hi,
What do you have in the java class for the value you want to put in your
message, is it a has table or something else ?
Olivier.
-Message d'origine-
De : Marcus [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 juin 2006 10:58
À : Struts Users Mailing List
Objet : Re: message resources
>P
>
I wrote:
And it returns literally:
${myDynaForm.value}
What do you have in the java class for the value you want to put in your
message, is it a has table or something else ?
It's all just plain simple.
I store my value in a dynaForm, forward to an action,
compute stuff, forward to to a
In your Action class, add following statements before return statement:
ActionMessages oMsgs = new ActionErrors();
oMsgs.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("myValueAdded", ""));
saveErrors(oRequest.getSession(), oMsgs);
In your jsp, you must be having
It will w
In your Action class, add following statements before return statement:
ActionMessages oMsgs = new ActionErrors();
oMsgs.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("myValueAdded", ""));
saveErrors(oRequest.getSession(), oMsgs);
In your jsp, you must be having
It will work.
It's no
It will be displayed as a message only.
For code-cleaning purpose, since it gives an incorrect interpretation, you
can achieve the same result by slightly manipulating this code. Try
replacing ActionErrors with ActionMessages
In jsp also, replace with
It should work.
Actually I had that implemen
Hi all,
I am trying to validate a field against 'double', In
validation.xml i have specified the validation logic as.
This is not working, but it will work fine If I change it to' depends
="integer" ' instead of "double".
In my validatior-rules.xml file I have written the ru
What isn't working? Is it not validating properly? Are you getting
some type of exception? Does it accept everything?
You can alway check the source code of FieldChecks to find out what it is doing.
mvg,
Jasper
On 6/8/06, antony.paul <[EMAIL PROTECTED]> wrote:
Hi all,
I am tryin
Marcus wrote:
>
I wrote:
And it returns literally:
${myDynaForm.value}
Sorry, thought bean:message was supporting el notation :)
try this
It's awfull, but assuming you have myDynaForm in some scope should work
-
To uns
>It's awfull, but assuming you have myDynaForm in some scope should work
Yes, indeed! ;-)
Isn't there something more struts like (using tags..)
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi
Sorry for that incomplete mail. I am not getting any excetption and
that particular field is accepting everthing like characters and getting
saved in the database as '0', I guess thats the default value for that field
because I have defined that corresponding property in the Action Form a
At 9:14 AM +0200 6/8/06, Julian Tillmann wrote:
Thank you for your replies!
When I understand this right:
- Giving Actions a state using Spring makes no sence
Not so much "makes no sense" as "doesn't get you anything." At
least, once you are used to writing threadsafe actions, you don't see
> From: Marcus [mailto:[EMAIL PROTECTED]
>
> Value "myValue" has been added.
> (With the value of "myValue" printed!)
>
Anyway, you've gotten a lot of... advice.
Mine is to either use a JSP 2.0 container so the original EL suggestion
${myBean.value} EL will work, or use the struts-el tags
Joe Germuska wrote:
> At 9:14 AM +0200 6/8/06, Julian Tillmann wrote:
>> - But the spring Context offers some new possibilites
>> like IOC but to be honest I'm not expert enough
>> to understand this up to date!
>
> This is the Spring feature that I appreciate the most. Before we
> started usi
I've added a lot of support for integrating Spring with Struts in
Strecks: http://strecks.sourceforge.net/ - a Java 5-based Struts
extension framework
The main Spring-related things you'll find in there are:
- you can inject any Spring bean into your actions using the
@InjectSpringBean annotat
Tim, thank you for your support and your patience, I found the solution.
This page helped me too :
http://www.systemmobile.com/articles/strutsMessageResources.html
Instead of parameter="struts", I needed to specify
parameter="ressources.struts"
Whereas Struts 1.0 could find it in "ress
Tim, thank you for your support and your patience, I found the solution
This page helped me too :
http://www.systemmobile.com/articles/strutsMessageResources.html
Instead of parameter="struts", I needed to specify
parameter="ressources.struts"
Whereas Struts 1.0 could find it in "resso
Mine is to either use a JSP 2.0 container so the original EL suggestion
${myBean.value} EL will work, or use the struts-el tags if you're using
a < JSP 2.0 container, which will do the same thing in a different way.
I am using Apache Tomcat 5.5, and AFAIK, it does support JSP 2.0.
For "myBean"
On 6/8/06, Olivier Citeau <[EMAIL PROTECTED]> wrote:
Tim, thank you for your support and your patience, I found the solution
This page helped me too :
http://www.systemmobile.com/articles/strutsMessageResources.html
Instead of parameter="struts", I needed to specify
parameter="ressources.str
Marcus wrote:
> Any ideas?
What does your web.xml DOCTYPE look like? Irritatingly enough, you have
to tell Tomcat to go ahead and be 2.0-ish.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
2.2 means 2.0-ish, I assume?
Marcus
Dave Newton schrieb:
Marcus wrote:
Any ideas?
What does your web.xml DOCTYPE look like? Irritatingly enough, you have
to tell Tomcat to go ahead and be 2.0-ish.
Dave
---
hi,
It looks fine to me. It sort of sounds like validation is not
happening at all. Maybe there is a problem in your form or jsp. Or
you coulld try updating to the latest version of Validator/struts if
yuo haven't allready.
mvg,
Jasper
On 6/8/06, antony.paul <[EMAIL PROTECTED]> wrote:
Hi
Hi
Actually I work on struts and tomcat 5.0 and I am not aware of
treads and springs, which are more popular on mailing list now days, so
can u please tell me about these or give me some links for threads and
springs
Thanks in advance
Sp
Hi ,
If you are talking about thread basicsthe best resource is
www.javaranch.com. For springs...well I am still referring O'Reilly
books for that!
Regards,
Animesh Saxena
RR Donnelley
Wipro Technologies
Bangalore.
99860-76686
When Life tears you down, it builds you up.
-Original
Where is loginRequired referenced in your struts-config document? Perhaps I
misunderstood your problem.
-Original Message-
From: Olivier Bex [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 4:04 AM
To: 'Struts Users Mailing List'
Subject: RE: struts-config xml file throws a java ex
Marcus wrote:
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
>
>
> 2.2 means 2.0-ish, I assume?
Nope... That means Servlet spec 2.2, which is less than you need ;)
Pre-advice caveat: I've never figured out XML, DOCTYPEs, an
Hi
Thank you Jasper I will try for any updation.
Regards,
Antony
--
View this message in context:
http://www.nabble.com/Validation-not-working-for-%27double%27-with-Struts-1.2-t1754076.html#a4771298
Sent from the Struts - User forum at Nabble.com.
--
On 6/8/06, antony.paul <[EMAIL PROTECTED]> wrote:
Hi
Sorry for that incomplete mail. I am not getting any excetption and
that particular field is accepting everthing like characters and getting
saved in the database as '0', I guess thats the default value for that field
because I have defin
always pass the double validation (but fail integer validation :-) For
this to work you need to define the property in your ActionForm as a
String, not a Double.
oops, missed that :}
mvg,
Jasper
-
To unsubscribe, e-mail: [EMAI
LoginRequired is referenced in the action tags of each action.
Here is a sample :
[...]
Olivier.
-Message d'origine-
De : Samere, Adam J [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 juin 2006 14:10
À : Struts Users Mailing List
Objet : RE: st
need help with this please. Thanks.
Thankyou for your response.
yes, it is displaying in correct form in the browser.
I want to delete the selected values from the original list.
In the Dispatch Action I am checking the selectedList which are
String values with the originallist and doing strin
Thanks very much for all your answers, I'd be very keen to learn more about
this soon.
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
-
To unsubscribe, e-mail: [EMAIL PR
Olivier Bex wrote:
> LoginRequired is referenced in the action tags of each action.
>
I may have missed it, but did you provide the source for your custom
ActionMapping class that you are expecting the element
to act upon? (If you didn't, or haven't sub-classed ActionMapping or
aren't using so
On 6/8/06, Olivier Bex <[EMAIL PROTECTED]> wrote:
LoginRequired is referenced in the action tags of each action.
...
(earlier)
EmployesActionMapping employesMapping =
(EmployesActionMapping)mapping;
// Cette action nécessite-t-elle l'identification de l'util
Wendy Smoak wrote:
> I don't see where you've told the framework to use your custom
> ActionMapping class.
What she said ;)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You don't have a custom action-mappings type... The set-property set's property
on the ActionMapping instance.
...
-Original Message-
From: Olivier Bex [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:06 AM
To: 'Struts Users Mailing List'
Subject: RE: struts-config xml
tag can solve ur problem:
Display would look as: $1,234,578.75
HTH,
On 6/7/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Raghuveer ha scritto:
> How to format Money Data type(SQL server )by below format for USD.
>
>
>
> $x,xxx,xxx,xxx.xx
>
If you mean formatting in JSP see:
http://java
Nope... That means Servlet spec 2.2, which is less than you need ;)
Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people make
fun of me for it.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xm
When using EL with dyna beans you need to reference the map property
then your property. The struts tags (i.e. bean:write) handle this for
you.
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:28 AM
To: Struts Users Mailing List
Subject: Re: mes
When using EL with dyna beans you need to reference the map property
then your property. The struts tags (i.e. bean:write) handle this for
you.
Sorry,
call me dumb,
but I didn't really get what you tried to explain.
EL ?
- map property - you mean my dynaForm?
Or do you really mean a map? I
Marcus wrote:
>> When using EL with dyna beans you need to reference the map property
>> then your property. The struts tags (i.e. bean:write) handle this for
>> you.
>>
>>
> Or do you really mean a map? I am not using one..
...but you're using a DynaForm, so you are, so just do what he said ;)
Here is my Actionmapping class using the property loginRequired :
package com.ex.struts;
import org.apache.struts.action.ActionMapping;
public class EmployesActionMapping extends ActionMapping {
private static final long serialVersionUID = 1L;
protected boolean loginRequired = false;
pu
Internally the DynaForm (i.e. DynaBean) uses a Map to store the
properties. This is what allows it to provide dynamic properties and
save you from writing ActionForm subclasses.
When you reference myDynaForm with a JSP Expression Language (EL)
expression like ${myDynaForm.description} reflection i
Does your struts-config have:
...
It didn't in the example you provided earlier.
-Original Message-
From: Olivier Bex [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:58 AM
To: 'Struts Users Mailing List'
Subject: RE: struts-config xml file throws a java exception
H
I am new to using tiles and I have a couple of questions. I have written a
page layout and I have it coming up but there are a couple of questions that
I have. First, my header.jsp has a section where the graphic changes depend
on what page is begin displayed. I can't seem to figure out the corr
Susan G. Conger ha scritto:
First, my header.jsp has a section where the graphic changes depend
on what page is begin displayed. I can't seem to figure out the correct way
to implement this.
What do you mean with "graphic"? A picture?
Ant how do you want to change this "graphic", I mean, what
The image changes depending on the page that is being displayed. Ideally I
would like to just be able to point to the .gif file in the tiles-def.xml
file. Here is what I have so far:
I want the student.header to be displayed in the student.layou
On Jun 8, 2006, at 9:05 AM, Susan G. Conger wrote:
First, my header.jsp has a section where the graphic changes depend
on what page is begin displayed. I can't seem to figure out the
correct way
to implement this.
The short answer is to use Tile attributes. The longer answer is
that att
Susan G. Conger ha scritto:
The image changes depending on the page that is being displayed. Ideally I
would like to just be able to point to the .gif file in the tiles-def.xml
file. Here is what I have so far:
I want the student.header to be
Has anyone seen this. I'm migrating to struts 1.2.9 from 1.1. I've tried
using the 1.2 version of the DTD, and I've tried it without a DOCTYPE
declaration to stop validation.
I also read that there may be a problem with the xerces parser. I read that
the Digester has problems if the xerces i
Is there a way of adding hotkeys to a form field in struts?
I would like to add the keys F1-F4 to my form fields 1-4.
Thx,
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Samere, Adam J schrieb:
Internally the DynaForm (i.e. DynaBean) uses a Map to store the
properties. This is what allows it to provide dynamic properties and
save you from writing ActionForm subclasses.
When you reference myDynaForm with a JSP Expression Language (EL)
expression like ${myDynaForm
Why don't you post some of your Struts-config.xml so we can see the
first+last few lines.
-David
-Original Message-
From: RickD [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 10:48 AM
To: user@struts.apache.org
Subject: Digester Error while reading struts config file
Has anyon
Hi!
I've a large problem with html:multibox.
I've tree checkboxes. When I choose
one or two or three it arrives correct
at the next action!
Only then all checkboxes are deselected
it remembers the state of the checkboxes that was
selected before! The state of the form is session in struts-config.
Browsers are only required to submit values for checkboxes when they are
selected. So when a box is not checked, no value is sent, so the state
on the server is not changed. When using session scoped objects to store
the value of checkboxes your processing needs to be aware of the fact
that values
Hi Adam I just tried:
public void reset(ActionMapping mapping, HttpServletRequest request) {
multiboxvalues = new String[3];
multiboxvalues[0] = "";
multiboxvalues[1] = "";
multiboxvalues[2] = "";
}
And now the problem seems to be solved but to be honest I
don't have the knowle
Hi every body,
I've have a problem with the response.sendRedirect called in a jsp file,
I've used Tile in my project. I've set the autoFlush="false" and set the
bufferSize to a big number (bufferSize="2048kB") in the master page (of
Tile) and in the *child* jsp file where the response.sendRedirect
Hi,
I read few articles on struts. They recommend not to
send action form class to EJBs as data holders. They
recommend we should use general classes for holding
data to decople web tier with EJBs.
What they say must be correct but I still have few
doubts (Maybe b'cause I am not experienced).
Do
That's what you have to do, as Adam said, the browser won't send the
value of unselected checkboxes. The sequence for create your form bean
are : Create, Reset, Populate, and Validate. You should override the
Reset method of the ActionForm to make sure that your form bean accept
new value from t
Hi Chamal,
The recommendation of not passing ActionForms to your business classes
stems from two thoughts...
First, by passing an ActionForm, you tie your business clases to Struts.
Should you want to change to another framework later, your business
classes should be unaffected, therefore, passi
Why not avoid this problem since you are using a tile and simply add a meta
refresh at the top? That way you know the page should change and you will
have no problem with how Tiles handles output. Personally, I think putting
a response.sendRedirect() in a jsp is the wrong place. I try to keep
re
chamal desilva wrote:
> Hi,
>
> I read few articles on struts. They recommend not to
> send action form class to EJBs as data holders. They
> recommend we should use general classes for holding
> data to decople web tier with EJBs.
>
That's right.
> What they say must be correct but I still have
Here is some of the config file...
http://struts.apache.org/dtds/struts-config_1_2.dtd";>
More Mappings
--
View this message in context:
http://www.nabble.com/Digester-Error-while-readi
On 6/8/06, chamal desilva <[EMAIL PROTECTED]> wrote:
Hi,
I read few articles on struts. They recommend not to
send action form class to EJBs as data holders. They
recommend we should use general classes for holding
data to decople web tier with EJBs.
What they say must be correct but I still ha
What container are you using? By "moving xerces 2.8 inside my war" do
you mean the xercesImpl.jar? Which JVM you are using may also be of
interest.
What is "bluecast"? I bet your Sax Parser factory is picking the wrong
one...
-Original Message-
From: RickD [mailto:[EMAIL PROTECTED]
Sent:
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Second, an ActionForm is, usually, used to repopulate an HTML form on a
page when an error occurs, or when a page is initially shown. Since HTML
forms only deal in Strings, another recommendation you frequently hear is
to only have Strings
Sorry, I'm kinda new to this type of forum. Thanks for your help. I'm using
Tomcat 5.5.15, struts 1.2.9, and java 1.5.0_06.
thanks
--
View this message in context:
http://www.nabble.com/Digester-Error-while-reading-struts-config-file-t1755486.html#a4776841
Sent from the Struts - User forum at
Hey all,
I'm having a problem with clay after updating to MyFaces 1.1.3 and
Tomahawk 1.1.3. I'm getting a couple of these when the webapp is deployed:
2006-06-08 10:02:55,174 2621 ERROR [http-8080-Processor24]
org.apache.shale.clay.config.beans.ComponentConfigBean
(ComponentConfigBean.java:235)
> I'm moved xerces 2.8 inside my war; this had no effect.
Can you post the result of using Xerces but seeing the same error? It
shouldn't have the "com.bluecast.xml..." errors in it but Xerces specific
ones, if you removed the bluecast related jar.
Also, how did you list the struts-config file i
On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
> On the other hand, the whole idea of Struts/Commons Validator sucks
> big time, because database already has all necessary validations,
> domains, triggers, etc. Since most apps use database anyway, input
> data should either be validated dir
I didn't remove any xerces related jars from tomcat cat. I looked in
common/lib and server/lib but didn't see xerces.
in the web.xml I only specify a single module config file.
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
2
There error
Frank W. Zammetti wrote:
> On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
>
>> On the other hand, the whole idea of Struts/Commons Validator sucks
>> big time, because database already has all necessary validations,
>> domains, triggers, etc. Since most apps use database anyway, input
>>
The concrete SAXParserFactory implementation to use is determined as
follows:
1. Use the javax.xml.parsers.SAXParserFactory system property if it is
set. (with -Djavax.xml.parsers.SAXParserFactory=my.factory.impl for
example)
2. If JRE/lib/jaxp.properties exists and has a
javax.xml.parsers.SAXPars
Thank David for your reply.
Actually, I've known that's not right to do it, in the jsp file, but
I've have no choice in this situation. Because this is the final page in
a wizard-like web application. Normally, the user stop at the final
page, but in some case, the user want to redo the wizard aga
On 6/8/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Frank W. Zammetti wrote:
> On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
>
>> On the other hand, the whole idea of Struts/Commons Validator sucks
>> big time, because database already has all necessary validations,
>> domains, triggers,
starki78 wrote:
Hi!
I've a large problem with html:multibox.
I've tree checkboxes. When I choose
one or two or three it arrives correct
at the next action!
Only then all checkboxes are deselected
it remembers the state of the checkboxes that was
selected before! The state of the form is session
On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote:
> IMHO, where and how to do what kinds of validations is going to be the
> next
> "great debate" in application framework design :-)
Hehe, it's a debate that's been around for a while, not sure it can be the
"next" great debate :) LOL
> * Enha
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
[snip]
I'm still not sold on the whole concept of annotations myself... it seems
to encourage scattering things throughout the code base that otherwise
would be centralized.
Always slow to get on the latest bandwagon, eh Frank :-)
Ironi
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote:
> * Enhance the user experience by catching errors as quickly
> as possible (ideally client side in a webapp), with error messages that
> are relevant to the user's context in that pa
On 6/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
* Annotations are not a good idea when the configuration concept should
not be a concern of the person actually writing the code. In webapps, for
example, I don't believe in conf
On Thu, June 8, 2006 2:46 pm, Craig McClanahan wrote:
> Always slow to get on the latest bandwagon, eh Frank :-)
Who, what, me?!? Nhh!
(hey, you were the last Ant vs. Maven holdout, I was happy I wasn't the
only one... you left me man!! LOL)
> That being said, XML configuration fil
Michael Jouravlev wrote:
> Check out Stripes, great stuff.
It is indeed pretty cool.
I really dislike putting my URL mappings in code, though, if for no
other reason than if I'm testing or need to stub out a URL handler
temporarily for some reason I have to touch things in two different
places (m
On Thu, June 8, 2006 3:07 pm, Michael Jouravlev wrote:
> So your argument is basically that database roundtrips will degrade
> performance.
Yes, but that's only one aspect of it... scalability is also a factor, as
is number of breakage point, as is cost, because to overcome the first two
you have
Don't forget about the AOP aspect (no pun intended) of Spring. While
the IoC is handy, it is nothing, in my opinion, in comparison to the
solution regarding logging, security, metrics, etc. in Spring with
AOP.
On 6/8/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
Thanks very much for all your
All,
I have a page, results.jsp with a link
< ahref="deleteAction.do?/>
In deleteAction, the record will be deleted by calling the helper classes
and on succesful delete the request should be forwarded again to the
results.jsp.
How can I achieve this ?
In strts-config,
Maya menon wrote:
All,
I have a page, results.jsp with a link
< ahref="deleteAction.do?/>
In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp.
How can I achieve this ?
In str
I have two different pages that call the same action. I'm using
validate="true" in the action mapping. Can I specify the 'input'
attribute dynamically (or set it somewhere while the action is being
called, before validation?).
Thanks,
Scott
-
hi.
> I have two different pages that call the same action. I'm
> using validate="true" in the action mapping. Can I specify
> the 'input'
> attribute dynamically (or set it somewhere while the action
> is being called, before validation?).
never tried, but ...
your action's execute method
1 - 100 of 120 matches
Mail list logo