Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 27, 2007 at 02:29 PM

    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

    Add comment
    10|10000 characters needed characters exceeded