Hello,

I can start a forward like this e.g. through a filter:

request.getRequestDispatcher("/test.html").forward(request, response);

But how can I check if the ressource really exists?

request.getRequestDispatcher("/test.html") always gives me a RequestDispatcher reference. Or is it possible to get the response-code somehow to check if the forward resulted in a file-not-found error?

Regards
Marten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to