On 1/29/07, Marcello Savino [EMAIL PROTECTED] wrote:
The reason i need the request body is that the action i should take is to
analyze the html generated. (ie.: syntax checking, finding img without alt
attributes, reading meta-information ...).
More: this job must be done server side (no
Hi,
I just want to know if it is possible to join Struts2 Team.
If (possible) {
how();
}else if( !possible){
willItBePossible();
}
Hi
How to build struts application using Maven 1.1?
Can you show me some guidance?
Thanks
Sarav
DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are
Hi community,
How can I get the client's ip address on the action's execute method?
Thanks...
request.getRemoteAddr();
Gareth
Struts2 Fan wrote:
Hi community,
How can I get the client's ip address on the action's execute method?
Thanks...
--
Gareth Evans
Senior Developer
MSoft eSolutions Limited
Technology Centre
Inward Way
Rossmore Business Park
Ellesmere Port
Cheshire
CH65 3EN
I want to get it in Struts 2 and How can I get the request?
http://struts.apache.org/2.x/docs/how-can-we-access-the-httpservletrequest.html
- Original Message -
From: Struts2 Fan [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, January 30, 2007 12:03 PM
Subject: Re: Getting the ip address in the Action
I
On 1/30/07, Struts2 Fan [EMAIL PROTECTED] wrote:
Hi,
I just want to know if it is possible to join Struts2 Team.
If (possible) {
how();
}else if( !possible){
willItBePossible();
}
These should be helpful:
http://struts.apache.org/helping.html
hi,
i think it is a bug in the FilterDispatcher. I change the Method
prepareDispatcherAndWrapRequest to this and now it works. Should i post it
to a bug-report? is there such a thing?
best regards
avajon
pre
protected HttpServletRequest
prepareDispatcherAndWrapRequest(HttpServletRequest
I had the same problem some time ago. At the end I decided to go with struts2
instead of JSF for several reasons:
- development time (i am familar with action based frameworks - it reflects
better how i think of web application)
- there is no good JSF framework out there in my eyes. nothing
IBM seems to have abandoned Struts (stuck at Struts 1.1, with no plans
to support newer versions) on their RAD 6 IDE and later. They also
strongly discourages replacing the Struts JAR files in RAD with newer
versions, stating that various problems would occur.
I am trying to find a way to
You might want to remove any plugins that you are not using. The only
JARs now required by the core framework are
* struts-core
* struts-api
* xwork
* freemarker
* ognl
* commons-logging
The seamless S2 Spring support is also provided by a plugin now.
-- HTH, Ted.
*
Hi everyone,
I'm using Struts version 1.3.5 and I intend to use URL validation for a
field using the validation.xml file. But, when I declare the field in
validation.xml, it does not validate the field to check whether the URL is a
valid one, meaning that it takes any input that I give in that
--- [EMAIL PROTECTED] wrote:
Is there anything else that I need to do for URL
validation besides declaring in validation.xml?
You need to provide more information. ActionForm
class, how you're mapping from action = validation
(bean name or action name), does any *other*
validation on the same
Hi all,
Can you please tell me whether I can validate a set of radio buttons so that
atleast one of them is checked, using the struts validation.xml? Is there a
pre-defined validator method (like required) defined for that or will I have
to write a custom validator method?
Thanks.
-Pushkar
Hi:
Thanx so much for your help. WebApp Context got loaded now.
I greatly appreaciate your help.
thanx
Shahab
Musachy Barroso-2 wrote:
Good catch, I got confused between WEB-INF and META-INF :)
musachy
cilquirm wrote:
your persistence.xml must be in META-INF directory in the
Some weird things are happening here :
I have a form, with a hidden field and a button. This button is placed on a
page with some user information. I want to pass that users ID to the
subsequent action, to retrieve his data and display it on the other page. In
another part of my webapp, I'm
On 1/30/07, Dave Newton [EMAIL PROTECTED] wrote:
--- [EMAIL PROTECTED] wrote:
Is there anything else that I need to do for URL
validation besides declaring in validation.xml?
You need to provide more information. ActionForm
class, how you're mapping from action = validation
(bean name or
--- [EMAIL PROTECTED] wrote:
String userId = (String) req.getAttribute(userId);
getParameter.
d.
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcello,
Marcello Savino wrote:
The reason i need the request body is that the action i should take
is to analyze the html generated. (ie.: syntax checking, finding img
without alt attributes, reading meta-information ...). More: this job
must
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pushkar,
[EMAIL PROTECTED] wrote:
Can you please tell me whether I can validate a set of radio buttons so that
atleast one of them is checked, using the struts validation.xml? Is there a
pre-defined validator method (like required) defined for
From: Christopher Schultz
I'm starting to think that Dave Newton was on the right track,
although it seemed like a hideous hack ;)
Pretty much any time I'm on the right track it's a hideous hack. I start
off meaning well then it all goes cow's legs up.
I think this is best done with a filter.
Could someone point me at the link from the Struts home page to the wiki?
I can still find it by clicking the Struts 1.2.9 links under
Documentation, but seems a bit tucked away... might it be better to be
more prominent? (or is it and I'm just missing it?)
Frank
--
Frank W. Zammetti
Founder
I am interested too.
__
Senior Programmer Analyst, Tax Distributed Systems Development
Tax Compliance Development, ADP IT
Phone: (909) 592-6411 Ext. 3863
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Struts2 Fan [mailto:[EMAIL
For Struts 1.x and Struts 2x, the links are under Support on each
product's home page, so that all the material for each product is
together.
* http://struts.apache.org/1.x/
** http://wiki.apache.org/struts/
* http://struts.apache.org/2.x/
** http://cwiki.apache.org/S2WIKI/home.html
-Ted.
On
Folks
I am using bean:write name=myBean property=beanProperty
formatKey=global.moneyFormat/
global.moneyFormat is defined in the vanilla ApplicationResources.properties file as
#,##0.00
To support users in France and Germany there are also ApplicationResources_fr and
Hi. I am having some strange problems when using the file upload interceptor.
When I use the file upload, I experience an extremely erratic behaviour where
sometimes my request params get set on my action and sometimes they do not.
All params from my form are either there or not there;
I had similar problems with fileupload last weekend.
At first I thought that it could be caused by a filter that I have in
front of my app - prints the URI and all params to the console - does
the processing before analising multipart data.
But I modified the filter to get/print that info after
Ok, so next stupid question... how does one get to the home page for a
specific product if you don't know the address already? Well, I can
answer that partially... there is a Struts 1 and Struts 2 link under the
The Apache Struts Project heading, as part of the paragraph text... I'm
not seeing
Under Documentation are the links to the archived sites for Struts
1.2.9 and Struts 1.3.5, which are the most current GA releases.
(Struts 2.0.x is in beta.)
Under Development are the links to the latest draft documentation for
each product.
Asking for the home page is a bit of a loaded
All,
I need to enable role based access to my Struts-J2EE application.
ie, if a normal user logs in, user should see one page whereas if a superuser
logs in he should see another page.
Whats the best suited design here ?
Any links ?
I use Struts 1.x,Eclipse and Tomcat
I've always found incredibly difficult to find things on the Struts
home page http://struts.apache.org/ I really think the home page
should have a clarification of terms and what you plan on doing. For
one thing this is incredibly confusing...
On Struts home page:
Struts 2 was originally known
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maya,
Maya menon wrote:
I need to enable role based access to my Struts-J2EE application. ie,
if a normal user logs in, user should see one page whereas if a
superuser logs in he should see another page.
IU'm not sure about best possible design,
On Tue, January 30, 2007 3:07 pm, Ted Husted wrote:
Under Documentation are the links to the archived sites for Struts
1.2.9 and Struts 1.3.5, which are the most current GA releases.
(Struts 2.0.x is in beta.)
I'm not following... conceptually I mean... I followed the links just fine
:) ...
From my experience, it is possible to run Struts1 and Struts2 side by side
As far as I've seen and worked with, other than keeping the org.apache
start of the package name, the namespaces and class names are different.
Bruno Melloni-2 wrote:
Are all the package.class names different
All,
I'm an admitted security gumbie, but I do have some questions regarding the
download security mechanisms on the struts site. Note, they are pretty much
similar to those found on other similar sites so I'm not picking on anyone. In
fact, I just want someone to explain to me how it
Parameters are the set of values coming from the http request. Attributes are
the things you can set on the request yourself, yourself can include struts
because it too is a user in the space above the ServletAPI.
___
Join Excite! -
Grant Harding wrote:
Hi,
I'm trying to create an 'edit form' page. In this, I'm trying to populate a multiple select field with a bean in the request scope and match the selected values from the form. I'm not sure how to get this to work. After looking in the taglib source, it looks like I
Hello,
After a few days fighting with Struts2 and Tiles2 I decided to ask in
the mailing list: does actually anybody managed to get them to work
together? I tried different approaches:
1 - Use a listener in web.xml - got an error that kept tomcat
throwing 404 error
2 - use a servlet in web.xml
I forgot to mention:
Struts - version struts2-api-2.0.1
Tiles - version struts2-tiles-plugin-2.0.1
On 30/01/07, Gonçalo Luiz [EMAIL PROTECTED] wrote:
Hello,
After a few days fighting with Struts2 and Tiles2 I decided to ask in
the mailing list: does actually anybody managed to get them to
--- Gonçalo Luiz [EMAIL PROTECTED] wrote:
Struts - version struts2-api-2.0.1
Tiles - version struts2-tiles-plugin-2.0.1
I've been using Struts2/Tiles2 since 2.0.1 (on 2.0.3
now) and have had almost no issues; did you follow the
instructions on the S2 wiki (now located at
Yes, you would certainly need to remove struts2-core-2.0.1 when
upgrading to 2.0.4, or you'll have multiple versions of the same classes
in your classpath. The same holds for plugin jars and any/all dependencies.
L.
xiao jie wrote:
hi:
I tried to update my application from 2.0.1 to 2.0.4 and
Saravanan Ponnusamy, EAS-Chennai wrote:
Hi
How to build struts application using Maven 1.1?
Can you show me some guidance?
Start at the Maven 1 home page [1] to learn how to build projects with
Maven (or the main page [2] if you can use Maven 2, which I'd recommend
doing if it's an
Hi List,
I'm attempting to construct a URL within an action's execute code.
The URL will be sent out in an email, serving as a link for a user to
click on. It'd be great if I could do this by finding the URL of an
Action using the Action name, which I have defined in the struts.xml
file.
Correct. Struts2 uses the org.apache.struts2 package whereas Struts1
uses org.apache.struts, so there is no conflict if both are included in
a project.
L.
cilquirm wrote:
From my experience, it is possible to run Struts1 and Struts2 side by side
As far as I've seen and worked with, other
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pushkar,
[EMAIL PROTECTED] wrote:
Can you please tell me whether I can validate a set of radio buttons so that
atleast one of them is checked, using the struts validation.xml? Is there a
pre-defined validator method
Ok, it's kind of a late reply but this is the best irc client I've found for
OSX thus far, it's
an Aqua version of good ole X-Chat. Come join us #struts on freenode
http://www.versiontracker.com/dyn/moreinfo/macosx/17132
On 8/29/06, James Mitchell [EMAIL PROTECTED] wrote:
I need to find
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Laurie,
Laurie Harper wrote:
Actually, assuming it's a radio button group that maps to a single
property, you probably just need the 'required' validation to ensure
that property has a value. You should only need 'validwhen' if there are
multiple
Frank W. Zammetti wrote:
Ok, so next stupid question... how does one get to the home page for a
specific product if you don't know the address already? Well, I can
answer that partially... there is a Struts 1 and Struts 2 link under the
The Apache Struts Project heading, as part of the
This is surely not the best way . . . but you can implement one of the Aware
interfaces that gives you a reference to the ServletRequest and get the URL
info from that, from there I assume you could probably build the action
specific url. But I'm also sure there must be access to the struts
Hello. I'm moving my application up to s2.04 ( from 2.0.1 ). I'm getting an
error from the struts filter that says it can't find the pell mulit part
request class. The odd thing is, I have verified that the correct jar is
available and that it holds the correct class. The problem seems
Thanks Bob,
I wouldn't be too afraid of doing something like that, but I need the
URL for a different Action, named in the mapping -- that is, I don't
need the URL for the Action that's executing.
Eric Rank
On Jan 30, 2007, at 6:07 PM, bob wrote:
This is surely not the best way . . .
Hrm, that's the same thing I reported last week
sometime.
--- Don Brown [EMAIL PROTECTED] wrote:
Fixed, thanks for bringing it up:
http://issues.apache.org/struts/browse/WW-1692
Don
On 1/30/07, bob [EMAIL PROTECTED] wrote:
Hello. I'm moving my application up to s2.04 (
from
On 1/30/07, Rick Reumann [EMAIL PROTECTED] wrote:
I've always found incredibly difficult to find things on the Struts
home page http://struts.apache.org/ I really think the home page
should have a clarification of terms and what you plan on doing. For
one thing this is incredibly confusing...
Hi :
I am using struts 1.0.4 now and I try to use the s:datetimepicker, i can see
the tag label but not the datetimepicker itself...
am i missing sth here? do I have to configure dojo explicitly to get it
working? or is it included in struts2 already?
and when I use
s:datetimepicker
On 1/30/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Just to clarify my motiviation so you know I'm not just being a wanker :)
... I believe wikis are a fantastic way for all users, not just project
devs, to share information with one another in a persistent way. Because
of that, I always
--- Ted Husted [EMAIL PROTECTED] wrote:
Technically, all of the Struts 2 documentation is a
wiki, except for the first page. Anyone who files a
CLA with the ASF is welcome to contribute.
I love Confluence and all its power, but it's
frustrating when a lot of the docs are pulled in from
At first I thought there was only a 2.0.1 version of struts2, as its the only
one listed upfront; now I've found 2.0.2 . . . 2.0.5. I'm not really
familiar with official versioning practices, so maybe this is obvious, but what
are the differences?
--- bob [EMAIL PROTECTED] wrote:
At first I thought there was only a 2.0.1 version of
struts2, as its the only one listed upfront; now
I've found 2.0.2 . . . 2.0.5. I'm not really
familiar with official versioning practices, so
maybe this is obvious, but what are the differences?
Even i'm not sure what has been causing this. But probably you can just
check your lib to contain commons-lang-1.1.1.jar instead of
commons-lang.jar(remove this in case it exists).
- Original Message -
From: Dariusz Wojtas [EMAIL PROTECTED]
To: Struts Users Mailing List
Yes, I was expecting client-side validation to work for URLs. And ya, other
validations like required, email, maxlength..etc are working fine on
this form.
Thanks.
-Pushkar
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 9:11 PM
To:
Hi,
Maybe this is more of a Regular Expressions question than struts, but please
help me if you can. I'm using Mask validator in Struts 1.3.5 and I'm not
able to include symbol in the regular expression for the mask. I intend
to allow the user to enter inside the text box but, even after giving
try:
amp;
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 1/31/2007 2:58 PM
To: user@struts.apache.org
Subject: Struts 1.3.5 - Validate for in mask validator
Hi,
Maybe this is more of a Regular Expressions question than struts, but please
On 1/30/07, Gonçalo Luiz [EMAIL PROTECTED] wrote:
Hello,
After a few days fighting with Struts2 and Tiles2 I decided to ask in
the mailing list: does actually anybody managed to get them to work
together? I tried different approaches:
1 - Use a listener in web.xml - got an error that kept
Take a look at ServletActionRedirectResult, something like this might do it:
@Inject
public void setActionMapper(ActionMapper mapper) {
this.actionMapper = mapper;
}
to inject the action mapper. I've coined the phrase 'magic injector' to
describe this. Then
String uri =
Joe Germuska joe at germuska.com writes:
Have you seen http://cwiki.apache.org/S2PLUGINS/tiles-plugin.html ?
Struts 2 is intentionally mostly ignorant of Tiles, except for the plugin,
so something like per-package tiles defs would involve writing your own
code, perhaps a custom subclass
That looks right to my eye. I'd suggest setting your logging config to
debug for the category org.apache.tiles.impl (the class which
specifically handles the definitions is BasicTilesContainer). Perhaps that
will help.
I have to stress once again that Tiles 2 has not been released. If you
Folks
I am using bean:write name=myBean property=myBeanProperty
formatKey=global.moneyFormat/
global.moneyFormat is defined in the vanilla ApplicationResources.properties file as
#,##0.00
To support users in France and Germany there are also ApplicationResources_fr and
68 matches
Mail list logo