cancel
Showing results for 
Search instead for 
Did you mean: 

How Import javax.servlet.http.HttpServletRequest

Former Member
0 Kudos

Hi,

if i use NWDS 7.0 to create a JSDDynPage Application i get the following error message:

This compilation unit indirectly references the missing type javax.servlet.http.HttpServletRequest (typically some required class file is referencing a type outside the classpath) MyPortal.java myPortal/src.api/nextevo/rm/portal

I have just import the jar-files: htmlb_api, prtapi and com.sapportals.htmlb but i get the same error message.

regards,

Seyyed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Welcome to SDN Community

The required jar file is servlet.jar. It should be present in the server under \usr\sap\<SID>\<INST>\j2ee\cluster\server\bin\ex\servlet\servlet.jar

You need to have servlet.jar added in the classpath.

Hope this helps !

Regards

Srinivasan T

Answers (0)