About Question com.enthuware.ets.scwcd.v5.2.248 :
Posted: Thu Jul 26, 2012 2:42 pm
Spelling mistake in one of the questions from "Structure and Deployement of Web Applications". In explanation area, the name of the contextpath is spelled as "text" instead of "test"
Q. Consider the code for the web.xml for a web application (See exhibit).
Assume that a request: http://localhost:8080/test/aaa/abc.a is sent to this web application named test.
Which of the following statements are correct?
One of the options is:
...........
3. ContextPath of this request will be /test/aaa
..............
In the Explanation area, the description given as:
"
In this mapping, we are defining a servlet but instead of using a servlet class we are using a jsp-file. This is valid.
....................
.........................
Now, since the name of the web application is text, the context path will be /test. So option 3 is wrong.
................
...............
Some More Text...
"
Q. Consider the code for the web.xml for a web application (See exhibit).
Assume that a request: http://localhost:8080/test/aaa/abc.a is sent to this web application named test.
Which of the following statements are correct?
One of the options is:
...........
3. ContextPath of this request will be /test/aaa
..............
In the Explanation area, the description given as:
"
In this mapping, we are defining a servlet but instead of using a servlet class we are using a jsp-file. This is valid.
....................
.........................
Now, since the name of the web application is text, the context path will be /test. So option 3 is wrong.
................
...............
Some More Text...
"