On Wed, Mar 9, 2011 at 5:36 AM, Kalpanie Wanigaratne <[email protected]>wrote:
> Hi, > > I'm going to do the $subject and in order to do it, it needs to add the > following configuration to the web.xml. > > <servlet> > <servlet-name>H2Console</servlet-name> > <servlet-class>org.h2.server.web.WebServlet</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>H2Console</servlet-name> > <url-pattern>/console/*</url-pattern> > </servlet-mapping> > > > For the moment i have included this in the product/lib/core/WEB-INF/web.xml > and i created a UI component by pointing the link in component.xml to > h2console. But then the console opens in a separate page. (It does not open > the page, inside our normal web page). > > Also when considering this as a component, this approach is wrong because > the web.xml entry resides inside the product. I don't have any clue, where > to put the servlet entry inside the component. Can any one please give an > idea to do this? > So you register this console as a separate servlet right? Then I don't think you can open this console within the carbon ui framework. Is there any possibility to register this console servlet inside the OSGi framework using the OSGi http service. Thanks Sameera > > Thanks. > > Kalpanie > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
