Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic