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 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
Author

ActionServlet

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