Calling Component in a servlet

Avatar

Avatar

mallikac4933100

Avatar

mallikac4933100

mallikac4933100

23-08-2017

I have a query regarding the email flow. I have implemented email servlet which receives request from client side in a POST call. Once received I call the EmailService component in the servlet. This component should get configuration details from OSGi (server,port,username,password) and from,to,subject,message details from client side and send the email using javax mail jar. However, the configuration from OSGi is not successful.

I want to understand how to call component (gathers configuration from OSGi) from servlet.

View Entire Topic

Avatar

Avatar

akashdhawle

Avatar

akashdhawle

akashdhawle

01-06-2018

Thanks magic loc, It worked!