On Wed, Mar 9, 2011 at 11:49 AM, Sameera Jayasoma <[email protected]> wrote:
> > > 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. > Grab the OSGi HTTPService and register your servlet into that service. > > 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 > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
