aspose file tools
The moose likes JSP and the fly likes Creating jsp page on the fly and saving it Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Creating jsp page on the fly and saving it" Watch "Creating jsp page on the fly and saving it" New topic
Author

Creating jsp page on the fly and saving it

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
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
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1860
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!
Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Creating jsp page on the fly and saving it
 
Similar Threads
creating a java package
Dynamically Creating JSP
out.print ln dynamic form value picking
Display a list based on JSP input
Writing Image Bytes on Response Stream