Fixing Lab 0

"Dennis Stevens" <[email protected]>
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
resin.conf:  You can only have one default context.  When you add the new
web-app with the default id of '/' you need to comment out the existing
default context.  You can do this by putting xml comments around the
existing line so it looks like this 
<!-- web-app id='/' app-dir ='../webapps/basicportal' -->

Then add 
<web-app id='/' app-dir ='../webapps/webCMS' >

This fixes the startup errors from resin

struts.xml
There are two error in the provided struts.xml.  These are the source of the
malformed errors.
One of them is the lack of a closing tag. So 

<forward name="success"    path= "tasksLst.pg">
should be 

<forward name="success"    path= "tasksLst.pg"/>

And the closing bracket around the message-resources is missing.  You need
to add a > after the /


There are two additional errors in the web.xml file  These are the
references to test.  Comment these sections out like shown in the resin.conf
above.

Sorry for the long response.  I've seen references to all these errors and
it took some time to work through them all.

Dennis Stevens
Chief Information Officer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.