Harshu
Programming Error
0 Answer(s)      5 years and 5 months ago
Posted in : JSP-Servlet

<html>
<head>
<title>MainPage</title>
<style type="text/css">
body
{
font-family:arial,helvitica,serif;
color:purple;
background-color:#717D7D;
}
ul
{
list-style-type:none;
margin:0;
padding:4px;
}
li
{
list-style-type:none;
padding:4px;
margin:0;

}
a:link,a:visited
{
display:block;
font-weight:bold;
color:#FFFFFF;
background-color:#1C1C1C;
width:160px;
text-align:center;
padding:4px;
text-decoration:none;
}
a:hover,a:active{background-color:#424242;}
#title
{
display:block;
background-color:#C9C299;
width:100%;
margin:4px;
float:centre;
margin:0.5em 0;
padding:0.3em;
border-right: 2em solid #382D2C;
border-left: 2em solid #382D2C;
}
font
{
font-weight:normal;
font-style:BROADWAY;
font-variant:small-caps;
font-size:40pt;
color:#000000;
}
#bg
{
padding-left:5em;
padding-right:5em;
margin:3em;
background-color:"#FFFFFF";
float:centre;
}
</style>
</head>

<body >
<div id="title" align="centre">
&nbsp;&nbsp;<img align=center src="images/PRAPUB.jpg" alt="PRAYOSHA LOGO" >&nbsp;&nbsp;<font face="Broadway">Prayosha Ad Agency </font>&nbsp;&nbsp;<img align="middle" src="images/ADMEDIA_BIG.jpg" alt"AdMEDIA" width="250" height="120""></div><br>
<img src="images\AdCouncil.gif" align=right alt"Image" style="padding-top:50px;">


<form name="form" method=post >
<ul>
<li><a href="http://localhost:8080/ProjectAd/PlaceOrd.jsp">PlaceOrder</a></li>
<li><a href="http://localhost:8080/ProjectAd/PlaceAd.jsp">PlaceAd</a></li>
<li><a href="http://localhost:8080/ProjectAd/Report.jsp">Report</a></li>
<li><a href="http://localhost:8080/ProjectAd/Email.jsp">Email</a></li>
<li><a href="http://localhost:8080/ProjectAd/Login.jsp">Login</a></li>
<li><a href="http://localhost:8080/ProjectAd/Help.html">Help</a></li>
<li><a href="http://localhost:8080/ProjectAd/AboutUs.html">AboutUs</a></li>
<li><a href="http://localhost:8080/ProjectAd/ContactUs.html">ContactUs</a></li>

</ul>

</form>

<table>
<tr><td>
<DIV ALIGN=CENTER>

<MAP NAME="map1">
<AREA
HREF="http://localhost:8080/ProjectAd/Cars" ALT="Cars"
SHAPE=circle COORDS="116,97,184">
<AREA
HREF="http://localhost:8080/ProjectAd/Matrimonial" ALT="Bride"
SHAPE=circle COORDS="49, 49, 49>

<AREA
HREF="http://localhost:8080/ProjectAd/Matrimonial" ALT="Groom"
SHAPE=circle COORDS="16,8,25">

<AREA
HREF="http://localhost:8080/ProjectAd/Cars" ALT="Cars"
SHAPE=RECT COORDS="0,197,44">


<AREA
HREF="http://localhost:8080/ProjectAd/Classes" ALT="Computer"
SHAPE=RECT COORDS="0,0,10,15">
<AREA
HREF="http://localhost:8080/ProjectAd/Classified_Text" ALT="CL"
SHAPE=RECT COORDS="251,143,47">
<AREA
HREF="http://localhost:8080/ProjectAd/Classified_Display" ALT="CTAD"
SHAPE=RECT COORDS="6,116,97,184">
<AREA
HREF="http://localhost:8080/ProjectAd/Classes" ALT="French"
SHAPE=RECT COORDS="0, 0, 10000, 10000">

</MAP>

<img src="images\car.jpg" alt=cars border=0 width=75 height=75 usemap="#map1"></td>
<td><img src="images\bride.jpg" alt="bride" border=0 width=75 height=75 usemap="#map1"></td>
</tr>
<tr>
<td><img src="images\groom.jpg" alt=groom border=0 width=75 height=75 usemap="#map1"></td>
<td><img src="images\car3.jpg" alt=cars border=0 width=75 height=75 usemap="#map1"> </td>
</tr>
<tr>
<td><img src="images\computer.jpg" alt=computer border=0 width=75 height=75 usemap="#map1"></td>
<td><img src="images\CL.jpg" alt=cl border=0 width=75 height=75 usemap="#map1"></td>
</tr>
<tr>
<td><img src="images\CDAD.gif" alt=CTAD border=0 width=75 height=75 usemap="#map1"></td>
<td><img src="images\french.jpg" alt=French border=0 width=75 height=75 usemap="#map1"></td>
</tr>

</table>
<div style="position: absolute; width: 967px; height: 496px; z-index: 1; left: 213px; top: 214px" id="bg1"><p align=center><b>Welcome To Prayosha Ad Agency !!</b></p><br>
You can place Ad by coming to our agency at a reasonable price and that to with a high quality ad.<br>
Our agency has been established in the year 2000 and has flourished within a year .<br>
Our Agency has been accretited with an A grade star. So you are dealing with an A grade agency.<br>
Hope you like our agency and may all your get fulfilled over here.<br>
Thank you for visiting our agency.!!<br><br><br>
<div align=center><img align=center src="images\doors.gif" alt="doors" width=300 height=300></img></div>
</div>
</body>
</html>


Sir how to get image mapping in each of the image and the parrticular link only should get open if clicked on it and not other link should get open
EG: if clicked on bride only matrimonial link should get open ..

How to do this sir i am not getting it if i click on any img only 1 link 1.e. cars link get open
Please reply me how to do. ???
Please sir thank you sir..
Advertisement
View Answers









Related Tutorials/Questions & Answers:
programming error
programming error  I got an error when i did the following program the prg. is to "select the name from database when the age is given for the respective name" error i got is:SQL exception please give me the solution by providing
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
Advertisements
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res
error at programming
error at programming  <p>import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*;</p> <p>public class Login extends HttpServlet { public void doPost(HttpServletRequest
Programming Error - JSP-Servlet
Programming Error  Hello Sir, how to convert a txt written in textarea of html must get converted to integers and should get displayed... integer.parseInt but its giving error. Please Reply me . Thank you
Programming Error - JSP-Servlet
Programming Error   Place Ad function funct(){ if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null... ??? And when i tried its giving me error than cannot find variable.In
Programming Error - JSP-Servlet
Programming Error  Hello Sir, import java.util.*; import...(); } } }//End of class m geeting error in this can u please tell me whats the error nd how to solve
Programming error - JDBC
Programming error  import javax.servlet.*; import...) { out.println("Database Error :"+se.getMessage()); } catch(Exception e) { out.println(e.toString()); } } } Please reply me the error in this program because i
Programming Error - JSP-Servlet
Programming Error   Place Order function checkName...(""); } catch(SQLException se) { out.println("Database Error :"+se.getMessage()); } catch(Exception e) { out.println("General Error :"+e.getMessage
Programming error - JSP-Servlet
Programming error  Register.jsp Registration..."); } catch(SQLException se) { out.println("Database Error :"+se.getMessage()); } catch(Exception e) { out.println("General Error :"+e.getMessage()); } %>
Programming error - JSP-Servlet
Programming error  Actually there is an error in placeorder.jsp file where there are 5 fields OrderNo ,Name , Address, Email, PhoneNo where if I delete an order of client based on orderno then suppose in database if there are 5
Programming error - JSP-Servlet
Programming error   --%> Place Order function Validate() { var valid=true; if(document.forms.OrderNo.value=="") { alert... where if @ is not given or (dot). is not given etc then it should display error
programming error - Java Beginners
programming error  What is error in this page and how to use RequestDispatcher in servlet to validate it please do reply?? import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; import
programming error - Java Beginners
programming error  import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; public class Place_Ad extends...) { out.println("Database Error :"+se.getMessage()); } catch(Exception e
programming error - Java Beginners
programming error  how can we statically implement linked list????????  Hi Friend, Please visit the following links: http://www.roseindia.net/java/jdk6/LinkedListExample.shtml http://www.roseindia.net/java
Programming Error - JSP-Servlet
Programming Error  Image: I want that when user clicks on browse button then a folder of images should get open and when user clicks one image from it (only one not more than that)then it should get displayed on next page
Programming error - JSP-Servlet
Programming error  Hello Sir, Can u please reply me the code for javamail please actually i watch the javamail.net but i dint understood it. Actually i want to send a mail to my clients with a small text message. Please
Programming Error - JSP-Servlet
Programming Error  Image: Browse When user clicks on Browse Button then a folder of images should get open and when user clicks one of them then the path of that should get saved in Access Database and on next page
Programming Error - JSP-Servlet
Programming Error   Payment Advertisement Management System Payment Premium Position FrontPage BackPage Other Premium Pages Page 2 Page 3 Page 5 Page 7 Total Cost: How to use switch
Programming Error - JSP-Servlet
Programming Error   Place Ad function funct(){ if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null) { document.form.cnt.value=0;} else {document.form.cnt.value
Programming Error - JSP-Servlet
Programming Error  How to validate login page using jsp where it checks for username whether it is empty or not or is it including number or not if it is the paste alert message.   Hi Friend, Try the following
Programming Error - JSP-Servlet
Programming Error   function Draft() { if(document.form.Count.value==""||document.form.Count.value==null) document.form.Count.value=0; else document.form.Count.value = document.form.DraftAd.value.split(' ').length
Programming error - JSP-Servlet
Programming error   Payment Advertisement Management System Payment Premium Position FrontPage BackPage Other Premium Pages Page 2 Page 3 Page 5 Page 7 Total Cost: I want that the no of characters
Programming Error - JSP-Servlet
Programming Error  Ya States and cities and maincategory and subcategory are combobox and maincategory contains suppose matrimonial then sub category will contain groom and bride, if main category contains vehicals then sub
Programming Error - JSP-Servlet
Programming Error   Place Ad Advertisement Management System Create Ad State: City: Main Category: Sub Category: Title: Draft Your Ad Here