• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ActionServlet

 
Arul Jose
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic