SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 21, 2008 - 10:29 AM Reply with quote Back to top
Hello! I'm a bit confused about mapping servlets requests -
I understand how it works in general, I even made a simple helloWorld servlet,
but what would happen if I had 2 servlets mapped to same rule (eg. INVITE)?
View user's profile Send private message
gines.gomezOffline



Joined: Nov 10, 2006
Posts: 1

Status: Offline
Posted: Apr 22, 2008 - 09:41 AM Reply with quote Back to top
Hi,

you should avoid this scenario by using more concrete mappings. You can map servlets to requests based not only in the type of request but also in other message details like Request URI amongs many others. Have a look at http://www.wesip.eu/mediawiki/index.php/Tutorial:Deployment_descriptors for further information

Hope it helps !

Ginés
View user's profile Send private message
krikoOffline



Joined: Apr 14, 2008
Posts: 16

Status: Offline
Posted: Apr 22, 2008 - 09:47 AM Reply with quote Back to top
Thank you!
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.