Re: forward question

2003-09-25 Thread Jan Van Stalle
Set up security in your web.xml; when the server encounters a request for a protected url and there is no session, it will redirect the request to a form defined in your security and then display the requested url. Your form should post to j_security_check with inputs name j_username and

forward question

2003-09-22 Thread Lázaro Miguel Fung
Hi. How I can invoke a login action from any pages thats require user be logged, and after valid logon, return to the page that the user was. TIA LFung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: forward question

2003-09-22 Thread Varun Garg
There are many ways to store the requested page and then redirect to the login action and once it is done pass it back to thr requested resource, if it is a matter of just the url with the query parameters you can use the HTTP-REFERER from the header to see if a different page was requested. Or

Tiles forward question - newbie

2003-01-04 Thread Danilo Luiz Rheinheimer
Hello , I have a stuts/tiles web application and it uses the classic sidebar-header-footer definition. I can override the contend body property using this : %@ taglib uri='WEB-INF/struts-tiles.tld' prefix='tiles' % tiles:insert definition='sidebar-header-footer-definition' tiles:put

Re: Tiles forward question - newbie

2003-01-04 Thread John D Hume
Message - From: Danilo Luiz Rheinheimer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 04, 2003 12:44 PM Subject: Tiles forward question - newbie Hello , I have a stuts/tiles web application and it uses the classic sidebar-header-footer definition. I can override

RE: action's forward question

2002-09-12 Thread Galbreath, Mark
I do not know; there should be no difference (and I assume you mean get, not request. Are you handling both types in your servlet, as in: private void execute( HttpServletRequest req, HttpServletResponse, res) {} public void doGet( HttpServletRequest req, HttpServletResponse, res) { execute(

action's forward question

2002-09-11 Thread
hi all , if my action's forward is a servlet, when my form's method is request then it the servlet can be forward correctly, or method is post , it can't be forward , but why? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Frames and Action forward Question

2001-10-31 Thread Damian L Powell
Put something like this inside the form tag; FORM TARGET=_parent ACTION=.. etc Try target=_top instead. This will load the results of the from in the top level window regardless of any containing frames. --- Damian L Powell [e] [EMAIL PROTECTED] [w] http://www.shadow-angel.com

Re: html:link forward question

2001-10-24 Thread lisa ward
within the form bean will be populated as a result of this. How does this really work? Thanks for your speedy response. Lisa From: Ted Husted [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: html:link forward question Date: Tue, 23 Oct 2001 11:18:08 -0400 A page

Re: html:link forward question

2001-10-24 Thread John Yu
Lisa, The common pattern is: jsp - action - jsp in which the action contains the logic to process the form bean. -- John At 03:56 pm 23-10-2001 +0100, you wrote: Hi, Can anyone please tell me how to achieve forwarding of one page to another as well as have the information in the form submitted

html:link forward question

2001-10-23 Thread lisa ward
Hi, Can anyone please tell me how to achieve forwarding of one page to another as well as have the information in the form submitted to the form bean in the process. Is this this possible or do I just have the wrong idea. Please help. Thank you for your speedy response. Lisa

Re: html:link forward question

2001-10-23 Thread Ted Husted
A page submits to an Action. If there is an ActionForm associated with the Action, it is automatically populated and handed to the perform method. The perform method returns an ActionForward, that could be another Action, a JavaServer page, or any other destination. So long as you continue to

RE: html:link forward question

2001-10-23 Thread Marcel Andres
:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 4:57 PM To: [EMAIL PROTECTED] Subject: html:link forward question Hi, Can anyone please tell me how to achieve forwarding of one page to another as well as have the information in the form submitted to the form bean in the process

Re: html:link forward question

2001-10-23 Thread lisa ward
within the form bean will be populated as a result of this. How does this really work? Thanks for your speedy response. Lisa From: Ted Husted [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: html:link forward question Date: Tue, 23 Oct 2001 11:18:08 -0400 A page

action forward question

2001-07-13 Thread Rama Krishna
hi all, how to refresh (create new instance of) the page that was forwarded from an action of another page?? it's like this page A - some action - page B page B - someaction - page A (forward-success) i want page A to get created freshly. any ideas??? thanks, rama.