Re: Can I access URL parameters within struts.xml using ognl ?

2010-07-30 Thread colaru
Good question. Did you get a response, somehow? Is possible to use attributes from request, session or application in dynamic URL's? I'm interested in this. mikeh96 wrote: I would like to do something like this: (e.g. http://foo/view.action?page=help.vm) action name=view

Not able to deploy the Struts Framework application on Jboss server

2010-07-30 Thread venkat_...@yahoo.com
Hi, While deploying the Struts Framework application on Jboss server, I am getting the error messages. Here with I am attaching errors.txt file for error messages. Could any body guide/suggest to resolve my issue. Thanks, http://old.nabble.com/file/p29303630/errors.txt errors.txt -- View

Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
Unfortunately, I have to use XML here. So, I cannot use the first suggestion. If I use request.getInputStream, subsequent request.getParameter calls will fail. Will it cause any problems in struts? I would like to give a try to the third one. But not all the action controllers gets XML in the

Re: Reading input stream (xml)

2010-07-30 Thread Rahul Mohan
A variant of the first: change your encoding to multi-part and send 'data=your_xml_content'. Then struts will take care of getting the content, and also you don't have to worry about encoding the xml. From: Arun Kumar Boppudi arunkumar.bopp...@gmail.com To: Struts Users Mailing List

Integrating struts2-icefaces

2010-07-30 Thread Alejandro García Gil
Hi I want integrate struts2 with icefaces. I was able to integrate struts2 with myfaces, but i could not with icefaces. My server application is tomcat. Anyone can help me with the content of web.xml, faces-config.xml, struts.xml, jars, ..etc? Someone achieving integration of both technologies?

Re: Integrating struts2-icefaces

2010-07-30 Thread Stefano Corallo
Hi, i tried to integrate struts2 with richfaces, without luck! Also tried to integrate icefaces, same results!! How do you integrate myfaces? You have a helloworld.war to share so i can take a look!! ciao Il giorno ven, 30/07/2010 alle 11.33 +0200, Alejandro García Gil ha scritto: Hi I want

Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
Request to this controller comes from other applications, only in XML format. So, I cannot expect multi-part. -- AB On Fri, Jul 30, 2010 at 2:38 PM, Rahul Mohan rahul.mo...@tcs.com wrote: A variant of the first: change your encoding to multi-part and send 'data=your_xml_content'. Then struts

RE: Reading input stream (xml)

2010-07-30 Thread adam pinder
your action could implement ServletRequestAware then it has access to the full request including posted content. adam From: arunkumar.bopp...@gmail.com Date: Fri, 30 Jul 2010 15:31:15 +0530 Subject: Re: Reading input stream (xml) To: user@struts.apache.org Request to this

Re: Not able to deploy the Struts Framework application on Jboss server

2010-07-30 Thread Lukasz Lenart
2010/7/30 venkat_...@yahoo.com venkat_...@yahoo.com: While deploying the Struts Framework application on Jboss server, I am getting the error messages. Here with I am attaching errors.txt file for error messages. Could any body guide/suggest to resolve my issue. I don't see anything related

Where to find variables added in context

2010-07-30 Thread Amol Ghotankar
Dear List members, I am debugging my jsp page. I have added few list in my action context from my action. Now where do I find these list on my jsp page while debugging under which object. I get these objects on my debug window, in which object and exactly under which map do I get the values

Re: Mix SpringMVC 3.0 with Struts2

2010-07-30 Thread Struts Two
And why do you want to mix Struts 2 with Spring 3.0MVC? It is understandable if you want to use Spring DI with struts 2, however; if you already have Spring 3MVC, I think you should stick to it. - Original Message From: Frans Thamura fr...@meruvian.org To: Struts Users Mailing List

Re: Mix SpringMVC 3.0 with Struts2

2010-07-30 Thread Frans Thamura
To make development of choice in one container We success make dao sesfactory same (m) -Original Message- From: Struts Two struts...@yahoo.ca Date: Fri, 30 Jul 2010 05:43:37 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org

Re: Can I access URL parameters within struts.xml using ognl ?

2010-07-30 Thread Dale Newfield
On 7/30/10 3:42 AM, colaru wrote: Good question. Did you get a response, somehow? Is possible to use attributes from request, session or application in dynamic URL's? I'm interested in this.

Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
Thanks. But I am looking for a solution in Struts 1.3. -- AB On Fri, Jul 30, 2010 at 4:17 PM, adam pinder apin...@hotmail.co.uk wrote: your action could implement ServletRequestAware then it has access to the full request including posted content. adam From:

Re: Regular expression action mapper

2010-07-30 Thread Wes Wannemacher
Make sure you register it as a plugin here - https://cwiki.apache.org/confluence/display/S2PLUGINS -Wes On Sun, Jul 18, 2010 at 7:48 AM, koolbunnyrabbit linut...@gmail.com wrote: Hi all, Just trying to give back (or a shameless plug - you decide) Months ago (last year really) I implemented

Re: Migrating from struts 1.1 to 1.3

2010-07-30 Thread Wes Wannemacher
swap the jars and test? If you get errors that you don't understand, post here and we'll try to help. -Wes On Sun, Jul 18, 2010 at 3:48 AM, amine123456 eh.m.am...@gmail.com wrote: thanks but is there any way I can jump directly from 1.1 TO 1.3?? -- View this message in context:

Re: Struts 2 field validator thread safety

2010-07-30 Thread Wes Wannemacher
I would say that you probably should write the validator to be thread-safe (just to be sure). But, that being said, from a quick look at the validation framework (check classes like DefaultValidationFactory, ValidationInterceptor, etc. inside of xwork), it looks like xwork caches the validator

Re: Struts 2 constant not working...

2010-07-30 Thread Wes Wannemacher
I'd have to see more of the package configuration to be certain... Generally, when I've seen SlashesInActionNames it isn't mapping to the top of the package. For instance, I'd expect this to work - package name=top namespace=/ extends=struts-default action name=some/name/with/*

Re: Problem accessing a field from an object which is placed in session using the key from property file

2010-07-30 Thread Wes Wannemacher
try something like this - #sessi...@fully.qualified.salesconstants@SALES_MKT_CAT].salesPrice -Wes On Tue, Jun 22, 2010 at 9:56 PM, prathima prathima_b...@yahoo.co.in wrote: Hi, We are migrating Struts 1.2 application to Struts2 and I am facing some issues. I have all the constants defined