This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi all, Felipe, Narendra & Santosh can u all please explain the options which u think are right. Because i am unable to understand the options itself.
Thanks in anticipation.
Joined: Dec 04, 2004
Choice 5 - If the file is static or dynamic, the file name cannot be changed. If the file is dynamic, the included file acts on a request and sends back a result
The first line , I assumed the file name passed to the jsp:include action. Once it is passed you can not change it.
The second line, If the resource is static the content of the file copied as it at the run-time.If you give .txt file , the contains of the .txt file is included in the response at run-time. But if the file is dynamic ( servlet or JSP), it process the resource and include the output of the JSP or servlet.
This is my understanding, so I give option 5 is correct.