cancel
Showing results for 
Search instead for 
Did you mean: 

WebInfo class in Custom Development Libraries.

Former Member
0 Kudos

HI All,

I am developing custom action. I need web root to locate files on server.

In which jar I can find WebInfo class?

I want to get WebRoot (WebInfo.getWebRoot())

Thanks & Regards,
Sachin Jadhavar

Accepted Solutions (1)

Accepted Solutions (1)

HariCS23
Contributor
0 Kudos

This class is in sap.com~xapps~xmii~classes~xmii_classes_deploy.jar .

sap.com~xapps~xmii~classes~xmii_classes_deploy\com\sap\xmii\Illuminator\common

But i am curios..how can you use this class when you develop custom action .

At least you will get an error at design time since you don't have source you can refer to as a external library.

Looks like blslsdk.zip has some classes which are subset of what exists in above jar.

Thanks

Hari

Former Member
0 Kudos

Hi Hari,

Thanks for your response.

I there other class/method in utilitiee which I can use for getting webroot?

I am want to create excel file from java code and I need pass absolute path for saving file on server.

Thanks

Sachin

HariCS23
Contributor
0 Kudos

hmm...isn't the webroot is always http://host:port/XMII/CM...

I dont think you need special utility class to compose that...and unfortunately..not all utility classes used in standard action blocks are part of blssdk.zip.

You need to write your own classes if you need. But for this requirement..you just write inline code where ever you want to compose this address..

Hope this helps.

Thanks

Hari

Answers (0)