I'm using the JSP-mehtod isUserInRole('Admin')
which Eclipse marks as an Error as follows The method getIsUserInRole() is undefined for the type HttpServletRequest
. It's red underlined, but the code works fine. The method at this path exists. What should I do and does it prevents building the project?
Asked
Active
Viewed 174 times
-1

sven_meye_97
- 43
- 10
-
Please revise the signature of your request handle method, as it will never get invoked by the container. – Jerry Chin Sep 27 '16 at 07:23
-
Give us some details, at least stack trace of error. I think your application is not building. So not deployed to server. If there is ClassNotFoundException i think you missing some dependencies, for example commons-fileupload. But give us error detail, which class is not found? – aios Sep 27 '16 at 07:28
1 Answers
1
I think, you should mention following:
- In which case does it throws 404.
- For which class, it throws ClassNotFoundException.

Atul Kumar
- 421
- 3
- 12
-
For the UploadScript.java, when I try to call it from the HTML-form – sven_meye_97 Sep 27 '16 at 08:02