Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-config controller element

 
Jessica Doe
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the semicolon is really in your file,

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

you'll need to remove it
 
Jessica Doe
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It really was!

Thanks a bunch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic