i couldn't find getRedirectUrl(String)...instead i got getRedirect(String) and getReturnUrl()!
But getRedirect("string") returns ERROR irrespective of "string"...when there are error messages. Otherwise it throws IllegalStateException!
getRedirect(String) is what you need. ERROR will be returned if there is an error. forceRedirect will take you to the url irrespective of the error.
Not sure why you are getting IllegalStateException. That should be some error in your code!
so now its displaying the panel tab...but i want some to send some error messages to it as request params...
i think coz its redirecting hence a new request and all the prarams are lost.
any way round?
Send the parameter over url and access it through
HttpServletRequest request = ActionContext.getRequest();
It is just a workaround.
Dipti Ranjan Behera
Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events