>>> <servlet> >>> <servlet-name>uploadfile</servlet-name>
<snip/> >>> </servlet> >>> <servlet-mapping> >>> <servlet-name>uploadfile</servlet-name> >>> <url-pattern>/schDistImportResults.jsp</url-pattern> >>> </servlet-mapping> The first servlet is named “uploadfile”. > On Apr 23, 2024, at 12:42, Mark Foley <mfo...@novatec-inc.com> wrote: > > Now I need to add another program to the system that does file uploads. I > created another <server> definition in WEB-INF/web.xml following the original: > > <servlet> > <servlet-name>uploadfile</servlet-name> <snip/> > </servlet> > <servlet-mapping> > <servlet-name>uploadfile</servlet-name> > <url-pattern>/1099R-Etrans.jsp</url-pattern> > </servlet-mapping> This second servlet is also named “uploadfile”. > That didn't work so well. Now, any and all programs using the fileupload > function launches this 2nd program 1099R-Etrans.jsp. It appears that this > second <servlet> definition replaces the first. You gave them the same names, so the second one wins... What magic were you expecting to differentiate between the two? - Chuck --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org