This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes Problem in diaplaying image in jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem in diaplaying image in jsp page" Watch "Problem in diaplaying image in jsp page" New topic
Author

Problem in diaplaying image in jsp page

Kate Thomas
Greenhorn

Joined: Nov 24, 2009
Posts: 13
Hey,

All out there...i am a student & working on a project...im just a started to jsp & servlets...while developing my project i am facing a problem


i wanna display an image on top of my homepage.....how will i do that using jsp...or if there any way to do that using html

anyone please help me to do that....let me remind you i am only starter so please step wise step....or anyone can provide me link

i am using netbeans IDE 6.7.1
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

EVerything you do in a JSP is through HTML. JSP is just a way to create the HTML. So there's no such thing as "do it in JSP instead of HTML".

You might want to read this article to understand what JSP is all about.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kate Thomas
Greenhorn

Joined: Nov 24, 2009
Posts: 13
Ok...thanks

But how do i do it in IDE...i mean where i use to create a folder for images....& how to relate the path so that the image gets displayed
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

If you don't know how to lay out a web application on your own, you should not be using an IDE. Learn how web apps work first, then use an IDE.

And when you have specific IDE questions, please be sure to ask them in the IDEs forum, not here.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in diaplaying image in jsp page
 
Similar Threads
Using Ant with Websphere v6.0
image loading
Problem in accessing dynamically created image in <img src=""> tag
how to retrieve image in jsp page from a seperate folder.
taking images from the client machine in servlets