Hi all,
thank you very much, it works for me now as you described:
I have created a new module inside my existing project. The new xml is
placed in the same folder as the xml of my first project. I created a
new client package for the second frontend and a corresponding html-
page for the second xml.
One advice for others with the same problem:
I wanted to use RPC-services of my first module in my second module.
To do so, you have to move the client-RPC-classes to share (else your
second module will not find the needed classes). In addition, the
web.xml-pathes for the RPC Servlets have to be adjusted, e.g.:
<servlet-mapping>
<servlet-name>loginServiceImpl</servlet-name>
<url-pattern>/module1/loginService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>loginServiceImpl</servlet-name>
<url-pattern>/module2/loginService</url-pattern>
</servlet-mapping>
I'm pretty sure that one servlet mapping with a wildcard-path should
also work.
Best regards
Mark