Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filter and applet communication

 
Sharon whipple
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After long and frustrating retries to build working servlet front controller that will answer any user request , I managed to build filter servlet using tomcat's filter mapping
Its working great!
I am able to catch every user request!
My problem is that I am unable to communicate with user applets using streams , Example Filter:

Anyone used this kind of communication?
Please feel free and post anything that can assist me .(links , examples ,etc)
Thank you all !
Sharon
[ August 11, 2003: Message edited by: sharon pl ]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out chapter 17
http://archive.coreservlets.com/
 
Sharon whipple
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Cindy
I downloaded the 17 chapter pdf and read it,
I am able to communicate between applet and normal servlet using GET POST and byte streams,
My problem start when I am using j2ee Intercepting Filter pattern can be found here:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.html
I am unable to stream data between the applet and my filter servlet,
This filter extending the Filter class instead of the: HttpStrvlet class
And receiving ServletRequest and ServletResponse as parameters instead of:
HttpServletRequest and HttpServletResponse in normal servlet.

Thank you ,
Sharon.
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't wait for 2nd edition:
http://www.amazon.com/exec/obidos/tg/detail/-/0130092290/002-1569969-5672855
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic