dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Servlet/JS/XSL

  1. #1
    Join Date
    Nov 2006
    Posts
    9

    Question Servlet/JS/XSL

    Hi.. newbie and my first post:

    I have a RSS feed. I want to display it on my web page.

    I have a Java Servlet, which calls the XSL file and generates a HTML output. The XSL has a code, which accesses a JS to display RSS on my web page. So far, everything is working fine. But I cant view RSS result on my Firefox browser. It is working perfectly fine on my IE.

    Any ideas what cud be wrong?

    Thanks,

    Aarushi

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    probably an error in the JS.

  3. #3
    Join Date
    Nov 2006
    Posts
    9
    but why isnt Firefox JS Console showing any error??

  4. #4
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    no clue??

    i'm not a mind reader, i don't know what your code is doing : )

    but this is the wrong forum - you should probably post in the JS forum.

  5. #5
    Join Date
    Nov 2006
    Posts
    9
    the reason I posted on this forum is: the script works as a static html page but does not work when I run it on my servlet.

    I know u r not a mind reader, slight description of my program. Please feel free to give suggestions.
    My Java servlet takes an xml file and xsl file, and transforms/renders an HTML output. I basically integrated some code provided my other developers.
    I now have a JavaScript, which gets a RSS file and renders it output as an HTML file. This JavaScript has not been written by me, and with my knowledge, I think its using a bit of AJAX.

    If there is any other way to display RSS output using JavaScript/non-JavaScript I would appreciate.

    Thanks

  6. #6
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    java has built in XML api.

    you realize that you can post your code for others to see right?
    Do you have a link to this script in action?

  7. #7
    Join Date
    Nov 2006
    Posts
    9
    I was not sure if I can paste it.

    Anyway I have attached the two javascript files, which are responsible.. The person who has written this code (and I am integrating with my application) is not at useful
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles