RE: about current action name acsess

2008-03-02 Thread hns
it works now i made just this change in struts.xml first i wrote Login_input now it works fine when i write Login_input ${postLoginURL} something i could understand is because of result type chain inspite of redirect action is is true? -- View t

RE: about current action name acsess

2008-03-02 Thread hns
Great ! you have realize me abt difference between session and request but i do not understand why this logic do not works to me if u have little beat time to investigate my work i would like to attach my core files like login.java login.jsp my interceptor my struts.xml files -- View this m

RE: about current action name acsess

2008-03-01 Thread Kedar Choudhary
March 01, 2008 12:01 PM To: user@struts.apache.org Subject: Re: about current action name acsess After Inspecting postLoginURL I have found that entry of ctx hashtable PostLoginURL remains in it but it can not come at Login.java(getter and setter of PostLoginURL) so i think some thing missing in

Re: about current action name acsess

2008-02-29 Thread hns
After Inspecting postLoginURL I have found that entry of ctx hashtable PostLoginURL remains in it but it can not come at Login.java(getter and setter of PostLoginURL) so i think some thing missing in it or wrong at login.jsp so value can not come after submitting form at login.java -- View this

Re: about current action name acsess

2008-02-29 Thread hns
Thanks to you and also thanks to kedar for great logic but i dont know why postLoginURL remains empty in my case so i have choose way of session it works fine right now but i dont know about future problems of it i have done like this Inside interceptor i wrote if (!is

Re: about current action name acsess

2008-02-29 Thread Jeromy Evans
hns wrote: please help i am waiting for your reply Kedar's example looks really good. Double-check that you've done everything he's asked Put a breakpoint inside your interceptor to see if postLoginURL is being built correctly. Assist your debugging by forcing it to return redirect every t

RE: about current action name acsess

2008-02-29 Thread hns
please help i am waiting for your reply -- View this message in context: http://www.nabble.com/about-current-action-name-acsess-tp15736383p15756791.html Sent from the Struts - User mailing list archive at Nabble.com. - To uns

RE: about current action name acsess

2008-02-29 Thread hns
Thanks yes i have put hidden field already as per you told but it can not show any param of requestURL in url i think i can not get any value of %{#postLoginURL} what actually happens i dont know how can i check value of postLoginURL is available upto login.jsp or not can i use <%=ActionContex

RE: about current action name acsess

2008-02-29 Thread Kedar Choudhary
Subject: RE: about current action name acsess Thanks i have put setter and getter for postLoginURL but using eclipse debugger i have found that postLoginURL is remains empty i dont know why so my result becomes success instead of redirect what is an issue? please help me? -- View this message

RE: about current action name acsess

2008-02-29 Thread hns
Thanks i have put setter and getter for postLoginURL but using eclipse debugger i have found that postLoginURL is remains empty i dont know why so my result becomes success instead of redirect what is an issue? please help me? -- View this message in context: http://www.nabble.com/about-curre

RE: about current action name acsess

2008-02-29 Thread Kedar Choudhary
current action name acsess Nice guidance! i want to ask just one thing how do i get if(postLoginURL != null && !postLoginURL.isEmpty()) return "redirect"; it means i have to set if(ActionContext.getContext().get("postLoginURL") != null && ActionCo

RE: about current action name acsess

2008-02-29 Thread hns
Nice guidance! i want to ask just one thing how do i get if(postLoginURL != null && !postLoginURL.isEmpty()) return "redirect"; it means i have to set if(ActionContext.getContext().get("postLoginURL") != null && ActionContext.getContext().get("postLoginURL").isEmpty()) or another

RE: about current action name acsess

2008-02-28 Thread Kedar Choudhary
S; } ... } struts.xml home ${postLoginURL} -Original Message- From: hns [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 11:29 AM To: user@struts.apache.org Subject: Re: about current action name acsess i have one interceptor(referenc

Re: about current action name acsess

2008-02-28 Thread hns
i have one interceptor(reference of mailreader example of 2.0.11 ) for check in session about username because if person click on some authorized link like portfolio they should directly to login action i have achieved this thing using interceptor now my problem is that when person submit his us

Re: about current action name acsess

2008-02-28 Thread Laurie Harper
hns wrote: hi how can i access current action name from struts.xml file How would you define 'current action' in the context of a configuration file? Can you explain what you're trying to achieve? L. - To unsubscribe, e-ma