File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes question about Safari Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "question about Safari" Watch "question about Safari" New topic
Author

question about Safari

Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
Are there any issues with using this browser.

It seems to be not able to submit a form in some circumstances.

Any shed of light will be appreciated.


Kishore
SCJP, blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61199
    
  66

As with any other browser, Safari has its quirks.

But I've never had a problem such as you describe unless the site was written with IE-only (in other words, non-standard) Javascript. In which case, shame on the site author.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
Actually it is shame on me and my sub-ordinate(who authored the post).

I had it like: <form name="myForm" action="<%=gothere%>" method="post" >

When I change it to <form name="myForm" action="<%=gothere%>" method="post" action=""> it works fine.

Really baffles me.
[ June 01, 2005: Message edited by: Kishore Dandu ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61199
    
  66

Why the double action? I code for Safari all the time and have never had an issue with posting a form.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
I have corrected the action being writted twice. We are also doing some cookie processing. Does Safari have any issues specific to cookies??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61199
    
  66

Not that I am aware of.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
I tested out couple of times & here is the situation with Safari.

The order in which you define the form matters. It does not work for me in case I define as:
<form name="myForm" action="<%=myRedirect%>" method="post">

it works fine in case:

<form name="myForm" method="post" action="<%=myRedirect%>">
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about Safari