Hi,
Have you made the servlet class as public?
I got the same error when i did the mistake of not making public.
Ex:
class MyServlet extends HttpServlet <-- Compiles fine but gives illlegal
Access
public class MyServlet extends HttpServlet <-- work fine.
HTH
Best Regards
Moin.
Christopher Barbee wrote:
> Hello.
>
> I am tryting to set up a servlet in the Root webapp. I have added
> a <servlet> ... </servlet> tags and also a <servlet-mapping> tags...
>
> When I invoke the servlet via a form submit, I get an
> IllegalAccessException.
>
> I have also added permissions in the tomcat.policy file :
>
> file:{tomcat.home}/webapps/-
> AllPermissions
>
> Any ideas out there...
>
> --Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]