strange error when migrating to convention plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
I am doing migration tests to convention plugin using a project generated with the archetype "struts2-archetype-blank" After migrating the actions from struts.xml using the @Action annotation, I could observe the following: The line (in a JSP): " rel="stylesheet" type="text/css"/> generates the

Migration struts.xml to Convention Plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
Hello, I want to migrate a web application based on struts.xml to use annotations, but I have not found documentation and/or examples for the next cases: *1. * How should be the @Action (?) Annotation be for the default action? *2. Global Exception Handling* The documentation of convention

Re: Property: struts.class.spring.enableAopSupport

2017-05-18 Thread developer researcher
figuration: comment or uncomment the SpringApplicationContext class @EnableAspectJAutoProxy(proxyTargetClass = true) @EnableAspectJAutoProxy 5. Set struts.objectFactory.spring.enableAopSupport to true or false: edit, modify, comment or uncomment struts.properties My test environment is: windows 7 6

Re: Property: struts.class.spring.enableAopSupport

2017-05-17 Thread developer researcher
true or false: edit, modify, comment or uncomment struts.properties My test environment is: windows 7 64 bit, JDK 1.8.112 and the libraries included in the POM Thanks 2017-05-12 1:29 GMT-05:00 Lukasz Lenart <lukaszlen...@apache.org>: > 2017-05-11 22:15 GMT+02:00 developer rese

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-11 Thread developer researcher
b the source of the JSON plugin and try and work through that. > > Here's how we handle JSON output, we use the stream result: > https://struts.apache.org/docs/stream-result.html > > On Tue, May 9, 2017 at 2:41 PM, developer researcher < > java.developer.researc...@gmail.com>

Re: Property: struts.class.spring.enableAopSupport

2017-05-11 Thread developer researcher
<lukaszlen...@apache.org>: > btw. there was a bug, the name of the flag is > "struts.objectFactory.spring.enableAopSupport" - already fixed that > http://struts.apache.org/docs/spring-plugin.html > > 2017-05-10 8:28 GMT+02:00 Lukasz Lenart <lukaszlen...@apac

Property: struts.class.spring.enableAopSupport

2017-05-09 Thread developer researcher
Hello, I am using struts 2.5.10.1 with spring-plugin (Spring 4.1.6). According to the documentation, the default value of "struts.class.spring.enableAopSupport" is "false"; the description of this property is "*Uses different logic to construct beans to allow support AOP*"; however I have used

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread developer researcher
to application json and output a stream or a > string. In the action, I just convert the object to a stream. > > But, here's the question: does your spring AOP proxy work properly with > Jackson outside of struts2? > > > > On Mon, May 8, 2017 at 7:14 PM, developer researcher &

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
another library. > > > - adam > -- > _ > Adam Brin > Director of Technology, Digital Antiquity > 480.965.1278 > > > On May 8, 2017, at 12:27 PM, developer researcher < > java.developer.researc...@gmail.com

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
is is very strange because the code in the advice is simply "System.out.println ()" for testing purposes. Thanks 2017-05-06 8:21 GMT-05:00 Martin Gainty <mgai...@hotmail.com>: > MG>below > > ________ > From: developer researcher <java.developer

Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-05 Thread developer researcher
Hello, I am using Strust 2 with spring-plugin and json-plugin to use: 1. Injection of dependencies: apparently everything is working well. 2. Spring's AOP: works when applied over methods of injected objects in the Struts Actions but not when applied over methods of actions (my class extends

Re: REST in Struts 2 Web Applications

2012-02-16 Thread developer researcher
for this case using only struts2 and rest plugin? Thanks and regards, 2012/2/10 developer researcher java.developer.researc...@gmail.com Hello Lukasz, thank you for your answer, *1.* I have severals problems when include the configuration for the rest-plugin in struts.xml (attachment the file

Re: REST in Struts 2 Web Applications

2012-02-10 Thread developer researcher
information about rest plugin. Thanks and regards, 2012/2/10 Ɓukasz Lenart lukasz.len...@googlemail.com 2012/2/9 developer researcher java.developer.researc...@gmail.com: 1. both normal action and restful action in the same web application. Define struts.rest.namespace as mentioned in the docs

REST in Struts 2 Web Applications

2012-02-09 Thread developer researcher
Hello, I am using Struts2 2.3.1. I am evaluating the rest plugin and I have the next requirements: 1. both normal action and restful action in the same web application. 2. The URL structure for resources must be: - /list/ == show a list of resoruces in json format - /list/{id} == show

Struts 2 - problem updating page

2011-01-05 Thread developer researcher
Hello, I have the following problem: after submit a form, if it refresh (F5) the page the form is submitted again. How I can fix this? How I can configure Struts2 to avoid this behavior? Thanks in advance,

Re: problem mapping values from the jsp to the action

2011-01-03 Thread developer researcher
post to get and see what happens (see if get variables appear to the address bar) 2010/12/28 developer researcher java.developer.researc...@gmail.com: Hello Dave, Tito; thanks for answering Apparently there was a problem for the file extensions; I attach the example code

problem mapping values from the jsp to the action

2010-12-27 Thread developer researcher
Hello, I have problems to map fields value when the fields are within elements div. As example attached an JSP page, this jsp have three fields (campo1,campo2 and campo3). When I trying of print the values of these fields from the corresponding action, the following is displayed:

Re: problem mapping values from the jsp to the action

2010-12-27 Thread developer researcher
, 2010 4:28 PM, developer researcher java.developer.researc...@gmail.com wrote: Hello, I have problems to map fields value when the fields are within elements div. As example attached an JSP page, this jsp have three fields (campo1,campo2 and campo3). When I trying of print the values

Problem using json-plugin

2010-12-07 Thread developer researcher
Hello, I am using struts2 2.2.1 and the json-plugin for get data in json format fron an action. When the action creates the data directory there is no problem but when the action creates the data through a web service (using spring ws for create the cliente) occur exceptions: 1. Class

Re: Problem using json-plugin

2010-12-07 Thread developer researcher
serialize: @JSON(serialize=false). Regards, 2010/12/7 Dave Newton davelnew...@gmail.com My initial guess would be that it's trying to serialize everything in the world. Maybe try serializing something explicitly? Dave On Tue, Dec 7, 2010 at 11:41 AM, developer researcher java.developer.researc

Dependencies for Struts2

2010-12-07 Thread developer researcher
Hello, When I created my first application with Struts 2 I found the exception described in the attachment. Searching in the forums of the web I noticed that several had the same exception; following the suggestions I solved the problem by including the library 'javassist-3.7.ga.jar'

Re: Struts2 + Dojo 1.5

2010-12-03 Thread developer researcher
point I mentioned in my previous mail) becouse is no always the same work with 2 frameworks, that working with each one separately. Thanks and regards, 2010/12/2 Dave Newton davelnew...@gmail.com On Thu, Dec 2, 2010 at 4:23 PM, developer researcher wrote: Now what worries me

Re: Struts2 + Dojo 1.5

2010-12-02 Thread developer researcher
davelnew...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, November 30, 2010 12:26 Subject: Re: Struts2 + Dojo 1.5 Dojo is framework- agnostic. On Nov 30, 2010 12:12 PM, developer researcher java.developer.researc...@gmail.com wrote: Hello, Has anyone

Struts2 + Dojo 1.5

2010-11-30 Thread developer researcher
Hello, Has anyone worked with Dojo to create the UI? I do not refer to plugin for dojo. I mean to use dojo as javascript library to create the structure of the pages and form elements. I've been testing and I've run into several problems. I do not know if is a problem of struts2

Configuration for struts.convention.action.suffix

2010-11-29 Thread developer researcher
Hello, I need have a web application that expose part of its functionality as RESTfull web services. For this I plan to use the REST Plugin but this implies set in struts.xml the next: constant name=struts.convention.action.suffix value=Controller/ In this context i have a doubt: