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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo