From: John I. <io...@pc...> - 2004-06-07 19:00:59
|
The latter. But it's true that you don't have to recompile to get servlet-config updates. You must, however, reload the configuration by restarting the webapp or restarting Tomcat -- it persists from request to request. John On Mon, 2004-06-07 at 14:56, Sucheta Tripathy wrote: > Will this solve the re-compilation problem or the specific page problem? > > > Michael, this may be due to a change Steve made to using multi-part form > > data. You need a jar file that handles this type of form and need to add > > a section in your web.xml file. > > > > The jar file contains classes from com.oreilly.servlet: > > cos-05Nov2002.jar > > found here: > > http://www.ibiblio.org/maven/servlets.com/jars/ > > > > The added section to web.xml is: > > > > <web-app> > > ... > > <filter> > > <filter-name>multipartFilter</filter-name> > > <filter-class>com.oreilly.servlet.MultipartFilter</filter-class> > > <init-param> > > <param-name>uploadDir</param-name> > > <param-value>@TMP_DIR@</param-value> > > </init-param> > > </filter> > > ... > > </web-app> > > > > If this doesn't work, please email the list with the tomcat error log > > output, of which I am sure there are many lines ;) > > > > > > Angel > > > > Michael Luchtan wrote: > > > >>Hello- > >>I am trying to get the "search genes by product field" working on our > >>installation of the WDK. It's kind of hard to find the error. From the > >>search page, I am taken to a page that says there are x number of > >>entries, which correspond to the right answer, and says that it will > >>display them, but there is nothing displayed in the table. > >> > >>I get the following message in the servlet.log: > >>[Jun 7, 2004 1:41:44 PM] <SiteServlet:MSG> GET request > >>[Jun 7, 2004 1:41:44 PM] <SiteServlet:MSG> No 'page' parameter in > >>request, and no defaultPage set. > >> > >>Which is true. The url looks like: > >>http://tcruzidb-gusdev.ctegd.uga.edu/tcruzidb-gusdev/servlet/servlet > >> > >>Where normally there is a ?page= after the servlet. Obviously the page > >>is working, but I thought always there should be a ?page= when viewing a > >>page via the servlet. Either way, how do I set my defaultPage if this > >>is the problem? WHich of the conf files will do this? > >>Also... I understand that (one of) the purposes(s) of the servlet.conf > >>file is that you can make changes to it without having to recompile the > >>java code and tomcat. This does not seem to work for me. If I make > >>changes to the file in the servlet directory, nothing changes. Has > >>anyone seen this error before? > >> > >>Michael Luchtan > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: GNOME Foundation > >>Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > >>GNOME Users and Developers European Conference, 28-30th June in Norway > >>http://2004/guadec.org > >>_______________________________________________ > >>Gusdev-gusdev mailing list > >>Gus...@li... > >>https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > >> > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > GNOME Users and Developers European Conference, 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > Gusdev-gusdev mailing list > > Gus...@li... > > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > |