I have some JSPs that I’d like to split out into another bundle/WAB and import into the main WAB for use in <jsp:include> tags.
Is this possible? Can WABs interact with the HttpService?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the OSGi enterprise spec WAB does not interact with HTTPService. The WABExtender handles the deployment aspects of the WAB (basically registers,… WAB with web-container ). I think this is because you can’t fulfill all the requirements of a Web-application using the HTTPService (like registering a filter)
The Pax-web[1] follows a different approach. They define their own service called WebContainer. Extentsion to the HTTPService, WebContainer service can handle all web-app requirements. So Under the hood PAX-Web project registers servlets,filters,etc with the webContainer service by looking through the web.xml.
[1] http://team.ops4j.org/wiki/display/paxweb/Pax+Web
hth