• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Parsing troubles, 1st struts exercise (1.2.9)

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm going on my own through the CD version of the Sun Web Application Development course, and I just reached the point where they introduce Struts. The exercises use NetBeans, and my deployment attempt is failing. The first error message is simple enough:

Hopefully the error is just as simple, but to my inexperienced eye it looks like the end-tag ends with a '>' delimiter:

There are later errors such as the following, but those may occur because of the earlier errors.

So, what did I do wrong?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are missing an end tag. Give it another look.
How old is this tutorial that you are using Struts 1.2.9? If you can at all avoid it, do not use Struts 1.x. It was useful in its time, but there are many other, more productive, frameworks.
 
Ed Connery
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you. I could have looked at that for (several more) hours without ever seeing what wasn't there. So to speak.

This is from a Sun Learning CD-ROM called Web Component Development with Java Technology. The copyright is 2009, and I bought it in 2010. It's part of a library of 9 or 10 course CDs that came in one box with the appalling original price of about $4000, marked down 50% <wow>, and then I got my company to pay half, so I'm only out $1000 for these. Naturally I want to "get my money's worth" as best I can. [The Sun website showed the Java Programming Language course in this set as the logical preparation for the SCJP. Silly me. It wasn't even adequate preparation for the Sierra/Bates book.] Let's just say that their sales materials were misleading and leave it at that. The kicker is that the materials seem to assume that you have teammates to work with and an instructor to answer questions. "None of the above." Naturally the instructor-led versions of these courses were far more expensive than the CD versions. That must have been a hell of a racket.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic