Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Alan Chen
1,351 PointsHow to open a save dialog in my web application?
I'm using Spring + Hibernate for a web application. Right now the user gets data from a database and I'm displaying it with Spring. Once the data has been displayed, I would like to be able to save it in a CSV file in a location I want the user to be able to decide. How do I open up a Save Dialog (the "save as" window) in my controller?
1 Answer
Seth Kroger
56,416 PointsA location where? On the user's computer? If that's the case I'd set it up to download the CSV file and let the user's web browser handle where to save it.
Seth Kroger
56,416 PointsSeth Kroger
56,416 PointsSwitched the topic to Java since you're asking about a Spring/Hibernate app.