permaculture playing cards
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
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: 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="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: ActionServlet
jQuery in Action, 3rd edition