Re: Struts 2.3.14.3 seems to drop ".action" from the generated form action

2013-06-25 Thread Lukasz Lenart
Hi Bruno, You already mentioned that, right now I don't have any solution and this looks like a bug. As I understand it happens randomly, it isn't a common pattern? And using http://www.lenart.org.pl/ 2013/6/24 Litman, Bruno : > Dear all, > > In the context of an tag, for instance for a login a

Re: Struts2 with Jersey

2013-06-25 Thread Lukasz Lenart
Struts2 doesn't support JAX-RS spec, so you cannot mix those two. If you annotated your action as a JAX-RS bean, Jersey will take control over, Struts2 won't be engaged Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/25 lily : > Have anybody tried with using jersey along wit

Struts2 with Jersey

2013-06-25 Thread lily
Have anybody tried with using jersey along with struts for the rest api. Before I have an execute() method in the rest api that has code for redirecting into get , and now if I replace my code with jersey path annotations how can I use the work done by action in struts -- View this message in

Kerberos + struts2 + SpringMVC

2013-06-25 Thread Emi Lu
Hello, Could someone provide an example or online document about how "struts2 + kerberos + tomcat7 + SpringFramework" SSO login model works? E.g., == (1) User login to windows/unix within local network (2) Open: https://www.local_network_webapp1.com https://www.local_network_we

Re: Choosing locale from browser settings

2013-06-25 Thread Chester Twomey
Look into the i18n intereceptor: http://struts.apache.org/release/2.3.x/docs/i18n-interceptor.html An example: http://www.mkyong.com/struts2/struts-2-i18n-or-localization-example/ On Tue, Jun 25, 2013 at 5:27 AM, Antonio Sánchez wrote: > Hello. > > I need to return content localized to the brow

Re: Struts2 Performance Tuning

2013-06-25 Thread Dave Newton
On Tue, Jun 25, 2013 at 7:40 AM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > More over most plugins like json, > jquery etc having static file bundled inside corresponding jar how about > that? > Same thing: extrapolate--a static file is a static file, although I'm not aware of

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
i'm using s2 ui only but the performance tuning related to FM is confusing, one place it saying to set a cache property and other place its saying to extract static resources from jar to web. More over most plugins like json, jquery etc having static file bundled inside corresponding jar how about

Re: Struts2 Performance Tuning

2013-06-25 Thread Dave Newton
The S2 theme templates are written in FreeMarker; if you're using the S2 UI tags, you're using FM. Other items related to interceptor stacks, dev mode, and so on. Consider reading the whole page, as it covers the first line of defense. Dave On Tue, Jun 25, 2013 at 6:43 AM, Sreekanth S. Nair <

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
As i mentioned, seems like its old and its confusing related to freemarker and other plugin static resource loading. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 O

Choosing locale from browser settings

2013-06-25 Thread Antonio Sánchez
Hello. I need to return content localized to the browser locale from the very first visit. I guess I need: 1. Detect browser locale. 2. Apply that locale in response and subsequent session. How can I do it? Thanks! Antonio