on 07-18-2004 4:41 AM
Hi,
After shifting from Client side rendering to server side rendering , i am unable to invoke static html files from my IFrame Container.
I keep getting the "404 Resource not found " error eventhough the same works perfectly when i use it in CSR.
I have applied the wendynpro.sda as requested by SAP after shifting to SSR as the SSR vies had a few problems.
Regards,
Balaji
How do the URLs to these HTML pages look like?
You can create URLs for different categories of resources on
the Web Application Server using the WDURLGenerator API.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
I am not using the url generator as i need to point to a static html only.
So i have a IFrame with the source pointing to a context and the context initialized to "xxx.html" and the same "xxx.html" has been added into the mimes folder of the project.
This workd perfectly when i change to CSR but when i change to SSR the above mentioned error occurs.
Could this be a bug in SSR and i which case when is the fix for the same expected?
Regards,
Balaji
It's a bug in the sneak preview.
As a workaround you might use WDURLGenerator to create an absolute URL.
I did not try it, but something like
IWDComponent component = ...;
WDDeployableObjectPart part = component.getDeployableObjectPart();
String url = WDURLGenerator.getAbsoluteWebResourceURL(part, resource);
should work.
Armin
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.