And if all those reasons weren't enough, it's also depricated and not portable. Changing servlet engines or upgrading may break your webapp. Better to do it right from the beginning than have to recode later.

--David

David Delbecq wrote:

- Because it way unsecure. It can invoke pretty any class in your webapp
class path. This include legacy servlet (like com.company.TheServlet)
but also your test servlet, the servlets you developped for quick admin
hacks locally and you didn't remove from code.

- Invoker servelt is one unique servlet. You can't map security
constraints to the various other servlet, excpet by using a url pattern

- you are dependant on internal package organization

- It's not the way it's supposed to be in a standard web application,
and as such can fail with some specific servlets

- You can't auto startup some servlet using the Invoker.

- You can't provide properly configuration parameter to servlets.

[EMAIL PROTECTED] a écrit :
ok i found some expamples
but why not the invoker servlet
it seems to be just the right one

I think you are looking for the Invoker servlet. That's not recommended. See the servletexamples webapp's web.xml file for a standards compliant way to map servlet to request uri's

--David

[EMAIL PROTECTED] wrote:
Hi

in normal case you call servelts as followed

/servlet/packetName for example servlet/xinfo/test/Testservlet

how can I reach this

thanks for help

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to