Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in diaplaying image in jsp page

 
Kate Thomas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65114
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kate Thomas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65114
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic