Skip to Content
author's profile photo Former Member
Former Member

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?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 03, 2004 at 08:15 PM

    Hello Michael,

    is that sneak preview? (Don't have this release number handy) If so, I guess you should give it a try when the new preview comes out this month.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.