Results 1 to 4 of 4
  1. #1
    redforce.bala is offline Member
    Join Date
    Sep 2010
    Posts
    23
    Rep Power
    0

    Default Content Filtering

    Hi all

    How to do content filtering in java.Can anyone help me.
    Thanks in advance.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by redforce.bala View Post
    How to do content filtering in java.Can anyone help me.
    That's somewhat of a broad topic there partner! Care to share with us the specifics of your problem?

  3. #3
    redforce.bala is offline Member
    Join Date
    Sep 2010
    Posts
    23
    Rep Power
    0

    Default

    The task is that if i type localhost it is redirected to google.com while the reponse is coming from google i need to change something in that.How to do this.

  4. #4
    mruss is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    I'm still not 100% clear on what you're trying to do... it sounds like you want to set up some web service that forwards requests to Google, gets the response, modifies it, and returns the modified page to the client?

    Modifying the response in a servlet filter is a bit complicated. I haven't done it myself, but here's an example.

    Filter code with Servlet 2.3 model - JavaWorld

Similar Threads

  1. Filtering an array
    By counterfox in forum New To Java
    Replies: 7
    Last Post: 01-19-2012, 03:47 AM
  2. JLists - Filtering
    By Psyclone in forum AWT / Swing
    Replies: 1
    Last Post: 02-16-2010, 06:09 AM
  3. looping and filtering
    By javafanatic in forum New To Java
    Replies: 14
    Last Post: 02-09-2010, 09:48 AM
  4. filtering data in jsf
    By bbq in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 07-04-2007, 08:52 AM
  5. Jsf, Filtering Data In A Table
    By Freddie in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 05-11-2007, 12:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •