if i have an html-page and want to define how user got to that page(by typing URL into address bar or from another page), i have to use request.getHeader("Referer") in a servlet, BUT how do i link this page with that servlet ? :confused:
if i have an html-page and want to define how user got to that page(by typing URL into address bar or from another page), i have to use request.getHeader("Referer") in a servlet, BUT how do i link this page with that servlet ? :confused:
What do you mean "link"? You want to map a URL into a servlet, programmatically?Originally Posted by posterise
I mean "connect", "reference", svyazat`, like when you connect form and servlet through action="..."Originally Posted by Alex_3112
Calling the Referer can be done only in servlet as I understand, in doGet or doPost methods, but these can not be called at the time when page is loaded. So, how am I going to get to those doGet, doPost methods on page load ? without any Javascripts.
Or, may be call to referer should be done somewhere else ? :confused: i don't understand....
Хватит страдать, занимайся своими прямыми обязаностями, а не самодетельностью.Originally Posted by posterise
Палец от станка не далеко падает.
я задала нормальный вопрос, причем тут самодеятельность и кто страдает ? если не знаете как ответить так и скажитеOriginally Posted by Olezhik
Какой вопрос, такой ответ....Originally Posted by posterise
Палец от станка не далеко падает.
whatever....... :grum:Originally Posted by Olezhik
:evillaugh
There are currently 1 users browsing this thread. (0 members and 1 guests)
|
|
Terms of Service | Privacy Policy |
|