So I opted to use Struts for a portlet and followed the tutorial found at http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html and then deployed it to Tomcat. However, I am getting the following error in the portlet: ----- BEGIN ERROR ----- Failed to load portlet org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher: java.lang.NoClassDefFoundError: Could not initialize class com.opensymphony.xwork2.util.DomHelper$DOMBuilder ----- END ERROR ----- I am assuming I probably need to have put the struts jars and the xwork2 jars somewhere for the portlet to get access to them but I am not sure where they should go. I currently have them in the WEB-INF/lib directory but that doesn't seem to work. I chose struts because that is the framework we use. - Dan
>>> "Ron McNulty" <[EMAIL PROTECTED]> 3/28/2008 1:27 AM >>> Hi Dan Take a look at Spring Portlet MVC. It is a solid framework that will simplify your life once you have got over the inevitable learning curve. There are portlet examples in the distribution. Regards Ron ----- Original Message ----- From: "Dan Olsen" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[email protected]> Sent: Friday, March 28, 2008 9:06 AM Subject: Re: AW: Submitting a Form > I'm still not sure how all the action stuff works with Jetspeed. I'm > looking through the source I'm not quite connecting how the whole form > request is handled. > > Dan > >>>> "David Psiuk" <[EMAIL PROTECTED]> 3/27/2008 11:09 AM >>> > on js1.x: > > in your form, theres a inputfield called "myField". > > Then, in your portlet's action (that you call within your form action), > you > access your form fields with: > > String myString = rundata.getParameters().getString("myField"); > > Best regards > > David > > > > > -----Ursprüngliche Nachricht----- > Von: Dan Olsen [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 27. März 2008 17:51 > An: Jetspeed Users List > Betreff: Submitting a Form > > In my edit.jsp I have a form that I am submitting. How do I catch the > submit > and process the input? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
