Hi Guys, I am creating a JSP page on a fly where user enters text and inserts images to create the page he wants. After he'd create the web page I want to be able to save the page that was created and upload it to the server. How do I go about saving a dynamic page? thanks, Alex
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
sharp shooter, and author
Joined: May 10, 2000
Just to turn this on its head ... have you thought about simply saving the HTML fragment and including it from a standard/common JSP? Does the user have the ability to enter JSP code, or are they just typing HTML and using images? If they are using JSP constructs, don't forget that this could be a potential security risk since they can build a JSP that runs some nasty code on the server. Just some thoughts ... hope they help!
Joined: Jan 24, 2001
Actually they just enter heading name, locate image and text files on their PC and the JSP page creates a page on the fly. What I need to do is somehow save the html code that the JSP page had produce. User can't enter any code. thanks, Alex