Skip to Content
0
Former Member
Feb 03, 2004 at 03:39 PM

Servlets get no <init-param>

130 Views

I'm using the SAP NetWeaver Developer Studio 2.0.2 to develop J2EE Applications.

Now i need to start a servlet with parameters but using a <init-param> ...</init-param> section in my web.xml does exactly nothing. Looking in the deployed ear and war files, all the things look good. Debugging the initialisation of the servlet i see that the ServletConfig Object have no parameters at all. Is this a bug in the local development platform ?

SAP NetWeaver Online Help says that sending parameters to servlets is done in that way (the same way it is always recommendet).

Can anybody help me with this topic?

LG

Michael