jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes ActionServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionServlet" Watch "ActionServlet" New topic


Arul Jose
Ranch Hand

Joined: Jan 14, 2005
Posts: 131
I wrote a sample application using struts.

The browser told me an error 'class action not found'.

I added some jar files - commons-*.jar. then the action class file was recogonised.

how did this happen?

The ActionServlet.class is found in struts.jar. It was already there in my WEB-INF/lib (when i got the error message).
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
ActionServlet depends on other utilities found in the jars you added. if these are missing, the Servlet won't initialized. you should look at the 'minimal library' download to see what are required: http://struts.apache.org/download.cgi. you better know about object and jar dependencies in real life because SCJP alone won't do you any good.

-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: ActionServlet
Similar Threads
Not connecting to backing bean
jsp.JspException: No collection found
Any IDE tools discussed in the "JSF in Action" book?
same name java classes in different JAR
The action name cannot be the same as the action suffix [Action]