Forward the request to an action instead of a jsp.
In the action code set the request and forward to jsp
Hope that helps
Cheers
-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent: 08 June 2006 21:31
To: Struts Users Mailing List
Subject: Reload the same page
All,
I
I dont' have such a sequence like that, but you can get the same when
you read the source code of the RequestProcessor class.
starki78 wrote:
> Thanks for this great explanations
> I already solved this problem
> and now 'm quite close to understand it!
> It would be great to have a sequence diagra
Hi David,
I defined the tiles in a tiles-def.xml:
I specified no filenames in struts-config.xml only the forward:
regards rula
- Original Message -
From: "David Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent:
Thanks for this great explanations
I already solved this problem
and now 'm quite close to understand it!
It would be great to have a sequence diagramm
to see this flow
submit-reset-populate-validate
because knowing this flow isn't quite clear
to a normal struts-user.
THANKS A LOT
> starki78
Where do you define the tiles? (Filename)
How did you specify the filename to the tiles request processor/struts
config?
-DAvid
-Original Message-
From: rula2005 [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:06 AM
To: user@struts.apache.org
Subject: tiles and forwards
Hi,
I u
>this to work you need to define the property in your ActionForm as a
>String, not a Double.
Hi ,
I have treid this but couldnt find any luck, now instead of a defaut
value "0.0" in the case of 'Double' the invalid 'char/string' gets stored in
the database. As if the validtion is not work
Hi,
I use struts 1.2 with tiles.
There are a template layout.jsp, a tile locale.jsp and 2 tileDefinitions a.page
and b.page.
With the org.apache.struts.actions.LocaleAction there are problems.
In the locale.jsp: (language switch)
If the page attribute is set to a tilesDefintions
okay thats fine .No problem.I will find it out
Regards
Pradhap
On 6/9/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Sorry, I don't have any applicable links to give. Some time with Google
might find you some details.
Frank
xavier prad wrote:
> hai *Zammetti,*
> *Thanks for the help you h
Sorry, I don't have any applicable links to give. Some time with Google
might find you some details.
Frank
xavier prad wrote:
hai *Zammetti,*
*Thanks for the help you have extended me .Kindly let me know some websites
to find the details .*
*Regards ,*
*Pradhap.*
On 6/9/06, Frank W. Zammett
hai *Zammetti,*
*Thanks for the help you have extended me .Kindly let me know some websites
to find the details .*
*Regards ,*
*Pradhap.*
On 6/9/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Hi Pradhap,
Yes, you can. However, your JSPs will in all probability NOT be
rendering markup for d
Hi Pradhap,
Yes, you can. However, your JSPs will in all probability NOT be
rendering markup for display to the user... they will probably generate
some sort of data structure that your Swing client will use to update
the view. Maybe XML for example.
Your Swing app just makes HTTP requests
Can I use swings instead of jsp as view in struts
Regards
Pradhap
Hi,
I have an action in which am trying to get two values from database, one is
of type Integer and the other String. I have put them in an ArrayList and have
set to an attribute like request.setAttribute(Employee, "Employee"). Form for
this action is of type dynaactionform.
When
Hi David,
After a couple of days I finally solved this question, you're correct... I
finally found a fix pack that fix this problem (WAS6 Fix pack 9 at
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg27007534#steps).
So, for all people that uses WebSphere Application Server: Keep your W
Hi,
To know about spring; try it from:
http://www.springframework.org/docs/reference/
It is always a best to know from founders.
Cheers
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 5:38 PM
To: user@struts.apache.org
Subject: RE:
Hi Marcus,
Take a look at the accessKey attribute, I think that's what you want...
however, I don't believe it is possible to assign function keys, I think
you only have letters and numbers, and maybe punctuation marks.
You could do what you want via scripting though, where I believe you can
Michael Jouravlev wrote:
I suggest to look at your issue from another perspective. Do you
really need the functionality you are asking for? First, a small
clarification. There is no input page for an action, "input" attribute
is poorly named, it should be called "error" or "errorTarget", because
>From: Richard Wallace <[EMAIL PROTECTED]>
>
> 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.c
What exactly do you want to do ?
On 6/8/06, Marcus <[EMAIL PROTECTED]> wrote:
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
On 6/8/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
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?).
You cannot ch
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
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
-
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
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,
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
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
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 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
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 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, 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 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
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 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,
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
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
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
>>
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
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'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
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)
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
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
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, 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
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
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
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
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
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,
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
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 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
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!
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.
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
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
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]
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
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
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
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
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
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
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
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
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
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 ;)
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
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
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
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
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
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]
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
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
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
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
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
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
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
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.
--
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
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
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
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,
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
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
---
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
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
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"
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
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
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
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
> 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
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
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
>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:
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
1 - 100 of 120 matches
Mail list logo