File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes mock question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "mock question" Watch "mock question" New topic

mock question

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Question: 18
File 'temp.jsp' is in the myApp root.
Identify true statement when the url for tempServlet is typed in the location bar of a browser e.g.:
A Location bar says
B Contents of temp.jsp from the myApp root is displayed on the screen
C 'servlet' should be 'Servlet' in the URL - capital 'S'
D Error is generated
correct answer is D
a & D both are correct
am I correct
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
To be honest, I never understood why A is NOT correct. I mean, if I type the given string in the URL, the Location will say that string.
- madhav

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: mock question
It's not a secret anymore!