Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6129899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:47:45+00:00 2026-05-23T16:47:45+00:00

I am trying to create an RSS feed dynamically and store it on server,

  • 0

I am trying to create an RSS feed dynamically and store it on server, such that to access the created RSS feed I can just type in the URL from the browser. Is it possible to do so?

I can create the RSS feed, but when I try to save it on server using FileOutputStream("WebContent/filename.xml") it gives me FileNotFoundException. Is my approach correct, or is there any other way to store a file on the server and access it using a simple URL?

I am using spring schedulers to run my application every minute to create the RSS feed dynamically.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:47:46+00:00Added an answer on May 23, 2026 at 4:47 pm

    Generally, you don’t “generate & store” such things. You serve dynamically & cache them (both http cache (for clients) and internal cache (so that you don’t fetch multiple times)). Spring 3.1 cache abstraction would allow that easily.

    In order to store files to the server you need to know what the root directory of the webapp is. You can get it by request.getServletContext().getRealPath("/"). Note that these files will be gone after undeploy, so you might consider storing them in an absolute, outside-app location. Also note that you can’t write them in unexploded war archives. And another thing – there is no WebContent by default – it is the project directly but it does not correspond to a directory in the web app distributable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a gadget for win 7, that retrieves the RSS feed
Im trying to create a RSS feed reader for a project that I working
I'm trying to create a RSS 2.0 feed in ASP.NET C# with products to
I'm trying to create a rss feed in my Kohana app. I did this
I'm trying to create an image gallery from an rss feed with the galleryview
I'm trying to create a Podcast RSS feed using WCF. The feed seems to
I've created an RSS feed using Zend_Feed. It seems to have worked in that
I am trying to create a application that will consume RSS data using .NET
I am trying to create a rss feed from a web page. I am
I am trying create a WCF service that leverages the WPF MediaPlayer on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.