Results 1 to 2 of 2
  1. #1
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Rep Power

    Default Help with reading RSS feeds

    I'm working on a project that uses JSP. Our project involves pulling in XML from an internal server, then parsing it. I'm not too worried about the parsing of the XML, but I can't seem to find any online resources on how to actually grab an XML file from a server via an HTTP request.
    I think Java uses file streams, network sockets, etc.

    I've searched on Google for things like "JSP read remote files", and the like. The closest that I've come is something reading RSS feeds, but they usually have some proprietary or custom bean / tag library that I can't get installed.

  2. #2
    susan is offline Member
    Join Date
    Jul 2007
    Rep Power


    Someone might have a better bean example, but the basics look like this.

    Getting Text from a URL (Java Developers Almanac Example)

    If you wish to explore more options, here is a good tutorial from Java World

    Using XML and JSP together - Java World

Similar Threads

  1. Reading cookies in JSP
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 03:12 PM
  2. Reading cookies from JSP
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-10-2007, 05:37 PM
  3. Reading web contents
    By javaplus in forum Networking
    Replies: 2
    Last Post: 11-29-2007, 10:28 AM
  4. Reading a file for use
    By peachyco in forum New To Java
    Replies: 2
    Last Post: 11-27-2007, 03:49 AM
  5. Reading from a file
    By leebee in forum New To Java
    Replies: 1
    Last Post: 07-23-2007, 12:02 PM

Posting Permissions

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