From: Michael L. <lu...@ug...> - 2004-06-09 17:29:35
|
Sorry for the late reply... The multipartfilter has already been set-up. That was not the problem. You know, there are so many different logs to look at. It seems like lately I had been chasing my bugs down through the servlet.log file in the servlet directory. I looked at the catalina.out with notions of finding an error to send to the list, and found the java stack trace. Been busy tracking down bugs through catalina.out ever since. Thanks for the heads up on just having to restart tomcat after a change in the servletconfig file as opposed to having to recompile and all. Michael Luchtan On Mon, 2004-06-07 at 14:29, Angel Pizarro wrote: > 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 |