• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Displaying Static Content

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using Websphere 3.5 for a web application.
In my application I generate PDF files dynamically on the application server and display them to the user. In order to display these PDF files to the user I enable the File Serving Servlet.
The problem is that once I enable the File Serving Servlet I need to place all my static content(gif, html, css) on the application server. I am unable to be "picky" about where I put my static content. I believe this is causing some performance degradation.
Any help is appreciated.
Michael Glen
 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not place the PDF file into IHS (or other web server) htdocs directory? And let the IHS serve it?
 
Michael Glen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I could get the file over to the web server I could let IHS serve the file. Unfortunately, there are firewalls and other security issues which make this somewhat infeasible.
It would be nice if the File Serving Servlet had some configuration parameters which allowed it to handle such scenarios.
What if I had a web application which dynamically generated html files. How could I use WAS, IHS and OSE to show these files to the end user without placing all static content on the app server?
Michael
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic