on 12-26-2012 6:05 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.