[jboss-user] [JBoss Seam] - Absolute application path

pdhaigh do-not-reply at jboss.com
Mon Sep 3 06:09:23 EDT 2007


Hi,

Is there a suitable equivalent available in a Seam application to get the absolute filepath of the application web root?

>From a servlet you do this:

String applicationPath=((ServletContext)this.getServletContext()).getRealPath("/");

Can seam do similar?

cheers

phil

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

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



More information about the jboss-user mailing list