Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Servlets get no <init-param>

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

Former Member
Not what you were looking for? View more on this topic or Ask a question