File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Parsing troubles, 1st struts exercise (1.2.9) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Parsing troubles, 1st struts exercise (1.2.9)" Watch "Parsing troubles, 1st struts exercise (1.2.9)" New topic

Parsing troubles, 1st struts exercise (1.2.9)

Ed Connery
Ranch Hand

Joined: Mar 11, 2010
Posts: 70
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?
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

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.

[How To Ask Questions On JavaRanch]
Ed Connery
Ranch Hand

Joined: Mar 11, 2010
Posts: 70
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.
I agree. Here's the link:
subject: Parsing troubles, 1st struts exercise (1.2.9)
It's not a secret anymore!