How to retrieve the path of the browser position?

Hi,

Id like to retrieve the path from the browser into a String.

I need it to check for forbidden file-types ( like direct access to my jsp-files ).

i tried

String path = processPath(request, response);

But it only returns the path of my application.

can somebody help please?

[320 byte] By [nomaxa] at [2007-11-27 10:54:11]
# 1

> Hi,

>

> Id like to retrieve the path from the browser into a

> String.

> I need it to check for forbidden file-types ( like

> direct access to my jsp-files ).

>

> i tried

> String path = processPath(request, response);

> But it only returns the path of my application.

>

> can somebody help please?

See here (double post)

http://forum.java.sun.com/thread.jspa?threadID=5195765&tstart=0

also, beware that processPath() is a method from the struts framework

manuel.leiriaa at 2007-7-29 11:48:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...