[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Accessing Objects b/w diffrent web applications

Posted on 2004-10-21
4
Medium Priority
?
198 Views
Last Modified: 2010-04-01
Hai,

Say Iam having two web applications or contexts in tomcat.Each one has one jsp file.name it A and B.Iam creating an object in the jsp A.Can I access the object in the jsp B. (Remember both or in diffrent contexts/ web application)

Thanking you in advance

Regards
Venish
0
Comment
Question by:venishjoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 12370888
You can share sessions between contexts, so in theory, you can add an object to the session in one webapp, and read it out in the other...

Is this what you mean?

http://www.fwd.at/tomcat/sharing-session-data-howto.html
0
 
LVL 4

Author Comment

by:venishjoe
ID: 12371128
Thanks for the prompt reply.Iam going through the like.

Meanwhile what I actually want is I have 2 folders in web-app ie., to applications with each having one jsp.say jspA for appl 1 and jspB for appl 2.

Now Iam creating an object in jspA.

How can i access it in jspB

Many Thanks

Regards
Venish
0
 
LVL 35

Accepted Solution

by:
TimYates earned 1500 total points
ID: 12371364
http://www.jguru.com/faq/view.jsp?EID=800059

Is another good explanatory link
0
 
LVL 4

Author Comment

by:venishjoe
ID: 12378038
Hai,

I read that but it's very vague and Iam unable to duplicate it.

As I said in my previous post, How can I access the obj, it was not clearly explained.

Any solutions.....


With Thanks

Venish
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question