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

Difficulty with basic struts app

Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Hi there. I've been putting together my first struts app and am having some difficulties getting the following jsp to run.

Through snipping and re-inserting code I'm pretty sure it's to do with the html:form area of the code but I just can't spot it. Could anyone help?


Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Hi Dave,

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. It looks like you just need to add a space. You can change your display name

Now, as to your question: we've got a Struts forum here. I will move this there for you.

[Jess in Action][AskingGoodQuestions]
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

What happens when you try to run it?

A good workman is known by his tools.
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
it probably doesn't render due to the html:text tag for the 'passWord' field was not properly terminated. it should be <html:text property="passWord" />.
[ October 10, 2005: Message edited by: alan do ]

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Ah ha! I tried adding the slash, and unfortunately got the same result, which was and HTTP 500 - Internal Server Error. I've got another jsp in that war file, just basic html, which works fine.
I agree. Here's the link:
subject: Difficulty with basic struts app
It's not a secret anymore!