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).
Share
Try this a sample creation handle it in button