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 answers
Related Questions in STRUTS
- Package[package ognl] of target class[class ognl.MethodFailedException] of target [ognl.MethodFailedException[java.lang.NoSuchFieldError:Factory]]
- cancel button without any action method throws and exception
- Struts 6.x migration issues with sitemesh
- How to call an action method from JSP and pass a parameter in Struts 2
- Upgrading from Struts 2.5 to Struts 6 issue
- How to set base-uri for the Struts 2 CSP Interceptor?
- Struts 2 to Struts 6 Migration
- Struts response raw string
- How can I get metrics in Prometheus for Java Struts application?
- Migration From Struts 2.3.37 to 2.5.33
- java.lang.NoSuchMethodError: org.apache.tiles.impl.BasicTilesContainer.setApplicationContext(Lorg/apache/tiles/request/ApplicationContext;)V
- org.apache.jasper.JasperException: An exception occurred processing [/jsp/include/actionError.jsp] when updated to struts 6.3.0.2
- Why the browser is displaying a blank webpage?
- Struts 2 and JDK 17 numbers in locale
- How to properly escape this JSP code to avoid Stored XSS valnerabilities?
Related Questions in STRUTS-1
- cancel button without any action method throws and exception
- Why the browser is displaying a blank webpage?
- Global exception is not catching a sudden db disconnection error in Struts 1
- Upgrade From PDF.js to PDF.js Express
- How to use org.apache.struts.config.SecureActionConfig in struts2
- Facing CSRF issue While form submission
- How can I get the forward path in Struts
- Apache Struts 1: How do I return a processed JSP page as text/html for an AJAX retquest?
- Form not returning data after reload in Struts 1
- How to change code of struts tag into spring or jstl tag?
- org.apache.jasper.JasperException: "equal symbol expected" when using JSTL c:out as value of Struts1 html:checkbox
- Struts 1 and JQuery: how to dinamically change width to an option select according to the length of the text
- Not able to add another data to the jsp table and the popup is also not hiding after using the ajax
- Jboss5 struts1 ajax response data limited
- Hibernate throws exception, but only on first execution
Related Questions in STRUTS2-JQUERY
- Upgrading from Struts 2.5 to Struts 6 issue
- Struts 2 - Multi Select with Thousands of Options
- How to highlight and select first item in Struts2 Autocompleter using struts2-jquery?
- Error while upgrade to Struts 6 with struts jquery plugin
- Struts 2 problem to upload a document problem with ajax
- struts2.5.26 only file field is getting null on action class and rest fields are getting set
- Ajax call always going to error function in Struts 2
- How to check username availability using Ajax in Struts 2
- Getting Uncaught TypeError errors using Struts2 JQuery datepicker tag
- How to return catchable error to the ajax call in Struts 2?
- Post json to struts 2 action
- Opennms-source-26.0.0.1 is violating our open source org policy
- How to resolve ClassNotFoundException in struts2.5?
- How to resolve Error setting date with Struts 2 jQuery
- how to get javascript file names from context path and load it dynamically
Related Questions in STRUTS-VALIDATION
- ValidateForm class in Struts 1.X
- Accessing session in Spring validate method
- Struts 2.5.12 / 2.5.13 - Validations stopped working after struts upgrade
- Validation framework not working after struts upgrade
- Method calling inside setter is prefered or not in struts 2
- Struts2 visitor validation not work for JPA entity on EJB Module
- Struts 2 and Spring 4, how to get the validator or action object from spring application context
- Struts action class properties are getting null after using myinterceptors
- The header value of the struts2 select tag does not repopulate when validation fails
- Struts2 form-fields validation does not work
- My form is not repopulated when validation fails
- How to upload two different files and validate their type and size in Struts2?
- How to short-circuit a @CustomValidator?
- Adding @RequiredStringValidator causing result not to be found
- Struts2 custom interceptos not calling when validation errors coming from validation xml file?
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?
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)
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.