This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes can I write filter that validate the html component tree if im using jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "can I write filter that validate the html component tree if im using jsp?" Watch "can I write filter that validate the html component tree if im using jsp?" New topic
Author

can I write filter that validate the html component tree if im using jsp?

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all
I need to write filter that validate html component tree before its renders to the screen
I mange to do this with jsf implementing the PhaseListener , but now I need to do the same thing
with system that made of pure jsp's . can it be done ?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

What do you mean by "Validate Html"?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Well I like to get the Component Tree of the html page then I will like to
Check based on html component id which component is which and then decide what manipulation to do based on the id I receive
for example :
to show or not to show the html component based on something like this component id

I hope I made my self clear now
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can I write filter that validate the html component tree if im using jsp?
 
Similar Threads
Tree Structure + Depth First Traversal?
Restricting user to upload a CSV file
JSF Tree Component using AJAX
Component Diagram -SCEA Part2
How to put Filter in component diagram