Hello, I noticed that you mentioned the server specification. I have seen it mentioned before, many times. But where is it? I have searched for it at java.sun.com and all I get is a Javadoc *reference* of some classes. Is this the so-called 'specification'? Shouldn't it be a *text*?
Greetings, Gerardo On Fri, 20 Aug 2004, Shapira, Yoav wrote: > > Hi, > > >I added the servlet mapping entry but it's still not working. > >I have the class file in /dev_new/WEB-INF/classes/umJavaLib/. Does the > >class file need to go into a special directory of anything? > > > > <servlet> > > <servlet-name>servUploadMedia</servlet-name> > > > <servlet-class>umJavaLib.servUploadMedia</servlet-class> > > <load-on-startup>1</load-on-startup> > > </servlet> > > <servlet-mapping> > > <servlet-name>servUploadMedia</servlet-name> > > <url- > >pattern>/dev_new/servlet/umJavaLib.servUploadMedia</url-pattern> > > </servlet-mapping> > > First try to get it to work in tomcat-standalone. It's the KISS > principle. > > Do you realize what the above url-pattern means? With it, you can > access your servlet at > http://yourhost:yourport/yourwebapp/dev_new/server/umJavaLib.servUploadM > edia. A more typical url-pattern would just be > <url-pattern>/uploadMedia</url-pattern, and then you'd access your > servlet at http://yourhost:yourport/yourwebapp/uploadMedia. > > If you're unclear on url-pattern and how it works, check out the Servlet > Specification itself for details and examples. > > Yoav Shapira > > > > This e-mail, including any attachments, is a confidential business communication, > and may contain information that is confidential, proprietary and/or privileged. > This e-mail is intended only for the individual(s) to whom it is addressed, and may > not be saved, copied, printed, disclosed or used by anyone else. If you are not > the(an) intended recipient, please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]