• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How to map /assets/* to /myServlet?asset=* in WAS4.x

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I'm VERY new to J2EE and try to write an servlet for image management. The target environment is a WAS4.04 server (with Portal running on it). I've managed to get my servlet to produce results with
(which returns the image)
Since "normal" web designer want to prepare pages offline and asked for
I'm using the IBM HTTP Server that came with WAS404.
Ideally the mapping should happen on the server side (tranparent to the client).
I tried to add some config into the httpd.conf:
RewriteEngine on
RewriteRule /assets/(.*)$ /MyApp/MyServlet?asset=$1
... but no luck...
Any help?
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic