[Opensource] Yet Another Proposal: Improved Model 2 functionality

Adam Rossi adam.rossi at platinumsolutions.com
Wed Jul 19 09:01:56 PDT 2000


----- Original Message -----
From: "Michael Rimov" <rimovm at centercomp.com>
To: <opensource at javacorporate.com>
Sent: Tuesday, July 18, 2000 12:49 AM
Subject: Re: [Opensource] Yet Another Proposal: Improved Model 2
functionality
> I especially think this will prove _extremely_ flexible and easy to
> implement (From the page designer perspective, that is :-) ) .  I think
one
> of the greatest strengths of this will be in Web application
> prototyping.  A series of short screens in JSP in this manner would be
> _extremely_  easy to set up
>
> Also, I just want to confirm that I understand you.  So if a form has
three
> possible actions, say, Submit, Reject, Feedback.  Then each of these
> actions will be in the XML file and you can then modify the links that
way?

Yes, that is the idea. Here is a snip from an example of this file from a
STRUTS example:

 <!--  Edit user registration -->
- <action path="/editRegistration"
actionClass="org.apache.struts.example.EditRegistrationAction"
formAttribute="registrationForm"
formClass="org.apache.struts.example.RegistrationForm">
  <forward name="success" path="/registration.jsp" />
  </action>
- <!--  Edit mail subscription -->
- <action path="/editSubscription"
actionClass="org.apache.struts.example.EditSubscriptionAction"
formAttribute="subscriptionForm"
formClass="org.apache.struts.example.SubscriptionForm">
  <forward name="failure" path="/mainMenu.jsp" />
  <forward name="success" path="/subscription.jsp" />
  </action>

<snip>

> Regarding XML project inclusion:
> First of all, I'm really excited about it.  I recently had one heck of a
> time installing Apache's Turbine and Jetspeed, solely because of the
> problems that seem to crop up due to different versions of various
> libraries floating around.   In Jetspeed's case, if I used the most recent
> version of Turbine, it would crash.   Is there a way to minimize this, or
> are the DOM and SAX api's still fairly in flux?
>
> Comments?
>
>                                          -Mike

Well, according to the STRUTS documentation:

Download and install an XML parser that is compatible with the Java
  API for XML Parsing (JAXP) specification.  A useful XML parser is the
  JAXP Reference Implementation, version 1.0.1 or later, that is available
  at <http://java.sun.com/xml>.  Be sure to add the "jaxp.jar" and
  "parser.jar" (or whatever JAR file comes with your parser) files to
  your CLASSPATH environment variable.



More information about the Opensource mailing list