Pergunta de entrevista da empresa Broadridge

Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his JSP?

Resposta da entrevista

Sigiloso

10 de jun. de 2016

The request goes out of scope, thus, it cannot be accessed. However, if a request attribute is set in one’s servlet, then it can be accessed in his JSP. A JSP is a server side component and the page in translated to a Java servlet, and then executed. Only HTML code is given as output.