Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to invoke all servlets

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just installed tomcat 5 and create very simple servlet and then put it in *default* examples folder of tomcat installation. but browser couldn't find it.

should I register every servlet to web.xml? I found it's annoying - need to restart tomcat.

how to setup tomcat so that it will run all servlets in a specific folder?

thanks all
tony
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out Invoker Servlet
 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow GREAT and concise explanation.

I never know if javaranch has FAQ page. Thanks Sonny for your info.

Tony
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic