HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 18th, 2000, 08:29 AM
benabb benabb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 benabb User rank is Private First Class (20 - 50 Reputation Level)benabb User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a page that calls a servlet 'onLoad'.
This works fine on IE but for some reason fails on Netscape - I know that Netscape is more fussy about some syntax etc, but I can't see where I'm wrong!

<html>
<head>
<title>Service Request.html</title>
</head>
<body onLoad="document.theForm.submit()" background="http://www.mysite/images/bcream.gif" bgcolor="#FFFFFF">
<form action="http://www.mysite/servlets/ServiceReq" name="theForm" method="GET">
</body>
</html>

Someone please point out the obvious as I have been blankly staring at it for an hour!

cheers

Reply With Quote
  #2  
Old October 18th, 2000, 04:08 PM
Anarchos Anarchos is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 28 Anarchos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You need a closing form tag.

Reply With Quote
  #3  
Old October 19th, 2000, 03:41 AM
benabb benabb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 benabb User rank is Private First Class (20 - 50 Reputation Level)benabb User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sorry,
there's one in it already!
any other ideas?

Reply With Quote
  #4  
Old October 19th, 2000, 06:01 AM
dragos dragos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 27 dragos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Anarchos is right. I don't see any closing form tag, unless you talk about other source that the one you posted.

Dragos

Reply With Quote
  #5  
Old October 19th, 2000, 06:19 AM
benabb benabb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 benabb User rank is Private First Class (20 - 50 Reputation Level)benabb User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yeh, I just missed out the </form> tag in the post!
I've got round the problem though - I no longer need the initial HTML page and so just call the servlet straight from previous page.
still, I'm curious why it wouldn't work!?

anyway cheers

if you see the problem feel free to solve it...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Netscape problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT