File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Error while extending StrutsPrepareAndExecuteFilter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error while extending StrutsPrepareAndExecuteFilter" Watch "Error while extending StrutsPrepareAndExecuteFilter" New topic
Author

Error while extending StrutsPrepareAndExecuteFilter

sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
Hi all,

I have extended StrutsPrepareAndExecuteFilter



In web.xml file i have changed

<filter>
<filter-name>struts2</filter-name>
<filter-class>com.tricky.dispatcher.TrickyDispatcher</filter-class>
</filter>


server has thrown the below error



can someone help me what the reason behind?
sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
OOps i got it

class must be public.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error while extending StrutsPrepareAndExecuteFilter