java - How to send object throgh request between diffent application -


i want send java (pojo class) object other applcation installed on diffent or same tomcat.

i have tried request.setattribute("abc",javaobj) getting null value while using request.getattribue("abc") , scope="application" , both application on same tomcat. using redirect jsp.

if want share variable between 2 applications under same tomcat need set in servletcontext using setattribute method of that.

for sending pojo different tomcat or jvm, either use rmi or http.


Comments