This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes struts-config controller element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-config controller element" Watch "struts-config controller element" New topic
Author

struts-config controller element

Jessica Doe
Ranch Hand

Joined: Dec 11, 2003
Posts: 32
Hi!

What's wrong with this? I get a parsing error.

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
.
.
.
</action-mappings>

<controller
maxFileSize="50K"
nocache="true"
tempDir="WEB-INF/upload" />;

<message-resources parameter="Messages" null="false"/>
.
.
.
[ October 23, 2004: Message edited by: Jessica Doe ]

Jessica Doe<br /> <br />C# Online.NET<br /> <a href="http://wiki.csharp-online.net/" target="_blank" rel="nofollow">http://wiki.csharp-online.net/</a>
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
if the semicolon is really in your file,

tempDir="WEB-INF/upload" />;

you'll need to remove it
Jessica Doe
Ranch Hand

Joined: Dec 11, 2003
Posts: 32
It really was!

Thanks a bunch!
 
wood burning stoves
 
subject: struts-config controller element