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 ]
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Jul 31, 2003
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.