Either your getValue() method can return an object in which case null is possible and your first block will throw an Exception . . . Or, it can return a boolean, in which case your second block might run. I think the most likely result of that code is . . . A compiler error (e...
The path to the resource isrelative, as the request itself has knowledge of the current URL. Btw, what is the difference between include and forward action is one of the common JSP interview questions, and if you are preparing for Java or JEE developer interviews then you should be aware o...