One way would be to make HTTP requests from one web application to the other. You could check out the Apache Jakarta Commons HttpClient package.
If the web applications are running on the same server and your server supports it you can use the requestdispatcher to forward to the servlet in the other web application. Tomcat supports this functionality of you configure both web apps to be crosscontext enabled.