[jboss-user] [JBoss Portal] - Re: Accessing a single portlet

PeterJ do-not-reply at jboss.com
Wed May 21 11:09:59 EDT 2008


Not possible. A portlet is not a servet - it cannot stand on its own - it needs run within the context of the portal.

You could refactor all of your code into pojos and front that with a servet and a portlet. Then you could access the servlet to get at the data. You could even use the same jsp to display the data. Though you will have to be careful of links and post uris - you will have to generate the uris for those in the portlet and servlet and pass them to the jsp.

Alternately, you could define a new layout that consists of only a single portlet.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152381#4152381

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152381



More information about the jboss-user mailing list