Duvidas Questões Drag and Drop SCWCD

0 respostas
D

Estou em dúvida nestas duas questões, alguém pode me ajudar:

  1. Given a servlet mapped to /control, place the correct URI segment returned as a String on the corresponding HttpServletRequest method call for the URI: /myapp/control/processorder

HttpServletRequest URI Segment
Method

getServletPath /myapp
getPathInfo /control
getContext /processorder

  1. Given a request from mybox.example.com, with an IP address of 10.0.1.11 on port 33086, place the appropriate ServletRequest methods onto their corresponding return values.

    Proxy/Client Settings ServletRequest Methods

    mybox.example.com getServerPort
    10.0.1.11 getServerAddr
    33086 getServerName
    getRemotePort
    getRemoteAddr
    getRemoteHost

Criado 21 de setembro de 2010
Respostas 0
Participantes 1