Skip to Content
0
Former Member
Feb 04, 2008 at 12:33 PM

Call a JSP within a URL

253 Views

Hello All,

I need to call a JSP File in the mid-process of one Application.

This jsp is called as a hookurl value

i.e it's a Online Purchasing scenario and after the entire purchasing is done then the jsp file is called with an attached hook url to the current url.

So I created a BSP and stored the jsp file as a mime and when i execute the BSP it's working fine but when i put the same path in the " Purchase URL " then it's giving me the following msg :

Business Server Page (BSP) Error

What happened?
Call of BSP page terminated due to error.
   
Note

Following error text processed in system:
BSP exception: Access to URL /sap/bc/bsp/XXXBSPAPPLICATION/Test.jsp is forbidden.
   
Error Type: 

Your SAP Business Server Pages Team

Can anyone tell me whts the error ?

Actually the flow is : One Application is there which when executed will give the output as the same ebay.com. Now the USer needs to purchase some items and at last he'll press one SUbmit button.

When he presses that then the current url will het concatenated to an hookurl with the value as the Path to the JSP.

The path to the jsp is in the MIME of bsp application .

I tried to execute the MIME independently and it's working but when I pass the same to the hookurl the above msg was coming .

Hope I'm clear in explaining my scenario.

Regards,

Deepu.K