Thank you all for the replies. Ya Campbell using JFileChooser. Morever it works with saveDialog but wanted both open, save and cancel all in one dialog. If possible with any other Swing or AWT component also.
This is a simple java application with Swing as the front end.There is no web based module in it. I obtain some data from various tables in a database and then made a csv file out of it using :
I want this new csv file created to appear as windows download dialog box with options 'open' 'save' and 'cancel'.How do I do this?
I have got a form ,which I need to validate using validation.xml.To reach this form I use a link forward from the main page.This form has some values which get filled from the database so the action needs to be executed atleast once.But when if the action gets executed (using link action) for getting data from the database the validation happens and results in display of all errors when the page is first displayed.
The reason for this errpr is whatever I am trying to get thru
the values are not there in request.What is the difference(the way it executes) when you run the program with validation and without validation? The values for request are supplied thru UserDetailsVXMLAction class.
The problem is there is a user form which the user fills when he hits the submit button it moves to the confirmation page on which there is a ok button.When you hit the ok button the data should fill a database.I am using the same actionForm across.Problem occurs when I try to populate the database the user DataForm gets reset.So how do you get the data across.I am using the request scope.
Is it possible to use the same ActionForm across multiple actions? How do you get the data into another action which is not part of the original action mapping in struts-config file?