Few questions over the redirection stuff?
UTIL.getServletPath("/SetupPage?PG=setupusersettings") %>">
- What is SetupPage. Is it an directory?
- Why ? is used?
- What is PG?
- setupusersettings is an jsp page, all i can find and it wil开发者_JS百科l redirect to that page.
you need to learn the basics of web programming. You can find millions of stuffs on Web about it. Shortly; /SetupPage?PG=setupusersettings
SetupPage seems like a web application, you requested. Basicly, as soon as you call /SetupPage, the request will be sent to this application.
"?" is a seperator. after that, you can send parameters (you can send parameters using HTTP GET/POST) to this application. In this case, the name of parameter is PG and the value "setupusersettings". For exampe, you can access the value of this parameter in your web application
Google "Web programming java servlet tutorial"
Regards.
If you click on the resulting link (URL) it will (literally) "call the resource /SetupPage
with the attribute/value pair [PG -> setupusersettings]
".
PG
is an attribute name (could be an acronym for Page).
Look for a resource named "SetupPage.???" (could be a python/perl script or any other executable file). You may have to look at the http servers configuration files to get the local location of this file. The redirection to is most probably done by this executable.
精彩评论