Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Safari downloads servlets? Why?

Safari downloads servlets? Why?
Thread Tools
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Oct 17, 2004, 11:57 PM
 
Hi - I am practicing servlets using tomcat 5 now - after almost killing myself - I managed to get Hello World to show in Safari with the

http://localhost:8080/scuttlebug/servlet/HelloWorld

URL now if I move my hello world into a package info.scuttlebug.servlets and compile.

Then using Safari and going to the correct address -

http://localhost:8080/scuttlebug/ser...ets.HelloWorld

Safari simple downloads a file called info.scuttlebug.servlets.HelloWorld which contains the words Hello World.

Firefox works fine.

What is going on with Safari?
     
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Oct 18, 2004, 01:39 AM
 
I have created a second servlet called http://localhost:8080/scuttlebug/ser...vlets.HelloYou and Safari works fine with the HelloYou servlet?

Is HelloWorld a file format ?????

Any suggestions?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2