aspose file tools*
The moose likes Java in General and the fly likes Creating file on a server through a jsp which is running on another server 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 » Java in General
Bookmark "Creating file on a server through a jsp which is running on another server " Watch "Creating file on a server through a jsp which is running on another server " New topic
Author

Creating file on a server through a jsp which is running on another server

sagar vedantam
Greenhorn

Joined: Nov 06, 2000
Posts: 8
Hi guys,
I am involved in a project which is used for alliances between different sites.
Suppose there is site 'A' which is content provider to site 'B'.
Site A maintain a database of list of sites who wants A's
content.Now site A is creating a software which generates an
html page with the links to A's site for site B(i.e in B's
site content of site A is displayed.
This software should store the html page on B's site.
i.e B' server.
This software is running on A's server and should store the
html page on B's server i.e Software will be running on A's
server and should store html file in B's server.
How should i store the html page from A's server to B's server?
Any one please help .......
Thanx
Sagar
Jesse Tilly
Ranch Hand

Joined: Jun 25, 2000
Posts: 37
If A and B are visible to each other, but relatively invisible to the outside world, NFS, Samba or any other network filesystem would work here.
If this is HTML, remember you're only writing URLs for a browser to locate, it shouldn't matter if the files that the HTML file refer to are located in the same place as the HTML file, so long and the links in the HTML are correct. Granted, this means you have to use fully qualified URLs, but it may make your life easier.
If the machines are distant, you may need to create a VPN for the network filesystem.
Jesse
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating file on a server through a jsp which is running on another server