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 Start with Struts - newbie 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 "Start with Struts - newbie" Watch "Start with Struts - newbie" New topic
Author

Start with Struts - newbie

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi Friends,
I am tryin to learn Struts using �Wiley Mastering Jakarta Struts� books..where he states to install Struts and copy these files :
� struts.jar
� commons-beanutils.jar
� commons-collections.jar
� commons-dbcp.jar
� commons-digester.jar
� commons-logging.jar
� commons-pool.jar
� commons-services.jar
� commons-validator.jar

But I cant find the commons-services.jar file anywhere. And I could get these files under tomcat5.0:
Commons-collections3.1.jar
Commons-dbcp1.2.1.jar
commons-pool1.2.jar

please tell me where to find the services file and how to proceed further.
Thanks


SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
burn that book


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
i never burn books...
vijaya bharath
Ranch Hand

Joined: Jun 10, 2005
Posts: 66
Hi,

Even iam also new to Struts. Iam running programs using Weblogic. Even in my lib directory i have only commons-beanutils.jar,commons-collections.jar,commons-digester.jar,commons-logging.jar,commons-validator.jar,jakarta-oro.jar,struts.jar,xerces.jar and jdbc2_0-stdext.jar
Still iam able to run my programs. I dont know exactly what for commons-services.jar. First u know that is it compulsory to be in lib. And let me know what for it is.


Regards,<br />Vijaya Bharath.<br />SCJP1.4 <br />SCWCD5.0
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
burn = figurative. that's the absolute worst book to start struts on. it's out-dated (3 years old! that's like human year to dog year in web development age) w/ poor examples and confusing suggestions based on struts 1.0 + anticipated 1.1beta. clearly from your question, it's already a bad start. i had to re-learn some struts stuff because of it (and that was 2.5 years ago).

a much better book is http://www.amazon.com/exec/obidos/ASIN/0072231319/johnwilliamwa-20 . else, you're better off following online tutorials (do a quick google search).
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi,
After your comments on that book�I downloaded one more book..�Struts in Action� by Ted Husted�.but that too looks little outdated�..if you guys know of any good online books to download..please help me�and I would really appreciate it.
Thanks
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I personally like Struts in Action. No, it's not the most up-to-date version of Struts anymore but it's still a decent book.


A good workman is known by his tools.
Jack Wiesenthaler
Ranch Hand

Joined: Jul 26, 2001
Posts: 75
Originally posted by jas oberai:

But I cant find the commons-services.jar file anywhere. And I could get these files under tomcat5.0:
Commons-collections3.1.jar
Commons-dbcp1.2.1.jar
commons-pool1.2.jar

please tell me where to find the services file and how to proceed further.
Thanks


What version of Struts are you using? You don't need common-services.jar for Struts 1.2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Start with Struts - newbie
 
Similar Threads
Deploy time exception - Key Attribute required for element exception
ClassCastException: org.apache.struts.action.ActionServlet cannot be cast to javax.servlet.Servlet
struts
Struts 2 - Error while accessing struts-tlds
sun one studio 4 update 1