Dear Scott :) Thank you very much for your kindness...
I am using XSLT instead of JSP... That's why I am not sure what the difference between the maverick.xml using JSP and XSLT... and whether the difference causes the problems. Thank you very much. Best regards, -------------------------------------------- Jordan Cheun Ngen, Chong INF-4067 Universiteit Twente Postbus 217 7500 AE Enschede The Netherlands Distributed and Embedded Systems (DIES) -------------------------------------------- Office Phone: +31 53 4894655 Web site: http://www.cs.utwente.nl/~chong Email Add.: [EMAIL PROTECTED] ============================================ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott > Hernandez > Sent: Friday, March 22, 2002 5:24 PM > To: 'maverick' > Subject: RE: [Mav-user] Uknown exception > > > > This is a configuration problem. It is a "ConfigException" to be exact. > > In the future, please post the full stack trace; this would have shown > that is it was generated from Dispatch.reloadConfig(). > > Please post your maverick.xml and details about what version of maverick > you are using. It is a little tricky to guess what you have specified > for your default-view-type without being able to see the whole > maverick.xml file :) > > If you have copied the maverick.xml file from friendbook-jsp, and are > editing it as the base for your project, then the > default-view-type=document. This view factory (the thing that creates a > view object based on the xml in the maverick.xml file for that view > element) requires a path attribute. In the sample (friendbook-jsp > example) document views are defined as such: > <command name="signup"> > <view path="signup.jsp"> > <transform path="trimOutside.jsp"/> > </view> > </command> > > In this example the view path is used to get the source that is used by > the transformation to generate the result page. > > NOTE: If you look at view/DispatchedViewFactory.java you will see that > in CreateView(...) there is a ConfigException thrown that matches the > text of the exception you have below if you do not specify a path > attribute. > > HTH, > Scott > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jordan C N > Chong > Sent: Friday, March 22, 2002 5:11 AM > To: maverick > Subject: [Mav-user] Uknown exception > > Dear all, > > With your help, finally I can get the Ant works. Now... problem with > this. I > have tried to run the application I have written. The following error > happened, the Tomcat returns: > > Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error > type Exception report > message Internal Server Error > description The server encountered an internal error (Internal Server > Error) > that prevented it from fulfilling this request. > exception > org.infohazard.maverick.flow.ConfigException: View node must have a > path: > <view name="success"><transform path="resultPage.xsl" /></view> > at > org.infohazard.maverick.view.DispatchedViewFactory.createView(Dispatched > View > Factory.java:39) > at > org.infohazard.maverick.view.DocumentViewFactory.createView(DocumentView > Fact > ory.java:80) > at > org.infohazard.maverick.flow.MasterViewFactory.createView(MasterViewFact > ory > > I don't understand the meaning of this exception. Please help. Thank you > very much. > > _______________________________________________ > Mav-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mav-user > _______________________________________________ Mav-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mav-user
