This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 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>
Consider Paul's rocket mass heater.
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]