A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Struts2 Popup after submit doesn't remain in the same page.
Joined: Jan 13, 2010
Mar 06, 2013 17:42:58
I have created a popup. When ever i submit on popup page it still should be open until i manually closes it.
But after submit a new page with submit url action is displayed.
my configurations below
<action name="ChatConnector" method="openSession" class="struts.chat.ChatConnectorAction">
<result name="success" type="taipanVelocity">/svelocity/chat/chatconnector.vm</result> <!-- a pop-up -->
<action name="SendChat" method="send" class="struts.chat.ChatConnectorAction">
create a popup using dojo and make a ajax call for content /ChatConnector.action Popup comes up fine. Now After submit of SendChat it is comming up as hhtp:localhost:8080//<MyCode>/SendChat
Joined: Jul 17, 2012
Mar 08, 2013 04:50:05
Learning some thing New Every Day
Have you checked out
subject: Struts2 Popup after submit doesn't remain in the same page.
Overriding default interceptor stack
Interceptor messes up action class in Struts2
struts2 execandwait interceptor
NullPointerException @ validation interceptor
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015