This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes jsp site on cd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp site on cd" Watch "jsp site on cd" New topic

jsp site on cd

Pat Wallwork
Ranch Hand

Joined: Sep 23, 2001
Posts: 72
I had a client ask if it's possible that I put their web site on a cd so that it's fully functional for display purposes on any computer that has a cd rom without internet access. Their site is mostly jsp's and some servlets with a MySQL backend. Is this possible? Any links would be greatly appreciated.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Not really, at least not in the sense that it seems your looking for. It can be done but the big problem is that you're still going need to have a server and a servlet/jsp container on any machine that they want to run it on.
They'll also need to set up the application according to the containers own specification - in most cases this would be setting some sort of virtual directory reference to point to the CD. You could try to hard code a config file for all the major servers/containers but then you'd run into problems when the CD drive letter changed.
But they can easily burn the site nto a CD and carry it around then copy it over to a new server that is set up for it. As far as running it off a CD - not the way you're looking to do it.

Pat Wallwork
Ranch Hand

Joined: Sep 23, 2001
Posts: 72
I didn't really think so either Dave but I wanted to double check. Thanks for your reply.
They told me not to spend much time researching if it was possible as it's not a priority for them anyhow, so we'll nix that idea!
Thanks again,
I agree. Here's the link:
subject: jsp site on cd