cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid version information in http response

Former Member
0 Kudos

Hi,

We have a SAP java web application in webdynpro framework developed using SAP NetWeaver.

If I right click on broswer and see View Source of the page, it is displaying information related to Development components, java version, SAP version etc..

I am very new to SAP and would like to know how to avoid the information.

I have already tried setting useServerHeader to false and DevelopmentMode to False in SAP J2EE engine.

Below is the information displayed in the view source.


This page was created by SAP NetWeaver. All rights reserved.

Web Dynpro client:

HTML Client


Web Dynpro client capabilities:

User agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E), client type: msie7, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled


Accessibility mode: false


Web Dynpro runtime:

Vendor: SAP, build ID: 7.0026.20120524121557.0000 (release=NW04S_26_REL, buildtime=2012-05-24:14:38:29[GMT+00:00], changelist=141071, host=VMW4330.wdf.sap.corp), build date: Fri Nov 16 03:56:13 CET 2012


Web Dynpro code generators of DC

SapDictionaryGenerationCore: 7.0021.20091119120521.0000 (release=NW04S_21_REL, buildtime=2009-12-11:15:55:08[UTC], changelist=76328, host=PWDFM114.wdf.sap.corp)


J2EE Engine:

7.00 PatchLevel 129925.450


Java VM:

SAP Java Server VM, version: 4.1.024 21.1-b02, vendor: SAP AG

Operating system:

Linux, version: 2.6.32-131.17.1.el6.x86_64, architecture: amd64


Hope I explained the issue and thank you so much in advance..



Accepted Solutions (1)

Accepted Solutions (1)

Sriram2009
Active Contributor
0 Kudos

Hi

Could you check this SAP Note for Service information visible in HTTP page

1886474 - Server information is visible in the HTTP response


BR

SS

Former Member
0 Kudos

Thanks for your reply. But I already tried setting useServerHeader to false.But it didn't work.

divyanshu_srivastava3
Active Contributor
0 Kudos

Is this is a custom code, try to disable right click option or view source option is not required from some java developer.

Sriram2009
Active Contributor
0 Kudos

After the setting have you restart the java instance?

Could you share the SAP version SP level?

divyanshu_srivastava3
Active Contributor
0 Kudos

Or

Have a look and these query on WD and portal

refer;

Former Member
0 Kudos

Yes, I restarted the server.

J2EE Engine:

7.00   PatchLevel 129925.450

Java VM:

SAP Java Server VM, version: 4.1.024 21.1-b02, vendor: SAP AG

Former Member
0 Kudos

I don't want to disable to right click but I just need to avoid the server information in the source (right click-> view source).

Thanks

Sriram2009
Active Contributor
0 Kudos

On the same SAP Note 1886474 have you check the point number 2  to full fill the support package level?

Former Member
0 Kudos

I am checking about the point number 2 with my support team. Thank you so much for your answer.

Answers (0)