aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes issue with hyper link using frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "issue with hyper link using frames" Watch "issue with hyper link using frames" New topic
Author

issue with hyper link using frames

shiva valanukonda
Greenhorn

Joined: Sep 27, 2010
Posts: 25

Hi,

I have created a web page which contains 3 frames(Top,Left and right). I have images which contain link to other sites like google.co.in, yahoo.com, etc..

when i am trying to click on that link its pointing to my web applications Context path with tomcat path. like http://localhost:8811/RGSystems/www.google.co.in

and its resulting the erros : HTTP Status 404 - /RGSystems/www.google.co.in

Here is my code in html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY bgcolor="white">
<!-- <marquee direction="UP" >Welcome...<br>To<br>Daily<br>Online-Wages</marquee> -->
<table border=1 >
<tr>
<td><a href="./www.google.co.in" target="_blank"><img src="/RGSystems/apsrtc_logo1.jpg" width="140" height ="50" /></a></td>
</tr>
<tr>
<td><img src="/RGSystems/IRCTC.gif" width="140" height ="50" /></td>
</tr>
<tr>
<td><img src="/RGSystems/Gmail-logo.jpg" width="140" height ="50" /></td>
</tr>
<tr>
<td><img src="/RGSystems/google_logo.jpg" width="140" height ="50" /></td>
</tr>
<tr>
<td><img src="/RGSystems/yahoo_logo1.jpg" width="140" height ="50" /></td>
</tr>
</table>
</BODY>
</HTML>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: issue with hyper link using frames