Re: Dispatch does not work ( Struts2 + tile)

2009-12-24 Thread Wes Wannemacher
On Wed, Dec 23, 2009 at 12:27 PM, Emi Lu em...@encs.concordia.ca wrote: (1) jsp s:form namespace=/Edit action=ProcessTest [snip]  action name=editProcessTest class=ProcessTest method=edit That form doesn't look like it is calling the action... Your action is named 'editProcessTest', but the

Re: best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-24 Thread Wes Wannemacher
Charles, I haven't really found any way to get around the setup you are talking about... If you want validation, you pretty much have to map to different actionable URLs. From the framework's perspective, it really can't know that you want validation or not without different request URLs. The

Forwarding to a Java Application

2009-12-24 Thread Rafael Muneton
In a Web Application I need to redirect the flow of the information to a Java class nor to a Servlet or a JSP. However in the web i have found a lot of material but none mentions what i am looking for. How is this achieved? Any idea is welcome. Rafael

Re: Forwarding to a Java Application

2009-12-24 Thread Wes Wannemacher
Will the Java App(let) be up and running, or will you need to launch it with the information passed to it? -Wes On Thu, Dec 24, 2009 at 10:52 AM, Rafael Muneton rafael_mune...@hotmail.com wrote: In a Web Application I need to redirect the flow of the information to a Java class nor to a

Re: Forwarding to a Java Application

2009-12-24 Thread Vitor E. Silva Souza
On Thursday 24 December 2009 16:52:35 Rafael Muneton wrote: In a Web Application I need to redirect the flow of the information to a Java class nor to a Servlet or a JSP. However in the web i have found a lot of material but none mentions what i am looking for. How is this achieved?

RE: Forwarding to a Java Application

2009-12-24 Thread Rafael Muneton
Hi Wes: Well, this web application is the entry to a whole application, it is the MainMenu screen where I have several menu options the user can choose from.And depending on the User , I allow some options or allow all the options. Rafael Date: Thu, 24 Dec 2009 11:37:42 -0500 Subject:

RE: Forwarding to a Java Application

2009-12-24 Thread Rafael Muneton
Hi Vitor: What I am trying to achieve is that , after a user can log in to the Web Application, this user receives the MainMenu screen of the Application, where there are several options, that he/she can choose from.This MainMenu is a Java application not a Servlet. And after reading your

Re: Forwarding to a Java Application

2009-12-24 Thread Wes Wannemacher
On Thu, Dec 24, 2009 at 12:52 PM, Rafael Muneton rafael_mune...@hotmail.com wrote: Hi Vitor: What I am trying to achieve is that , after a user can log in to the Web Application, this user receives the MainMenu screen of the Application, where there are several options, that he/she can

RE: Forwarding to a Java Application

2009-12-24 Thread Rafael Muneton
OK Wes: I am trying to understand you. I will test my Appl and will keep you posted. Thanks a lot. Rafael Date: Thu, 24 Dec 2009 13:48:49 -0500 Subject: Re: Forwarding to a Java Application From: w...@wantii.com To: user@struts.apache.org On Thu, Dec 24, 2009 at 12:52 PM, Rafael

how to access struts2 propery from jsp or vice versa

2009-12-24 Thread Parm Lehal
Hello, I am stuck in trying to access some variables from value stack in jsp page. Is there anyway to do it easily? Is there anyway to communicate with a bean defined in jsp with jsp:useBean tag from struts2? I can access values in struts but not from jsp side. ..Basically I am trying to do

Re: how to access struts2 propery from jsp or vice versa

2009-12-24 Thread Wes Wannemacher
There is an http header result type and two redirect result types that are much better suited for this. You can use properties in the struts.xml file as params for the result. I am on my phone, but perhaps someone else can post an example. -W On 12/24/09, Parm Lehal ple...@lehal.net wrote: