Basic 101 of servlet deployments, if you don't set url mappings then: A. has the wrong case(Java is always case sensitibve) or B. is misplelled, no plural in servlet
Basic 101 of servlet deployments, if you don't set url mappings then: A. has the wrong case(Java is always case sensitibve) or B. is misplelled, no plural in servlet
: : My WebServer.xml is : : : : : <!DOCTYPE WebServer (View Source for full doctype...)> : : - : : - : : : : : : : : : : I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets : : : : In My browser , if I access file like : : A. http://localhost:8080/examples/Servlet/XXX not OK : : B. http://localhost:8080/examples/servlet/XXX OK : : C. http://localhost:8080/examples/servlets/XXX not OK : : : : I don't know where is the configuring for B , why A and C can not work : : : : : : Basic 101 of servlet deployments, if you don't set url mappings then: : A. has the wrong case(Java is always case sensitibve) or : B. is misplelled, no plural in servlet : : good luck, : Gary :
: But I put class file in : C:jswdk-1.0.1examplesWEB-INFservlets : Why the address in browser is : : http://localhost:8080/examples/servlet/XXX : : I just want to know where is the mapping ? : : : : My WebServer.xml is : : : : : : : <!DOCTYPE WebServer (View Source for full doctype...)> : : : - : : : - : : : : : : : : : : : : : : : I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets : : : : : : In My browser , if I access file like : : : A. http://localhost:8080/examples/Servlet/XXX not OK : : : B. http://localhost:8080/examples/servlet/XXX OK : : : C. http://localhost:8080/examples/servlets/XXX not OK : : : : : : I don't know where is the configuring for B , why A and C can not work : : : : : : : : : : Basic 101 of servlet deployments, if you don't set url mappings then: : : A. has the wrong case(Java is always case sensitibve) or : : B. is misplelled, no plural in servlet : : : : good luck, : : Gary : : : Each vendor publishes exact steps on how to configure their web.xml config file. While most steps are the same, there are tweaks to each product and various GUI or text based tools to finish deployment. For example on TomCat: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/web.xml.txt Please consult the appropriate documentation for your web server. Good luck, Gary :
Comments
:
: <!DOCTYPE WebServer (View Source for full doctype...)>
: -
: -
:
:
:
:
: I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets
:
: In My browser , if I access file like
: A. http://localhost:8080/examples/Servlet/XXX not OK
: B. http://localhost:8080/examples/servlet/XXX OK
: C. http://localhost:8080/examples/servlets/XXX not OK
:
: I don't know where is the configuring for B , why A and C can not work
:
:
Basic 101 of servlet deployments, if you don't set url mappings then:
A. has the wrong case(Java is always case sensitibve) or
B. is misplelled, no plural in servlet
good luck,
Gary
:
: <!DOCTYPE WebServer (View Source for full doctype...)>
: -
: -
:
:
:
:
: I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets
:
: In My browser , if I access file like
: A. http://localhost:8080/examples/Servlet/XXX not OK
: B. http://localhost:8080/examples/servlet/XXX OK
: C. http://localhost:8080/examples/servlets/XXX not OK
:
: I don't know where is the configuring for B , why A and C can not work
:
:
Basic 101 of servlet deployments, if you don't set url mappings then:
A. has the wrong case(Java is always case sensitibve) or
B. is misplelled, no plural in servlet
good luck,
Gary
C:jswdk-1.0.1examplesWEB-INFservlets
Why the address in browser is :
http://localhost:8080/examples/servlet/XXX
I just want to know where is the mapping ?
: : My WebServer.xml is :
: :
: : <!DOCTYPE WebServer (View Source for full doctype...)>
: : -
: : -
: :
: :
: :
: :
: : I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets
: :
: : In My browser , if I access file like
: : A. http://localhost:8080/examples/Servlet/XXX not OK
: : B. http://localhost:8080/examples/servlet/XXX OK
: : C. http://localhost:8080/examples/servlets/XXX not OK
: :
: : I don't know where is the configuring for B , why A and C can not work
: :
: :
:
: Basic 101 of servlet deployments, if you don't set url mappings then:
: A. has the wrong case(Java is always case sensitibve) or
: B. is misplelled, no plural in servlet
:
: good luck,
: Gary
:
: C:jswdk-1.0.1examplesWEB-INFservlets
: Why the address in browser is :
: http://localhost:8080/examples/servlet/XXX
:
: I just want to know where is the mapping ?
:
: : : My WebServer.xml is :
: : :
: : : <!DOCTYPE WebServer (View Source for full doctype...)>
: : : -
: : : -
: : :
: : :
: : :
: : :
: : : I put my *.class in the C:jswdk-1.0.1examplesWEB-INFservlets
: : :
: : : In My browser , if I access file like
: : : A. http://localhost:8080/examples/Servlet/XXX not OK
: : : B. http://localhost:8080/examples/servlet/XXX OK
: : : C. http://localhost:8080/examples/servlets/XXX not OK
: : :
: : : I don't know where is the configuring for B , why A and C can not work
: : :
: : :
: :
: : Basic 101 of servlet deployments, if you don't set url mappings then:
: : A. has the wrong case(Java is always case sensitibve) or
: : B. is misplelled, no plural in servlet
: :
: : good luck,
: : Gary
: :
: Each vendor publishes exact steps on how to configure their web.xml config file. While most steps are the
same, there are tweaks to each product and various GUI or text based tools to finish deployment.
For example on TomCat:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/web.xml.txt
Please consult the appropriate documentation for your web server.
Good luck,
Gary
: