dcsimg
Registering a servlet in VAJ WebSphere Test Environment
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vinnakota_Gangadhar
Posted On:   Thursday, June 14, 2001 03:18 PM

How to register a servlet in VAJ WebSphere Test Environment.

My problem is I want to initilize a variable in init method. I have to do it while registering the servlet, but I found no way to do that. Also I want an alias name to the servlet so that I can call it by alias instead of class name.

Re: Registering a servlet in VAJ WebSphere Test Environment

Posted By:   daniel_walker  
Posted On:   Tuesday, June 19, 2001 06:45 PM

You could edit the file web.xml (might be called localhost_web.xml)


It's in your webinf directory, I think the default location is:


ideproject_resourcesIBM WebSphere Test Environmenthostsdefault_hostdefault_appwebWEB-INFlocalhost_web.xml


Define your servlet, and put in the tags as usual.

Hope this helps!

Dan
About | Sitemap | Contact