java - Switching links between multiple wars -



java - Switching links between multiple wars -

we have big application having 13 modules. want create war file each module , deploy app ear. navigate different pages through top menu contains link modules. problem each module have own context. in order switch context using external.jsp

<html> <head> <%@ include file="/private/jsp/header.jsp"%> <% string link= request.getquerystring(); %> </head> <body> <iframe id="ekawarframe" src="<%=link%>" width="100%" height="80%" scrolling="auto" frameborder="0"> </iframe> </body> </html>

and using urls in format "/external.jsp?/app/newderivativetrade.do?method=loadnewderivativetrade&isfreight=false". there other elegant way navigate links between multiple wars.

well, can link other modules using <a href="/anothermodule/">link</a>. problem sharing http session. application server may allow sharing http session.

java jsp web-applications

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -