aspose file tools*
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
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts-config controller element