[jboss-user] [JBoss Portal] - Usage scenario of Resource Serving through resourceURL in 28

souravm do-not-reply at jboss.com
Tue May 12 09:57:51 EDT 2009


Hi,

I'm bit confused to understand what are the real usage scenarios of Resource Serving through resourceURL.

I can achieve everything what resourceURL (or serverResource method) provides if I create actionURL. 

Only difference I see that serverResource method gives me the flexibility of writing my own markup (as such I can create a complete HTML document) without loosing the Portal context. However, I'm not sure in which scenario I may need to use the same.

There are many examples which show how to make Ajax calls through resourceURL. However, I can achieve that even by creating an actionURL and sending the output to my target div.

Any explanations would be really appreciated.

Regards,
Sourav

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230488#4230488

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230488



More information about the jboss-user mailing list