You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ralf Hauser <ra...@gmx.ch> on 2003/12/03 08:20:16 UTC

Solved super.init() dies silently after migration from struts 1.0 to struts 1.1

Hi,

Just for that others do not waste time on this.

Eventually, I found that some error is posted, but not to catalina.out.

Unfortunately, the error message was not very telling so I posted an RFE to
make it more helpful
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25155).

Essentially, the problem was that I had both,
<?xml version="1.0" encoding="UTF-8" ?>
and
<?xml version="1.0" encoding="ISO-8859-1" ?>
in struts-config.xml after migrating.

Rgds

   Ralf


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Solved super.init() dies silently after migration from struts 1.0 to struts 1.1

Posted by Steve Raeburn <sr...@apache.org>.
You should really take a look at the Ant <xmlvalidate> task.
http://ant.apache.org/manual/index.html - look under Ant Tasks/Optional
tasks. It's free and it will allow you to validate your XML files as
part of the build process.

Alternatively, use an editor that will validate the files for you as you
go. I'm sure if you take a look around there are options for IDEs and
standalone editors.

Steve

> -----Original Message-----
> From: Ralf Hauser [mailto:ralfhauser@gmx.ch]
> Sent: December 2, 2003 11:20 PM
> To: struts-user@jakarta.apache.org
> Subject: Solved super.init() dies silently after migration from struts
> 1.0 to struts 1.1
>
>
> Hi,
>
> Just for that others do not waste time on this.
>
> Eventually, I found that some error is posted, but not to
> catalina.out.
>
> Unfortunately, the error message was not very telling so I
> posted an RFE to
> make it more helpful
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25155).
>
> Essentially, the problem was that I had both,
> <?xml version="1.0" encoding="UTF-8" ?>
> and
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> in struts-config.xml after migrating.
>
> Rgds
>
>    Ralf
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org