This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
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: 1913
    
    6
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
 
wood burning stoves
 
subject: Creating jsp page on the fly and saving it
 
Similar Threads
out.print ln dynamic form value picking
Dynamically Creating JSP
creating a java package
Writing Image Bytes on Response Stream
Display a list based on JSP input