cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a servlet and write its details in DD in PAR Application

Former Member
0 Kudos

Hi Experts,

I want to create a servlet in PAR application. This servlet should be capable of accessing the functions of other java files included in PAR Application. Servlet should be capable of accessing the functions say doContent(req, resp) of any class of PAR application.

Is it possible to create Servlet in PAR application?

I created one servlet but unable to declare its information in Deployment Descriptor.

Because the deployment which is provide ie portalapp.xml doesnt allow us to write tags like <servlet-name>, <servlet-mapping>, <url-pattern> etc. These are necessary for declaration of servlet.

So how can i write a complete working Servlet under PAR application?

Please help and replies will be appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member82178
Active Participant
0 Kudos

Hi Pankaj,

I don't think it is possible to write Servlet in portal applications.

I guess in Portal Application Projects we can develop portal components and portal services only.

Thanks and regards,

-Madhu