Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic