Solved

Accessing Objects b/w diffrent web applications

Posted on 2004-10-21
194 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
Question by:venishjoe
    4 Comments
     
    LVL 35

    Expert Comment

    by:TimYates
    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
    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:
    http://www.jguru.com/faq/view.jsp?EID=800059

    Is another good explanatory link
    0
     
    LVL 4

    Author Comment

    by:venishjoe
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
    Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    877 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now