cancel
Showing results for 
Search instead for 
Did you mean: 

calling servlet in a webdynpro application

Former Member
0 Kudos

Hi,

I have created a servlet for Authentication , and i have to call this servlet in the webdynpro application(on accessing a link)

Such that it will automatically take care if authentocation

Servlet is residing in a Java application and the View is residing in WebDynpro application

when i call the servlet i have to pass two parameters 1)URL and 2)Filename

Could anyone please help me out in doing this?

Thanks & Regards

Swetha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Following thread deals with the same. Check if useful for you:

Example for writing a servlet (help link):

http://help.sap.com/saphelp_nwce10/helpdata/en/46/93a2004cbb13e9e10000000a155369/frameset.htm

Regards,

Anagha

Former Member
0 Kudos

Hi,

Is there anyother possible solution by using "WDProtocolAdapter.getProtocolAdapter()"

Thanks & Regards

Swetha

Former Member
Former Member
0 Kudos

Hi Anagha,

Thank you for the information, i would like share my vague idea on resolving this.....please let me know will it be a possible approach

Here ew have two projects

1)WebProject(War file)

2)EarProject(where webproject is integrated

Steps

1)Get the EAR file

2)Create a portal application

3)Consume the EAR in the Portal application(by passing parameters)

4)Create a WebDynpro DC

5)Here call the portal Application( URL and URL parameters)

6)Get the URL

7)Finally we can call the servlet

Will these steps help in solving this issue

Thanks & Regards

Swetha

Answers (0)