Struts 2 release inquiry

2010-03-01 Thread Jevica Arianne B. Zurbano
Hi, Is there a plan of releasing 2.0.15? Thanks in advance! -- Jev - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Inserting data into nested collections

2010-03-01 Thread Alex
Thanks Adam for the fast reply. I'm not sure howver that your solution would solve my problem. I'll try to inspire from it however : ) I found this issue which looks pretty much related to my problem : http://jira.opensymphony.com/browse/XW-408 Is this a known issue in Struts 2 and OGNL ? Tha

RE: Inserting data into nested collections

2010-03-01 Thread adam pinder
Alex, i used the following and it worked ok with struts2. In JSP :- In Action, i have a get/set for opportunity which is an object with the following property (with get/setters) private Collection opportunityItems = new ArrayList(0); and the following additional method in the op

Inserting data into nested collections

2010-03-01 Thread Alex
Hi list, I am having hard time figuring out how to solve what seems to be a somewhat trivial problem ... I am using Struts 2 and OGNL in my JSP to send textfield values in my Action Class The struts Action looks something like this : public class MyAction extends ActionSupport { HashMa

Action tag: execute method not being called

2010-03-01 Thread adam pinder
BACKGROUND: I have the following line in a jsp page that is shown after login findMyActivityYes This action simply gathers data and stores it in a session object. Later on in the same jsp page i then have lines like The GenerateChart action uses the session object (from TeamActivity

RE: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
Not so bad... But I have the impression it would be complicated to apply on my source... Because we have nearly finish and they will kill me if I touch too much objects :) --- En date de : Lun 1.3.10, Martin Gainty a écrit : > De: Martin Gainty > Objet: RE: How to pass HTTPRequest between two

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
the submit button may be usefull to generate a password for example... But the user is not constrained to use it... It's because of that the second page cannot be the result of the first page. --- En date de : Lun 1.3.10, Nils-Helge Garli Hegvik a écrit : > De: Nils-Helge Garli Hegvik > Ob

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Nils-Helge Garli Hegvik
That depends. What are you trying to do? What is the purpose of the submit in the first place? If you just need to execute the second action directly after the first one, then configure your second action as a result of the first action. Nils-H On Mon, Mar 1, 2010 at 12:12 PM, Frederik Minatchy

RE: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Martin Gainty
one way is to package a bean which contains a method which will get or post the request e.g. <%@ page contentType="text/html;charset=windows-1252"%> <%=axiomclient.CallTheURL(object,request)%>   //sample code AXIOMClient extends ABunchOfClasses implements ABunchOfInterfaces {

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
Ok! Now I understand a little bit more! But I will ask you on last question (I hope :) ) How can I do the same think without creating 2 independents request? It seems that the submit button is not the good choice... Thank you for your help... --- En date de : Lun 1.3.10, Nils-Helge

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Nils-Helge Garli Hegvik
In that case, you're talking about two entirely independent requests. The request for the first action is no longer accessible for the second action invocation. So in this case your options are: - Store the data as request parameters that you pass on to the next action - Store the data in the sess

Re: struts 2 token interceptor problem

2010-03-01 Thread andreistoiculescu
Hi, Maybe you are caching web pages, either through explicit HTTP headers sent from the web server to the client, invisible in the HTML code, or in the Head section of your HTML pages, through the "meta" tags. If this is the case, the token interceptor will probably return a valid response only t

Axis2 1.4.1, Struts 1.2.9 and Weblogic 8.1. Problem in the deployment if the application is stressed.

2010-03-01 Thread Triquoit Mathieu
Hello, I have an application which runs under Weblogic 8.1SP3 (Solaris) and it uses Axis 2 1.4.1 to expose a webservice. The application (which is a web-based application) contains also Struts 1.2.9. When we deploy the application without traffic to the application in production, there is no prob

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
To go from the first action (the execute method) to the second one (supprimerIsbn) I use a submit button in the jsp : --- En date de : Lun 1.3.10, Nils-Helge Garli Hegvik a écrit : > De: Nils-Helge Garli Hegvik > Objet: Re: How to pass HTTPRequest between two JSP ? > À: "Struts Users

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Nils-Helge Garli Hegvik
I'm not following the chain of actions here... Where's the flow/connection between the two actions? Nils-H On Mon, Mar 1, 2010 at 11:36 AM, Frederik Minatchy wrote: > Perhaps it because of me and the way I understand HTTPRequest. > > Here is an other example : > > > in the class name : > > fr.bn

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
Perhaps it because of me and the way I understand HTTPRequest. Here is an other example : in the class name : fr.bnf.platon.bnf.actions.ConsultationEditeurDetailAction implementing ServletRequestAware interface when I am in the execute method I do : public String execute() throws Exception

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Nils-Helge Garli Hegvik
Either: - Don't do a redirect, but a regular dispatch [1] - Store it in the session Regards, Nils-Helge Garli Hegvik [1] - http://struts.apache.org/2.1.8.1/docs/dispatcher-result.html On Mon, Mar 1, 2010 at 10:40 AM, Frederik Minatchy wrote: > > > --- En date de : Lun 1.3.10, Alex Rodriguez

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Frederik Minatchy
--- En date de : Lun 1.3.10, Alex Rodriguez Lopez a écrit : > De: Alex Rodriguez Lopez > Objet: Re: How to pass HTTPRequest between two JSP ? > À: "Struts Users Mailing List" > Date: Lundi 1 mars 2010, 9h21 > Em 28-02-2010 23:26, Frederik > Minatchy escreveu: > > Hello... > > > > Since a few

Re: How to pass HTTPRequest between two JSP ?

2010-03-01 Thread Alex Rodriguez Lopez
Em 28-02-2010 23:26, Frederik Minatchy escreveu: Hello... Since a few days I am working with Struts 2. (2.1.6) I am facing a big problem with HttpRequest and JSPs. Well... I have to forward a HTTPRequest from page1.jsp to page2.jsp So... How can I pass HTTPRequest attribute betwen 2 pages? He

Re: When I link to a *.do I get "Page not found"

2010-03-01 Thread Alex Rodriguez Lopez
Em 27-02-2010 13:30, Søren Blidorf escreveu: I have made a struts application and it works just fine on my testserver. I have now uploaded it to my hosted webserver and struts does not work. When I link to a *.do I get “Page not found” Could it be a Tomcat config problem. Placing the jar