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 6995447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:01:36+00:00 2026-05-27T20:01:36+00:00

I am using code < img src=C:/NetBeanProject/images.jpg alt=abc width=42 height=42/> to display an image

  • 0

I am using code < img src=”C:/NetBeanProject/images.jpg” alt=”abc” width=”42″ height=”42″/> to display an image to my jsp page. However, the image is not shown in the page. Is there any wrong with that code ?

  • 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-05-27T20:01:37+00:00Added an answer on May 27, 2026 at 8:01 pm

    In web-app, images and public resources must be located at folder under the root. You should have to create folder "images" under "web" (netbeans project) and move images.jpg in images folder.

    web/
       |___/images
       |      images.jpg
       |
       | index.jsp
    

    In index.jsp,

    <img src="images/images.jpg" alt="logo"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a test code using simple_dom_html: <?php include 'simple_html_dom.php'; $content = '<img src=name1.jpg
I need to display in image on the view this way <img src =
I am using a Datalist to display images in a folder. The code is
I'm using the following code to scan a folder for images: <?php $dir =
Here is a piece of normal code from my site for centered images: <img
I am using paperclip to upload and display images in my rails application. Everything
I'm presenting a simple animation using img.src replace and the <canvas> tag. At present
I'm using this code for showing image inside any tag: var imgs = $(this).find(p).attr(rel);
If my div container has this: <div id=container><img src... I can style the image
So I am using this code to resize an image on the fly and

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.