title: creation of a text file in jsp
body: <p>I have an existing JSP page that displays some static text. I'd like to know how to create a file containing this static text using JSP that runs on the click of a button (such as a get or post to another jsp page with some java.io file creation logic).</p>