Could you follow this tutorial? It uses Struts 2.5.x and starts with
just a simple Web app and then adds Struts.
https://www.youtube.com/watch?v=HVHlkWvOmOw
śr., 12 lut 2025 o 07:53 Mahabir Gupta napisał(a):
>
> Dear Lukasz,
>
> Previously I did not include the xwork-core-2.3.37.jar but added i
No exact date, but soon. There are a few open PRs, once merged it will
be time for release :)
pt., 11 paź 2024 o 10:19 Bibonne Fabrice
napisał(a):
>
> Hello,
>
> In my company we have several applications that use both Struts and Spring.
> Since the OSS support of Spring framework 5 has ended on
tWrapper add the
> > > ""jakarta.servlet.forward.request_uri"" attribute?
> > >
> > > FYI, I found the below very old thread in apache mail archive which
> > > was posted to d...@tomcat.apache.org in 2003 which appears to be a
> > > related
Tomcat? version? It can be related to Tomcat changes
pon., 22 lip 2024 o 17:25 Rubens Gomes napisał(a):
>
> I am running Struts 7.0.0-M9 along with Spring Boot 3.3.2 + Spring Security.
>
> have a Struts Action class annotated with :
>
> @Result(
> name = Action.INPUT,
> location = "/WEB-
You can try to downgrade commons-text to version 1.10.0 as then it
uses commons-lang3 3.12.0
https://central.sonatype.com/artifact/org.apache.commons/commons-text/1.10.0/dependencies
czw., 25 kwi 2024 o 13:13 SARAVANAN SIVAGURU
napisał(a):
>
> Hi Luk
>
> I found the issue, the below email helps
Why do you use org.apache.commons:commons-text:1.12.0? With Struts 6.4
you have used org.apache.commons:commons-text:1.11.0 and the same
version should be used with Struts 6.5
Regards
Lukasz
-
To unsubscribe, e-mail: user-unsubsc
Nice :) Could you register a bug and target 6.5.0? I will take a look
śr., 17 kwi 2024 o 08:17 napisał(a):
>
> Okay. It seems to already have broken somewhere between 6.1.1 and 6.2.0. It
> still works in 6.1.1 but not in 6.2.0. I have not tested each version in
> between to nail it.
> But some
Thymeleaf isn't officially supported by Struts (and the Struts Devs),
yet I checked the plugin [1] which doesn't look like a rocket since.
Because of legals, the author would have to donate the plugin to
Struts. In other case you can just include the plugin's code and a new
result in your code base
czw., 22 lut 2024 o 14:41 SARAVANAN SIVAGURU
napisał(a):
>
>
>
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
>
>
>
> org.apache.tiles.context.Abst
Could you post the generated HTML?
The only change between 2.5.32 and .2.5.33 is this [1] which shouldn't
impact Velocity
[1]
https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163
Regards
Lukasz
pon., 29 sty 2024 o 14:05 Lamia Wertani napisał(a):
> Hello,
>
>
> I rec
Gautam
Since version 6.0.0 a set of interceptors have been defined to support
CSRF, please read the following links
https://struts.apache.org/security/#resource-isolation-using-fetch-metadata
https://struts.apache.org/security/#cross-origin-isolation-with-coop-and-coep
Regards
Lukasz
czw., 13
Hi Burton
Feel free to open a ticket in JIRA and continue discussion there. I'm
missing a bit of information to investigate this problem.
Cheers
--
Łukasz
pon., 10 paź 2022 o 17:48 Burton Rhodes napisał(a):
>
> After a bit more testing it seems all of my executeAndWait implementations
> are
And please use a proper name Struts, there is no Struct.
pt., 9 wrz 2022 o 12:48 Łukasz Lenart napisał(a):
>
> Would you mind using some proper encoding? Your message is mess :\
> Have you tried to use 2.5 and then switch version by version? Also do
> you use the Convention plugin?
Would you mind using some proper encoding? Your message is mess :\
Have you tried to use 2.5 and then switch version by version? Also do
you use the Convention plugin?
Regards
Łukasz
pt., 9 wrz 2022 o 12:41 wwyyzz_001 <517654...@qq.com.invalid> napisał(a):
>
> In Struct 2.3.34,when namespase="" i
Could you share your struts.xml?
W dniu śr., 8.06.2022 o 20:56 Prasanth
napisał(a):
> Hi,
>
> We have a scenario where one of the results of a struts action is a jsp
> page with a forward to another action. This works fine under 2.5.X
> versions. In 6.0.0 I am seeing a stackoverflowerror. After
Done
2017-06-12 20:28 GMT+02:00 Ken McWilliams :
> Sorry...
>
> The following "Getting started" page "How To Create A Struts 2 Web
> Application:
> http://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html
>
> Tells you to add:
>
>
> org.apache.logging.log4j
>
There is nothing to worry about, the first exception is logged by a file
upload parsing layer as it cannot parse the multipart request, the second
is logged because the request did not pass a validation and there is no an
input result (the first exception was cause of the failed validation)
W dniu
You can define such action or use and return custom
404.action
(mobile)
17 lut 2016 21:46 "Murat Balkan" napisał(a):
> Hi,
> I'd like to disable the warning messages in the console log (catalina.out)
> like
>
> WARNING: Could not find action or result: /prepOrder.do?code=PNG
> There is no Actio
What about switching validateAnnotatedMethodOnly? This is going to be
default in 2.5 probably
https://struts.apache.org/docs/validations-annotation.html
(mobile)
17 gru 2015 23:29 "JOSE L MARTINEZ-AVIAL" napisał(a):
> Hello,
> I'm using Struts 2.3.24.1. I have an action that has two execut
You can redefine root
http://struts.apache.org/release/2.3.x/docs/json-plugin.html#JSONPlugin-RootObject
2014-11-05 12:13 GMT+01:00 Pavel Ilyushko :
> Hello there!
>
> Recently I've upgraded our struts2 framework and its related plugins (eg:
> json plugin) from version 2.1.8 to version 2.3.16.3.
Attachment is missing and mailing doesn't allow to send attachments ;-)
2014-06-20 3:26 GMT+02:00 Tri Quan :
>
>
> All,
>
> I am green horn in Struts 2 and need help with
> struts.xml. I got the following error when try this URL :
>
> localhost:8080/IteratorKFC/menu or localhos
2013/9/9 Christoph Nenning :
> In this case the following happens:
> - struts2's algorithm is performed (search packages hierarchically)
> - for global resources the JVM tries the file
> "struts-messages_en.properties" which is not present
> - then the JVM tries the language from system property "u
Yes
2013/8/26 Alireza Fattahi :
> Hi,
>
> When we are using spring plugin, all the objects actions, interceptors,
> filters are managed by spring. Is it correct?!
>
>
> ~Regards,
> ~~Alireza Fattahi
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Conf
11 mar 2013 18:41, "john lee" napisał(a):
> what is the presentation layer it support?
also Velocity, Google pages (gxp)
> thanks
>
> john
>
>
>
>
> From: Martin Gainty
> To: Struts Users Mailing List
> Sent: Monday, March 11, 2013 5:33 AM
> Subject: RE: strut
Hi,
http://struts.apache.org/2.x/docs/plugins.html#Plugins-ExtensionPoints
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail:
2012/10/24 Juan Jose Fuentes Esteban :
> Has someone tried the last struts2 portlet example with Liferay 6.1 GA 2?
> Object factory problems appear. It seems struts 2 tries to access the
> webApplicationContext of Spring before it is initialized.
Could you provide more details ?
Regards
--
Łu
2012/10/15 pirzada rashid :
> public String getPersonById() throws Exception {
> LOG.debug("getPersonById() = {} executed",
> this.getId());
> person = personDAO.get(this.getId());
>
> return SUCCESS;
> }
>
> **ERROR:**
>
>
2012/10/4 Davis, Chad :
> And, since I think I saw your name on some comments in the TextProvider, I
> wonder what constructors get invoked when the TextProvider is injected in the
> TextProviderFactory on ActionSupport. The default TextProviderSupport has
> references to locale provider and a
2012/10/3 Ken McWilliams :
> Asking for the consideration of a struts2 feature enhancement.
>
> The roles interceptor depends on container based security, it is a bit
> of a pain to set up and portability is complicated by needing to cover
> more documentation steps (how to secure your application
2012/9/6 bphill...@ku.edu :
> I updated the Struts 2 basic and hello world Ant examples at
> http://struts.apache.org/2.3.4.1/docs/getting-started.html to include the
> latest Struts 2 version and other required jars.
>
> I noticed that sometime after version 2.3.3 Struts 2 no longer needs
> common
I think, cannot be used that way.
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For add
Hi,
I'm not sure if I understand, you just want implement JAX-RS as a
Struts 2 plugin ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscri
L. The problem
> is that the CSS's dont display, I presume that it's requesting style.css and
> because of the new configuration it's expecting style.css to be an action...
>
> --
>
> My configuration:
>
> --> in struts.xml
>
>
> struts2
>
2012/7/18 Miguel :
> Also REST doesn't work in 2.3.3 and 2.3.4. Not even the rest-showcase war.
The issue with rest-showcase is related to [1], the problem is silly,
the OrdersControler class is in package org.apache.struts2 which is by
default excluded ;-) I'm looking for a solution now
[1]
2012/7/18 Miguel :
> Also REST doesn't work in 2.3.3 and 2.3.4. Not even the rest-showcase war.
Could you register an issue for that, thanks!
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
What's the value of struts.ui.templateSuffix ?
Check struts.properties, web.xml or struts.xml
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To uns
Change dtd to:
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/7/27 Singh, Rajdeep :
> Hi All,
>
> I have written classname-validation.xml as per tutorial gi
Could you show the whole web.xml ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For add
One base abstract class and two concrete classes which contain the
prepare() methods as specified.
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/7/23 Mounir Benzid :
>
>
> I use two different namespaces to secure
2012/7/19 Paul Benedict :
> http://struts.apache.org/2.3.4/docs/validation.html
> says:
> "The default interceptor stack, "defaultStack", already has validation
> turned on."
>
> Is that the right stack name? I thought the default stack name was
> "struts-default"
>
> Is this an error in the doc or
2012/7/17 Hernán :
> It seems that using a String bean and using
> struts.objectFactory.spring.autoWire=auto in struts.properties
> wires the String to every parameter of ServletActionRedirectResult by
> constructor. Is this a struts2 bug?
It's rather a user's bug ;-)
http://struts.apache.org/2.x
Could you post the whole stacktrace ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
2012/7/10 lucas owen :
>
> struts2
> *
>
It should be /*
And what kind of error do you have with css ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/7/9 ngald :
> Caused by: Connection timed out: connect - [unknown location]
> at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
Could you show your struts.xml ? Regarding error above, maybe you are
using old .dtd, OpenSymphony is down for some time...
Regards
--
Łukasz
mo
Thanks! The latest version of S2 is already using 2.3.19
Kind regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/7/5 Miguel Almeida :
> I believe I've found the culprit.
> While the problem is present in commit
> htt
2012/7/6 Paul Benedict :
> Is there any such shortcut in S2? It would be nice if such a thing existed
> like:
>
> /page.jsp
>
It should work, as a default action class is the ActionSupport class
and its execute() method returns SUCCESS.
Regards
--
Łukasz
mobile +48 606 323 122 http://www.l
Another way is to use AnnotationParameterFilterIntereptor (name
contains typo) and @Allowed and @Blocked annotations
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
--
You can always implement ParameterNameAware interface and boolean
acceptableParameterName(String parameterName);
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
--
2012/7/3 Avinash :
> Dear sir,
>I have design the login page in struts2 framework and i am using
> tomcat7 in eclipse(indigo). The tomcat server perfectly run in the browser
> but after execution my program , that will show 404 error. So sir please
> guide me how to find the error and w
2012/6/30 Anandraj :
> Hi,
>
> we are using struts2 with struts2 jquery in our application and i
> have noticed Struts2 and Struts2-jquery includes the javascripts files from
> the jar by including the tag of the framework. how it included the
> javascript file by including the tag ,is ther
2012/6/27 Jeffrey Benedict
> I have followed a struts2 tutorial (
> http://struts.apache.org/2.0.11/docs/simple-setup.html), adding minimal
> jars. I get the application to start up, but get a runtime exception:
>
> **
>
Try to use appropriate version of docs
http://struts.apache.org/2.3
I've added a note about that to the docs [1]
[1] https://cwiki.apache.org/confluence/display/WW/WebLogic
Thanks for helping and testing!
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/6/20 Pierre TEMPLIER :
> Am I missing something ?
Nothing, my mistake :/ I forgot to define aliases, please raise an issue
Thanks & regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
2012/6/19 Pierre TEMPLIER :
> I was able to register an application-wide DoubleConverter with
> primitive type double this way :
> == xwork-conversion.properties ==
> # syntax: =
> double = com.company.app.DoubleConverter
It isn't a hack, it's a normal way to do the things ;-)
> it works but it
2012/6/18 Miguel Almeida :
> Question: Having multiple environments files, what I really need is
> struts.custom.i18n.resources=environments/app-${envName}. Can one have
> this, so only the file that makes sense for that environment is loaded?
But you can simply achieve that with Maven filtering s
I think the problem is related to primitive converter which doesn't
include Locale in conversion, take a look on that bug and related
https://issues.apache.org/jira/browse/WW-3171
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confi
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) :
> I use Struts2 Spring Plugin 2.1.6.
That version was designed to run with Spring 2.5.3 and as specified in
docs [1] it must work, maybe you're messing different versions of
Spring libs ?
[1]
http://static.springsource.org/spring/docs/2.5.x/reference/beans
Are you using Struts2 Spring Plugin ?
http://struts.apache.org/2.x/docs/spring-plugin.html
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubs
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) :
> I use Spring Framework 3.0 M3
hmm... scope="prototype" should work, what kind of exception do you get ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) :
> Yes I am using Spring and also Hibernate.
> I am so sorry for replying late. I am using my company's email that I can't
> check at home.
> Could you show me where I can add scope="prototype", I added it into my
> applicationContext.xml, but it would not r
2012/6/17 Paul Mefford :
> Can anyone give me some advice on how to fix the .xml loader so it finds a
> xml file using the wildcard in sturts.xml? Or has anyone done this a
> different way with validation?
Struts 2 version ? App Sever ?
You can implement your own logic how to handle validation u
2012/6/15 Omar Ngarigari :
> The default value is list value. For example, my code is as follow:
>
>
>
> What I want is on validation error to repopulated data that user entered not
> the one that comes with list from database.
But as I said, it must be something wrong with your code. When
valid
2012/6/15 Omar Ngarigari :
> Please advice me on how to repopulate data on s:textfield after validation
> error. When a user enters some values on the s:textfield or s:select fields
> and click submit button validation error displays, the values goes back to
> the default not the ones that a use
Do you use Spring ? If so, action must have scope="prototype"
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr..
Use simple theme and add tag to display validation
messages or per each field
http://struts.apache.org/2.x/docs/actionerror.html
http://struts.apache.org/2.x/docs/fielderror.html
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://conf
833
>>
>>
>>
>> On Mon, Jun 11, 2012 at 9:32 AM, Łukasz Lenart
>> wrote:
>>>
>>> Probably, please register an issue and assign the test app.
>>>
>>>
>>> Regards
>>> --
>>> Łukasz
>>> mobile +48 606
Probably, please register an issue and assign the test app.
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/6/11 J. Garcia :
> A full example based on struts2 blank archetype attached.
> Run with maven2: mvn jetty:
2012/6/8 :
> Like I said a couple of days ago, this doesn't actually seem to hurt
> anything, but I thought that Łukasz might want to have a look at this
> exception.
> Has anyone else seen this with 2.3.4 or newer snapshots?
Yeah... I've noticed that and solved but not committed yet.
Regards
I'll add this code as an additional example, but I'm wondering is it a
good way to base on fieldErrors as they can be also populated by
validators.
Maybe adding ConversionAware interface with specific method to
populate conversionErrors would be better ?
Then I could extend ActionSupport with getF
Can be reduced to this:
public String getFormatted(String key, String fieldName, List args) {
if (getFieldErrors().isEmpty()) {
return getText(key, args);
} else {
return
ActionContext.getContext().getValueStack().findString(defaultValue);
}
}
and it wor
2012/5/31 J. Garcia :
> The short-circuiting option sounds good. There could even be a specially
> dedicated getText() (or alternative method name) for this scenario, which
> should be rather frequent in l10n apps.
Not the best solution, but works:
and in ExampleAction (or any other base action
2012/5/31 Łukasz Lenart :
> Ok, looks like a problem is with getText() in jsp but I think there is
> no other way ... you can use String instead and check for errors in
> getter/setter but I'm not sure if it does the trick
The problem is a bit complicated here as getText(String key,
2012/5/31 J. Garcia :
> Ok. Sorry.
> Fixed the example to match the real situation. Prepare() will only execute
> now if the request is a get method.
Ok, looks like a problem is with getText() in jsp but I think there is
no other way ... you can use String instead and check for errors in
getter/se
2012/5/29 J. Garcia :
> Attached an example, generated from struts2 archetype and modified to
> reproduce the situation.
>
> - run with mvn jetty:run. I use maven 2.2.1.
> - on browser, type: localhost:8080/struts-test/example/Login
> - you'll see a form, with formatted integer.
> - modify the inte
2012/5/29 Dionis Argiri :
> In case, when I have some JSP, that's shared with different pages. I don't
> want to make two copies of it. If some value is not set, then I get OGNL
> error and observe it in logs, that "value was not injected". As a potential
> workaround I tried to create public void
Done, please check the latest snapshot
https://issues.apache.org/jira/browse/WW-3828
2012/5/28 Łukasz Lenart :
> 2012/5/28 Łukasz Lenart :
>> I've missed that out, need to check the code ...
>
> Ok, I was able to reproduce your problem and changed support for
> Dynamic
2012/5/29 J. Garcia :
> Integer.
Strange, should work. Could you post an example code ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscri
Are you sure ? Could you post the whole stack trace ?
Maybe there is a conversion error...
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubs
2012/5/28 Joby Joseph :
> I have a form asociated with a JSP. and am setting some values into the form
> before loading the page and I am not showing it on the JSP. But I have to
> get the value in the Action class. scope of the form is request.
>
> that meanss, from JSP, have to send the form to a
2012/5/28 Joby Joseph :
> if u can, plz send me the code for this ... it will help me to complete the
> work.
You mean the patch to improve support of Dynamic Attributes ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2012/5/28 Łukasz Lenart :
> I've missed that out, need to check the code ...
Ok, I was able to reproduce your problem and changed support for
Dynamic Attributes in Struts to solve that. Please register an issue
for that, but IMHO it's a bad idea to use strict literals, it's b
2012/5/25 :
> Method public java.lang.String
> org.apache.struts2.util.StrutsUtil.translateVariables(java.lang.String) threw
> an exception when invoked on org.apache.struts2.util.StrutsUtil@540948a7
> The problematic instruction:
I've missed that out, need to check the code ...
Regards
--
Ł
Is it int either Integer ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
2012/5/25 :
> From my perspective this represents a regression from 2.3.1.2, where what I
> had previously worked fine.
> It could be due to FreeMarker change, since I also have this in my log:
>
> Caused by: freemarker.template.TemplateModelException: Argument type
> mismatch; can not unwrap ar
The Apache Struts group is pleased to announce that Struts 2.3.4 is
available as a "General Availability" release. The GA designation is
our highest quality grade.
Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed to
Could you add some code example ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For addi
2012/5/22 Alapiessa Petri :
> Thnaks for your reply!
> I tried with jvm 1.5.22 and 1.6 and OS OS linux.
> The first sample built ok, it had no java classes, just jsp and struts. This
> Hello world has two java classes that seem to be problematic to build.
> I'll try to check maven settings
One mo
I'm not sure if I understand, but you should be able to create an
interceptor and check if action implements given interface, then
create (or reuse) your decorator to check security.
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference
Just tried the same and it works smoothly ...
Java version ? OS ? Try with sample non-web neither non-struts2 maven
app, looks like your local Maven settings are broken
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confit
What I mean is that injecting something in ExecAndWaitInterceptor
which has brought scope can rise concurrency issue because the same
bean can be used in two different threads (ExecAndWaitInterceptor
thread and request thread). I would rather pack whatever is needed by
ExecAndWaitInterceptor and pa
I think it's better to repackage what you need and pass as a context
variables instead inject session aware beans. It can produce
concurrency issues.
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
You can try to use Jetty as an embedded server, take a look on
BasePortletTest in Portlet Plugin
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
---
Check Login-validation.xml which defines the validation
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail
2012/5/7 :
> I recently tried to upgrade our app from 2.3.1.2 to 2.3.3, but got an error
> in startup. To determine if it was "just me" I tried deploying the
> struts2-blank.war file in my JBoss 5.1 system, but got the attached error.
> It seems that the application cannot load "struts-defau
The Apache Struts group is pleased to announce that Struts 2.3.3 is
available as a "General Availability" release. The GA designation is
our highest quality grade.
Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed to
It shouldn't be a problem, anyway you must still use web.xml to
declare Struts2 filter.
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
Why don't you use SessesionAware interface ?
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsu
2012/4/19 rob stone :
> I am trying to incorporate the Struts 2 plug-in into the Netbeans IDE
> and having problems. The Netbeans version is 7.0.1 which is the latest
> available for Debian.
Use IntelliJ IDEA, give up with NB ;-)
Kind regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 3
2012/4/19 Scott Williams :
> After reading your email I tried your solution, outputting the date in the
> tag body rather than using the value attribute. I was surprised to find the
> tag behaves the way it does with Date objects, invoking toString().
> Given the behavior of the Date type conve
2012/4/19 Rout, Biswajit :
> No result defined for action com.xx.xxx.admin.action.AdminAction and result
> input
Because there is no result configured for adminProcess.action (it's empty).
Anyway, revise your architecture, read some docs about Ajax, JSON,
Struts2 because you overdo a lot too muc
1 - 100 of 192 matches
Mail list logo