logo       

POST request loosing data with incomplete URL: msg#00115

java.enhydra.general

Subject: POST request loosing data with incomplete URL

Hi,

after many hours of debugging my application internals I have found out
that a <FORM METHOD="POST" ACTION="www.domain.com/path/"> does NOT work.
It simply loses all its data when the real URL is being resolved and the
complete filepath is constructed (www.domain.com/path/index.po).

I tried Mozilla, Galeon and Opera browsers. Same problem.

<FORM METHOD="GET"> works properly (parameters in the URL are
preserved).

The problem probably lies in the
StandardApplication.requestPreprocessor() that does the remaping from
incomplete "path/" to "path/DefaultUrl.po" by calling
ClientPageRedirectException(completeUrl).

Questions: 1) am I right? and 2) could this be fixed by using
ServerPageRedirectException()? It never worked for me...

Petr


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise