Re: Can't get dispatcher to work
Steven McGrew <[email protected]> Mon, 30 Jan 2012 14:18:01 -0500
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <CAFsX8v29MiasT5pvdO-7dqT2CcZnnwdsSQ4G_SxvScLrTc-zhw@mail.gmail.com> |
--===============0834785733910355012== Content-Type: multipart/alternative; boundary=bcaec501c62084969804b7c3b462 --bcaec501c62084969804b7c3b462 Content-Type: text/plain; charset=ISO-8859-1 I put jdom in my WEB-INF/lib folder as well. I assume that's what you meant? I still got the same error. I guess I could fiddle with the Tomcat shared directories but I'm not terribly optimistic about it. Pretty sure Tomcat already has jdom configured. This is just for research purposes only, to learn about the MVC framework and to teach others about it using a simple example. Since Maverick is lightweight and doesn't have unnecessary bells and whistles I decided to start with it. If I can't fix this relatively fast, then I'll go with tagonist. It looks like it's even better suited to what I want. On Mon, Jan 30, 2012 at 1:39 PM, Eelco Hillenius <[email protected]>wrote: > > Well this is indeed a blast from the past! > > > > You seem to be missing jdom.jar from your classpath as well. There > > will be a version in your maverick distribution, or you can find the > > latest version here: http://www.jdom.org/ > > Also, sometimes you can have class path issues if you have duplicate > jars with different versions in your class path, so I'd check for that > as well. Finally, Tomcat can be funky when it comes to where you put > these jars, so you may have to play around with putting it (only) in > WEB-INF/lib or one of the Tomcat shared directories. > > > Are you actually contemplating Maverick or just doing research? > > Maverick is pretty dated, especially in an ajax-driven world. > > Post-Maverick I ended up developing http://tagonist.tigris.org/, which > > does most of what I needed from Maverick but in 500 lines of code... > > and now I use http://code.google.com/p/htmleasy/ + Cambridge for basic > > html rendering, although that tends to be fairly simple given that > > most data is rendered by javascript/ajax. > > And my 2c on that is that for years I've used Wicket (and in fact are > one of the core contributors) but nowadays stay clear of Java web > frameworks altogether. I tend to use just plain HTTP services using > Jersey/ JAXRS and JavaScript directly (e.g. using jQuery, though I > might throw in a framework like Angular). The only thing left then is > something to dispatch requests and handle security. I use Wicket for > that, just because I know it well, though you could just use a servlet > filter for it or a light framework like HTMLEasy, which seems like an > excellent choice. > > Good luck, > > Eelco > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > %(real_name)s mailing list > %(real_name)s@%(host_name)s > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > Archives are available at > http://www.mail-archive.com/mav-user%40lists.sourceforge.net/ > --bcaec501c62084969804b7c3b462 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I put jdom in my WEB-INF/lib folder as well. I assume that's what you m= eant? I still got the same error. I guess I could fiddle with the Tomcat sh= ared directories but I'm not terribly optimistic about it. Pretty sure = Tomcat already has jdom configured.<div> <br></div><div>This is just for research purposes only, to learn about the = MVC framework and to teach others about it using a simple example. Since Ma= verick is lightweight and doesn't have unnecessary bells and whistles I= decided to start with it.</div> <div><br></div><div>If I can't fix this relatively fast, then I'll = go with tagonist. It looks like it's even better suited to what I want.= <br><br><div class=3D"gmail_quote">On Mon, Jan 30, 2012 at 1:39 PM, Eelco H= illenius <span dir=3D"ltr"><<a href=3D"mailto:[email protected]"= >[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"im">> Well this is indeed a= blast from the past!<br> ><br> > You seem to be missing jdom.jar from your classpath as well. =A0There<= br> > will be a version in your maverick distribution, or you can find the<b= r> > latest version here: =A0<a href=3D"http://www.jdom.org/" target=3D"_bl= ank">http://www.jdom.org/</a><br> <br> </div>Also, sometimes you can have class path issues if you have duplicate<= br> jars with different versions in your class path, so I'd check for that<= br> as well. Finally, Tomcat can be funky when it comes to where you put<br> these jars, so you may have to play around with putting it (only) in<br> WEB-INF/lib or one of the Tomcat shared directories.<br> <div class=3D"im"><br> > Are you actually contemplating Maverick or just doing research?<br> > Maverick is pretty dated, especially in an ajax-driven world.<br> > Post-Maverick I ended up developing <a href=3D"http://tagonist.tigris.= org/" target=3D"_blank">http://tagonist.tigris.org/</a>, which<br> > does most of what I needed from Maverick but in 500 lines of code...<b= r> > and now I use <a href=3D"http://code.google.com/p/htmleasy/" target=3D= "_blank">http://code.google.com/p/htmleasy/</a> + Cambridge for basic<br> > html rendering, although that tends to be fairly simple given that<br> > most data is rendered by javascript/ajax.<br> <br> </div>And my 2c on that is that for years I've used Wicket (and in fact= are<br> one of the core contributors) but nowadays stay clear of Java web<br> frameworks altogether. I tend to use just plain HTTP services using<br> Jersey/ JAXRS and JavaScript directly (e.g. using jQuery, though I<br> might throw in a framework like Angular). The only thing left then is<br> something to dispatch requests and handle security. I use Wicket for<br> that, just because I know it well, though you could just use a servlet<br> filter for it or a light framework like HTMLEasy, which seems like an<br> excellent choice.<br> <br> Good luck,<br> <br> Eelco<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> ---------------------------------------------------------------------------= ---<br> Try before you buy =3D See our experts in action!<br> The most comprehensive online learning library for Microsoft developers<br> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,<br= > Metro Style Apps, more. Free future releases when you subscribe now!<br> <a href=3D"http://p.sf.net/sfu/learndevnow-dev2" target=3D"_blank">http://p= .sf.net/sfu/learndevnow-dev2</a><br> _______________________________________________<br> %(real_name)s mailing list<br> %(real_name)s@%(host_name)s<br> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s<br> Archives are available at <a href=3D"http://www.mail-archive.com/mav-user%4= 0lists.sourceforge.net/" target=3D"_blank">http://www.mail-archive.com/mav-= user%40lists.sourceforge.net/</a><br> </div></div></blockquote></div><br></div> --bcaec501c62084969804b7c3b462-- --===============0834785733910355012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 --===============0834785733910355012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ %(real_name)s mailing list %(real_name)s@%(host_name)s %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s Archives are available at http://www.mail-archive.com/mav-user%40lists.sourceforge.net/ --===============0834785733910355012==--