Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

ie and netscape!!

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I have a page with some links. I have used <a href='/blah.blah'> stuff. When this displays in ie every things works fine. When same page viewed in Netscape the link is not available. Only text availabe. Can some one explain why and if Netscape uses a different set of tags for links then what is it?
thanks
Nasser
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like you have "messy" coding. IE does not mind missed tag closings and other little mistakes. NN hates it and will not show the page.
I would reccomend finding an html validater, or post your code here and we can tell you what is the mistake. Probably nothing major.
Al Ian
 
Nasser Aboobaker
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Al,
well my page displays fine in NN too, except it is not shoing a link. I mean the link is not available. It just displays as plain text, not as a link.
Thanks
This is my code.

<%@page contentType="text/html" import="java.util.*"%>
<html>
<head><title>Result for your selection</title></head>
<body>
<table width="50%" border="0" cellspacing="0" cellpadding="0" align='center'>
<tr>
<td><IMG src='/images/topbar1.gif'></td>
</tr>
</table>
<h1 align='center'><FONT color='green' face='helvetica'> <%=(String)session.getAttribute("dept")%>'s department</font></h1>
<table width='80%' align='center' border='1'>
<%
int i = 0;
Vector v = (Vector)session.getAttribute("passingValue");
Iterator itr = v.iterator();
while(itr.hasNext()){
if ( i == 0){
out.println("<tr><th>Item ID</th><th>Item Name</th><th>Size</th><th>Manufacturer Name</th><th>Price</th></tr>");
i = i + 1;
}
out.println("<tr>");
String val = (String)itr.next();
StringTokenizer st = new StringTokenizer(val,"##");
while(st.hasMoreTokens()){
String itemID = st.nextToken();
String itemName = st.nextToken();
String itemSize = st.nextToken();
String manuName = st.nextToken();
String price = st.nextToken();
out.println("<td><A HREF='showDetails?selValue="+itemID+"'</A>"+itemID+"</td><td>"+itemName+"</td><td>"+itemSize+"</td><td>"+manuName+"</td><td>"+ price+"</td></tr>");
}
}
%>
</table>
<%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
<%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
</body>
</html>
 
Nasser Aboobaker
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I got it.
</a> in wrong location. ie dont mind but NN minds it.
Nasser
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic