Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8234897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:38:03+00:00 2026-06-07T18:38:03+00:00

problem happends when in loading a new .jsp page. The problem being that it

  • 0

problem happends when in loading a new .jsp page. The problem being that it doesn’t load, as topic says, scripts or pictures.

my index.jsp

<html>
<head> 
    <title>My Page</title> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <link rel="stylesheet" href="js/jquery.mobile-1.1.0.css" />
    <script type="text/javascript" src="js/dataManager.js"></script>
    <script type="text/javascript" src="js/MenuLoader.js"></script>
    <script type="text/javascript" src="js/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="js/jquery.mobile-1.1.0.js"></script>
</head> 
<body> 


    <!-- Start of first page -->
    <div data-role="page" id="first">

        <div data-role="header">
            <a href="#" data-rel="back" data-role="button" ><img align="middle"src="images/back.png" alt="beskeder" vspace="2"/></a> 
            <h1><img onclick="getStuff('/product/5')" align="middle"src="images/main_header.png" alt="beskeder" vspace="2"/></h1>
        </div><!-- /header -->

        <div data-role="content" id="firstPageContent"> 
            <p>I'm first in the source order so I'm shown as the page.</p>      
            <p>View internal page called <a href="#second">second</a></p>
            <a href="pages/mapMode.jsp" id="mapLink" name="mapLink"><img id="mapLinkImage" alt="a map which links to the mapPage" src="images/beskeder.png"/></a>
            <Button text="menuLoader.load" id="loadButton" name="loadButton" onClick="load()">menuLoader.load</button>
            <Button text="dataManager.addPicture" name="addPictureButton" id="addPictureButton" onClick="addPicture('firstPageContent')">dataManager.addPicture</button>
            <Button text="dataManager.reset" name="reset" id="reset" onClick="resetPageContent('firstPageContent')">dataManager.resetPageContent</button>
        </div><!-- /content -->

        <div data-role="footer">
            <h4>Page Footer</h4>

        </div><!-- /footer -->
    </div><!-- /page -->
</body>
</html>

When I press the mapLink button, then I hit the desired jsp page, but it just doesn’t load any pictures, and the buttons onclick functions doesn’t work.

here is the code for the mapMode.jsp (almost identical to index.jsp):

<html>
    <head> 
        <title>My Page</title> 
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
        <link rel="stylesheet" href="js/jquery.mobile-1.1.0.css" />
        <script type="text/javascript" src="js/dataManager.js"></script>
        <script type="text/javascript" src="js/MenuLoader.js"></script>
        <script type="text/javascript" src="js/jquery-1.7.2.js"></script>
        <script type="text/javascript" src="js/jquery.mobile-1.1.0.js"></script>
    </head> 
    <body> 


        <!-- Start of first page -->
        <div data-role="page" id="mapmode">

            <div data-role="header">
                <a href="#" data-rel="back" data-role="button" ><img align="middle"src="images/back.png" alt="back" vspace="2"/></a> 
                <h1><img onclick="getStuff('/product/5')" align="middle"src="images/main_header.png" alt="logo" vspace="2"/></h1>
            </div><!-- /header -->

            <div data-role="content" id="mapmodePageContent">   
                <p>I'm the first page in mapMode!.</p>      
                <Button text="dataManager.addPicture" name="addPictureButton" id="addPictureButton" onClick="addPicture('mapmodePageContent')">dataManager.addPicture</button>
                <Button text="dataManager.reset" name="reset" id="reset" onClick="resetPageContent('firstPageContent')">dataManager.resetPageContent</button>
            </div><!-- /content -->

            <div data-role="footer">
                <h4>Page Footer</h4>

            </div><!-- /footer -->
        </div><!-- /page -->
    </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:38:05+00:00Added an answer on June 7, 2026 at 6:38 pm

    If you put your js in a subfolder remember to add “../” infront of your picture location… stupid me

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem that happens in IE 8 and Firefox 6.0 but not
Problem: I am having trouble implementing a recursive image lazy load in all relevant
Problem When working with MasterPages, a common irritation I run into is that script
I got a big problem, I used Lazy load of images in ListView to
I am having a problem with the AppEngine serving me a blank page every
I have multiple user controls loading asynchronously on my page, using pagemethods. Some dropdownlists
I'm having problems with a function to load an image. Image is loading only
I've (actually my classmate) got a problem with loading local ZEND_AMF services on Windows
I'm having this problem for a while now. I tried so many things that
This happens only sometimes, but makes my files unreadable. The problem is that the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.