From: Angel P. <an...@pc...> - 2004-06-07 19:08:06
|
John Iodice wrote: >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? >> >> >> It might solve both, actually. I also got a blank page of results when using the newest wdk-classic until I added the <filter> section to the web.xml file I was not able to compile the new version of the wdk-classic until I accounted for this jar. I accounted for ti by doing a cvs update to InstallConfig.pm The installServlet.pl script should include this new jar in your classpath as part of the install process, in addition to copying it to the WEB-INF/lib directory. angel >>>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 >>>> >>>> |