Hi,

Which would be the better and more portable solution for getting the actual
path of the API context from within a org.apache.struts.action.Action class?

I am looking at either using
mapping.getPath()
or
request.getContextPath()

Are either of these going to give me an absolute (ie C:\xxx\yyy\WEB-INF\)
path to the context on the local machine?  Or will it be a relative URL?

Cheers

Simon

Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to