| Author |
Implementing CAP in JSP
|
Bawa Nathan
Greenhorn
Joined: Nov 01, 2009
Posts: 7
|
|
Hello
Has anyone tried to implement CAP data feeds through JSP? I need to display CAP disaster alerts on our departmental websites.
Thank you in advance.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56528
|
|
Perhaps it'd be a good idea to let us know what CAP stands for?
Civil Air Patrol?
Center for American Progress?
Citizens for Animal Protection?
A hat?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bawa Nathan
Greenhorn
Joined: Nov 01, 2009
Posts: 7
|
|
|
Sorry, my bad, CAP = common alerting protocol
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56528
|
|
I assumed it was "Common Alerting Protocol" but you get the idea... please explain acronyms rather than assuming everyone knows what they mean.
In any case, consuming a feed isn't something that's appropriate for a JSP to be doing. JSPs are for emitting views, not processing data.
Write a Java class that consumes the feed. Then if you need to display it in a JSP, it can easily be sent to the JSP for display.
Have you googled? java cap feed
|
 |
Bawa Nathan
Greenhorn
Joined: Nov 01, 2009
Posts: 7
|
|
Thank you Bear!
I am looking for an alternate instead of implementing through Java. Our departmental websites are published through a content management system where the pages are mainly published in html format. I haven't investigated if its possible to add java content in there. But the previous implementation of disaster alerts using KML was done through javascript. So I have been trying to find resources to implement CAP in javascript but haven't come across any.
Right now, I am trying to put together the different ways to implement CAP file so that I can present it to the publishing team and see what is feasible through our content management system. So any suggestions and advice are really helpful at this stage.
Thank you heaps!
|
 |
 |
|
|
subject: Implementing CAP in JSP
|
|
|