开发者

Few questions over the redirection stuff?

UTIL.getServletPath("/SetupPage?PG=setupusersettings") %>">
  1. What is SetupPage. Is it an directory?
  2. Why ? is used?
  3. What is PG?
  4. 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

  1. SetupPage seems like a web application, you requested. Basicly, as soon as you call /SetupPage, the request will be sent to this application.

  2. "?" 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

  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜