| Author |
Filter and applet communication
|
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
|
|
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
Joined: Sep 29, 2000
Posts: 8521
|
|
Check out chapter 17 http://archive.coreservlets.com/
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
|
|
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
Joined: Jan 30, 2000
Posts: 3219
|
|
Can't wait for 2nd edition: http://www.amazon.com/exec/obidos/tg/detail/-/0130092290/002-1569969-5672855
|
Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
|
 |
 |
|
|
subject: Filter and applet communication
|
|
|