[JBossWS] - Abstract class as input Parameter in WebService
by vesposito
Hi, I've a problem to use abstract class in a Web Service like WebMethod input parameter. I'm using JBOSS-4.2.2.GA and JBOSSWS-NATIVE-3.0.3. Specifically, I've read a lot of documents and example about how to use @XmlSeeAlso annotation and there are two different kinds explained:
1) use it in WebService class reporting classes that extend Abstract class or
2) use it in Abstract class.
The first one doesn't generate stubs (using wsconsume) relative to real Classes, so it's not possible use them client-side, the second one instead generates them so client can create a class to use like parameter in WebMethod.
Supponing that the second way it's the correct one, i generate stubs to use them client side and this is code about service, abstract class and real class:
WakeRider.java
| @WebService(serviceName="WakeRider")
| @Stateless
|
| public class WakeRider {
|
| public String showItem(Item item) {
| try {
| if(item instanceof Tower)
| System.out.println("inside");
| return ((Tower)item).ItemName();
| } catch (Exception e) {
| e.printStackTrace();
| }
| return "";
| }
|
| }
|
Item.java
| @XmlSeeAlso({Tower.class})
| public abstract class Item implements Serializable {
|
| public abstract String ItemName();
|
| }
|
Tower.java
| @XmlType(name="Tower",propOrder={"itemName"})
| public class Tower extends Item {
|
| private String itemName;
|
| @Override
| public String ItemName() {
| // TODO Auto-generated method stub
| return itemName;
| }
| public String getItemName() {
| return itemName;
| }
| public void setItemName(String itemName) {
| this.itemName = itemName;
| }
| }
|
Generated WSDL is this:
| <definitions name="WakeRider" targetNamespace="http://wakerider/">
| -
| <types>
| -
| <xs:schema targetNamespace="http://wakerider/" version="1.0">
| <xs:element name="showItem" type="tns:showItem"/>
| <xs:element name="showItemResponse" type="tns:showItemResponse"/>
| -
| <xs:complexType name="showItem">
| -
| <xs:sequence>
| <xs:element minOccurs="0" name="arg0" type="tns:item"/>
| </xs:sequence>
| </xs:complexType>
| -
| <xs:complexType abstract="true" name="item">
| <xs:sequence/>
| </xs:complexType>
| -
| <xs:complexType name="Tower">
| -
| <xs:complexContent>
| -
| <xs:extension base="tns:item">
| -
| <xs:sequence>
| <xs:element minOccurs="0" name="itemName" type="xs:string"/>
| </xs:sequence>
| </xs:extension>
| </xs:complexContent>
| </xs:complexType>
| -
| <xs:complexType name="showItemResponse">
| -
| <xs:sequence>
| <xs:element minOccurs="0" name="return" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| -
| <message name="WakeRider_showItemResponse">
| <part element="tns:showItemResponse" name="showItemResponse"/>
| </message>
| -
| <message name="WakeRider_showItem">
| <part element="tns:showItem" name="showItem"/>
| </message>
| -
| <portType name="WakeRider">
| -
| <operation name="showItem" parameterOrder="showItem">
| <input message="tns:WakeRider_showItem"/>
| <output message="tns:WakeRider_showItemResponse"/>
| </operation>
| </portType>
| -
| <binding name="WakeRiderBinding" type="tns:WakeRider">
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
| -
| <operation name="showItem">
| <soap:operation soapAction=""/>
| -
| <input>
| <soap:body use="literal"/>
| </input>
| -
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| </binding>
| -
| <service name="WakeRider">
| -
| <port binding="tns:WakeRiderBinding" name="WakeRiderPort">
| <soap:address location="http://localhost:8080/AbstractTest/WakeRider"/>
| </port>
| </service>
| </definitions>
|
Using this WSDL I generate stubs to use client side. Client is defined below:
Client.java
| public class Client {
|
| public static void main(String[] args) {
| WakeRider_Service srv = new WakeRider_Service();
| WakeRider wr_srv = srv.getWakeRiderPort();
|
| Tower item=new Tower();
| item.setItemName("tower");
| System.out.println(wr_srv.showItem(item));
| }
|
| }
|
When I start this client i've this Exception server side:
| ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException: Unable to create an instance of wakerider.inventory.Item
| - with linked exception:
| [java.lang.InstantiationException]
| at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:110)
| at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:78)
| at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:58)
| .....
|
Thanks for help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203905#4203905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203905
17 years, 3 months
[JBoss Tools (users)] - Re: JBoss View Error
by niranjan8712
I am pasting that post here. Also I am using JBoss Tools and not JBoss IDE!!
I am using Eclipse 3.4.1. I downloaded the All Plugins - Windows version 2.1.2.GA from this link
http://www.jboss.org/tools/download/index.html#stable
I unzipped the zip file. I manually moved the contents of the /plugins /features to <eclipse_home>/plugins and <eclipse_home>/features respectively. As mentioned in the installation instructions of section Installing JBoss Tools manuallyof this link
http://www.jboss.org/community/docs/DOC-10044
I started eclipse with the -clean flag.
I was able to see the JBossAS perspective in the Open Perspective option
But when I opened the perspective, I got this in the JBossAS window:
view plaincopy to clipboardprint?
java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.(ServerTableViewer.java:204)
at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:113)
at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.(ServerTableViewer.java:204)
at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:113)
at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203904#4203904
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203904
17 years, 3 months
[EJB 3.0] - Re: EJB3 issue on Jboss5
by jaikiran
So by plain java class you don't mean standalone java client.
"venuwin" wrote :
|
| let me explain : We have one EAR file up and running on Jboss5. This ear file contatins EJB3,servlets and core java classes. The client java program sits inside the EAR file.
|
So its servlet or something hosted on JBossAS5 uses a java class within the app to do a lookup of a EJB3 hosted on JBossAS4.x. So effectively, JBossAS5 is the client of JBossAS4 and you run into:
anonymous wrote : javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.remoting.IsLocalInterceptor; local class incompatible: stream classdesc serialVersionUID = -3758782
| 076801249473, local class serialVersionUID = 337700910587744646]
|
Might be a genuine issue. Let me check.
In the meantime can you confirm that you are not packaging any of the jboss jars in your application?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203901#4203901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203901
17 years, 3 months
[Installation, Configuration & DEPLOYMENT] - Re: both deployment methods fail - WAR and exploded in J5GA
by mattzyzy
to jaikiran ,
here is the web.xml codes , a bit long - FYI , the WAR file (and web.xml file) works fine in tomcat6+jdk6 and packaged using eclipse ,Export > J2EE WAR file
| <?xml version="1.0" encoding="UTF-8"?>
|
| <web-app version="2.4"
|
| xmlns="http://java.sun.com/xml/ns/j2ee http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
|
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
| http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
|
| <display-name>Application Zulu</display-name>
|
| <description>Application Zulu (AppZ)</description>
|
|
|
| <!--
|
| - Key of the system property that should specify the root directory of this
|
| - web app. Applied by WebAppRootListener or Log4jConfigListener.
|
| -->
|
| <context-param>
|
| <param-name>webAppRootKey</param-name>
|
| <param-value>appzApp.root</param-value>
|
| </context-param>
|
|
|
| <!--
|
| - Location of the XML file that defines the root application context
|
| - Applied by ContextLoaderListener.
|
| -->
|
| <context-param>
|
| <param-name>contextConfigLocation</param-name>
|
| <param-value>
|
| /WEB-INF/applicationContext*.xml
|
| </param-value>
|
| </context-param>
|
| <!--
|
| - Location of the Log4J config file, for initialization and refresh checks.
|
| - Applied by Log4jConfigListener.
|
| -->
|
| <context-param>
|
| <param-name>log4jConfigLocation</param-name>
|
| <param-value>/WEB-INF/log4j.properties</param-value>
|
| </context-param>
| <listener>
|
| <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
| </listener>
|
|
|
| <listener>
|
| <listener-class>org.springframework.web.util.WebAppRootListener</listener-class>
|
| </listener>
|
|
|
| <filter>
|
| <filter-name>Acegi Filter Chain Proxy</filter-name>
|
| <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
|
| <init-param>
|
| <param-name>targetClass</param-name>
|
| <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
|
| </init-param>
|
| </filter>
|
|
|
| <filter-mapping>
|
| <filter-name>Acegi Filter Chain Proxy</filter-name>
|
| <url-pattern>/*</url-pattern>
|
| </filter-mapping>
|
|
|
| <filter>
|
| <filter-name>ResponseOverrideFilter</filter-name>
|
| <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
|
| </filter>
|
|
|
| <filter-mapping>
|
| <filter-name>ResponseOverrideFilter</filter-name>
|
| <url-pattern>*.page</url-pattern>
|
| </filter-mapping>
|
| <filter-mapping>
|
| <filter-name>ResponseOverrideFilter</filter-name>
|
| <url-pattern>*.form</url-pattern>
|
| </filter-mapping>
|
| <filter-mapping>
|
| <filter-name>ResponseOverrideFilter</filter-name>
|
| <url-pattern>*.process</url-pattern>
|
| </filter-mapping>
|
| <!--
|
| - Loads the root application context of this web app at startup.
|
| - The application context is then available via
|
| - WebApplicationContextUtils.getWebApplicationContext(servletContext).
|
| -->
|
| <listener>
|
| <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
| </listener>
|
|
|
| <listener>
|
| <listener-class>org.acegisecurity.ui.session.HttpSessionEventPublisher</listener-class>
|
| </listener>
|
| <welcome-file-list>
|
| <welcome-file>index.jsp</welcome-file>
|
| </welcome-file-list>
|
| <session-config>
|
| <session-timeout>30</session-timeout>
|
| </session-config>
|
| <taglib>
|
| <taglib-uri>/spring</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/spring.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://www.springframework.org/tags/form</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://acegisecurity.org/authz</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/authz.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://displaytag.sf.net/el</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/displaytag-el.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://jakarta.apache.org/taglibs/datetime-1.0</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/taglibs-datetime.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://www.servletsuite.com/servlets/wraptag</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/wraptag.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://www.servletsuite.com/servlets/hiddenpaneltag</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/hiddenpaneltag.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://www.servletsuite.com/servlets/scrolltag</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/scrolltag.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://jakarta.apache.org/taglibs/string-1.1</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/taglibs-string.tld</taglib-location>
|
| </taglib>
|
|
|
| <taglib>
|
| <taglib-uri>http://www.servletsuite.com/servlets/numtag</taglib-uri>
|
| <taglib-location>/WEB-INF/tld/taglibs-number.tld</taglib-location>
|
| </taglib>
|
|
|
| <servlet>
|
| <servlet-name>appz</servlet-name>
|
| <servlet-class>
|
| org.springframework.web.servlet.DispatcherServlet
|
| </servlet-class>
|
| <load-on-startup>2</load-on-startup>
|
| </servlet>
|
|
|
| <servlet>
|
| <servlet-name>dwr-invoker</servlet-name>
|
| <display-name>DWR Servlet</display-name>
|
| <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
|
| <init-param>
|
| <param-name>debug</param-name>
|
| <param-value>true</param-value>
|
| </init-param>
|
| </servlet>
|
|
|
| <servlet-mapping>
|
| <servlet-name>dwr-invoker</servlet-name>
|
| <url-pattern>/dwr/*</url-pattern>
|
| </servlet-mapping>
|
|
|
| <servlet-mapping>
|
| <servlet-name>appz</servlet-name>
|
| <url-pattern>*.page</url-pattern>
|
| </servlet-mapping>
|
| <servlet-mapping>
|
| <servlet-name>appz</servlet-name>
|
| <url-pattern>*.info</url-pattern>
|
| </servlet-mapping>
|
| <servlet-mapping>
|
| <servlet-name>appz</servlet-name>
|
| <url-pattern>*.htm</url-pattern>
|
| </servlet-mapping>
|
| <servlet-mapping>
|
| <servlet-name>appz</servlet-name>
|
| <url-pattern>*.html</url-pattern>
|
| </servlet-mapping>
|
| </web-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203900#4203900
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203900
17 years, 3 months