• 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

HTTP Handlers in WebLogic 8.1

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a way in WebLogic to tie a http handler when a post is perfmored so that the handler is executed before the final destination?
For example if a .jsp page was posted/requested I would like a custom http handler to take the request and perform some routines before the .jsp gets it. If the request is malicous for some reason then I would like to return the request back to the user without continuing to the jsp page. I cannot add code to the jsp page. This solution has to be seemless enough to drop a .jar and change a configuration file without modifying existing files.
I also don't want to reroute the request using different ports. This is sloppy. I know this solution could quickly work by taking it in on port 8080 and then sending it to 8602 for example. An http handler is much cleaner.
Thanks in advance for the help! I greatly appreciate it.
-Eric
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think what you want is a Servlet Filter. Check out this article by Jason Hunter for a quick overview.
 
reply
    Bookmark Topic Watch Topic
  • New Topic