|
Aaron, you need to add something like this in your web.xml file: <servlet> <servlet-name>CalcTax</servlet-name> <servlet-class>CalcTax</servlet-class> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> </servlet> ... ... <servlet-mapping> <servlet-name>CalcTax</servlet-name> <url-pattern>/servlet/CalcTax</url-pattern> </servlet-mapping> and you'll have to play a little with your server.xml file Vanja Jovic, Canada ALBartell@taylorcorp.com wrote: > I currently have an app running like so: > > http://172.111.111.111:8010/taylor/servlet/CalcTax > > but I would like to have the URL access be > > http://172.111.111.111:8010/servlet/CalcTax > > How do I change my <url-pattern> in <servlet-mapping> to do this? Or do I > need to create a 'servlet' folder at the 'webapps' level and put my serlvet > in there? > > Let me know if I have not provided enough information, > Aaron Bartell > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.