Hi Experts,
I want to know if it is possible in Struts 1.x to display a confirmation dialog from Struts Action. In more detail :
I have Action Form,Action Class and importList.jsp file. When i click a button(on the main Jsp file) .. the current importList.jsp is displayed by setting the properties of Action Form. In this jsp file i have ok and cancel button. When i click OK button, on the basis of some condition i want to show the confirmation dialog saying yes or no, if the user clicks yes it will move forward, and on cancel.. it will move to main jsp file(not to importList.jsp file)
Any ideas ....
How to showConfirmationDialog window form Struts Action
1.1k Views Asked by Beutiful World At
1
There are 1 best solutions below
Related Questions in STRUTS
- How to disable drop down list in JSP?
- Internal Server error while calling an Java method from JSP
- Spring Security Struts 1.3 integration without extending GrandAuthority and UserDetails
- Persistent authentication filter logging in; not propagating to JSP
- Can Struts 2.3 be used with Struts 1.3?
- Ehcache - Not fetching value from Cache
- Fwd: Issues porting application from tomcat 5.0.28 to tomcat 7.0.57
- Struts 1.2 : Unable to load a jsp as Action class isn't called
- Choosing between Pure HTTPS or HTTP/ HTTPS for a web application
- The background JSP window disappears when a new JSP dialog is displayed
- Passing values in query string in jsp and struts
- getting request variable in DAO
- Struts 2.3: Change scope for Action Beans
- Bootstrap datepicker not showing correctly
- HTML to XHTML conversion without HTML tag
Related Questions in STRUTS-1
- Table inside a table
- Scope attribute migration from Struts1 to Struts2
- Using the 'property' attribute of html:select tag as replacement for id in javascript document.getElementById['']
- How to persist form bean object value to retrieve it later in Struts 1
- Spring Security Struts 1.3 integration without extending GrandAuthority and UserDetails
- Tiles library requires a struts class even though webapp is based on spring
- Can Struts 2.3 be used with Struts 1.3?
- spring 4 struts 1.x mixing xml and java config
- Table row data submit in struts 1.2
- How to parse the string with some UTF8 characters in the html:optionCollection in struts using LocalValueBean?
- How can I test my Struts 1.2 web application without server?
- Cannot format numbers after migration to struts 2
- No bean specified in struts1
- hdiv org.hdiv.filter.ValidatorFilter cannot be cast to javax.servlet.Filter
- How to call struts action from plain javascript file
Related Questions in STRUTS2-JQUERY
- Struts 2: How to add dynamically inputs in jsp from the action?
- Struts2 Jquery jqGrid beforeShowForm Example
- Struts2 jqGrid Remove x On Individual Column Filters
- Struts2 jqGrid Bind afterclickPgButtons to Edit Dialog
- struts2-jquery datepicker tag not loading in struts2-jquery tabbedpannel tag
- How to pass option key and value as an object from jsp to Struts 2 action class?
- Set default value for struts 2 autocompleter
- struts 2 jquery grid plugin change only one column header style
- How to set background color in grid column of struts-jquery-grid
- Button to navigate into different tabs in Struts 2 jQuery tabbedpanel
- Struts 2 jQuery Subscribe is called more than once
- How to showConfirmationDialog window form Struts Action
- Passing an array as a parameter in $.getJSON() method
- Struts 2 jQuery Load a div base on a select value
- struts 2 jquery plugin set the form target
Related Questions in STRUTS-VALIDATION
- Method calling inside setter is prefered or not in struts 2
- Struts2 validator
- How to showConfirmationDialog window form Struts Action
- How to return custom response on failing validation in Struts 2
- struts 1 validation isn't working
- comparing values on keyup of textbox Struts 2 java script validation
- Blacklist regular expression to validate human name in any language
- How to do validation in struts2 when calling action from jquery ajax?
- Displaying struts validations message
- Validation in Struts - iterating text filed
- Validations in Struts2 for Integer value?
- Can we automate struts2.x validations framework?
- How to specify max param in Struts2's Date Field Validator?
- AJAX validation fails for all form data
- How to return values to jsp when validation fails
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use javascript to get this done. Instead of "Yes/No" dialog you will get "Ok/Cancel" dialog box. You will have to replace
"importList url"and"main page url"with your actual urls.This may not be syntactically accurate but it's a start.