Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp visualisation

 
matthias maneck
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,
i have a jsp, which visualise a picture and an image-map, the links ,on the imagemap refer to the same jsp. somtime the browser (mozilla) displays a 2000 at first and then only html-code like:

2000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="expires" content="0">
<title>
resultMethod
</title>
<link href="/gelcali/styles/liststyle.css" rel="stylesheet" type="text/css" title="ss1" />
</head>
...

and at last a 0. the 2000 ocuurs also at other positions in the code.
what happened???

thanks
matthias
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your code is NOT HTML.
The text before the doctype deslaration causes the browser to interpret all of it as plain text.
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put your code inside <HTML></HTML> tag..

Originally posted by Jeroen Wenting:
your code is NOT HTML.
The text before the doctype deslaration causes the browser to interpret all of it as plain text.
 
Onion rings are vegetable donuts. Taste this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!