HELP! File Upload Servlet and Internet Explorer
Hello people. I hope this is an easy problem to solve...
I have a servlet upload program that works using Mozilla browser (www.mozilla.org), but for some reason it doesn't work using Microsoft IE. The servlet is also using the servlet upload API from Apache (commons).
I'm using IE version 6.0.2800.1106 in a Win98SE host computer. I get a cannot find path specified error message (see below). At work, I also get the same error message using IE, but don't know what version. The OS is XP. Unfortunately, at work, I can't install Mozilla browser (or any software-company policy) to see if Mozilla works there too. I would've like to have tested to see if the upload program worked on Mozilla on a truly remote computer.
So I figured, it must be a IE configuration issue, but darn it!! I began by resetting IE to default settings, but still have the problem, I played around with several different combinations of settings in "Tools"-->"Internet Options...", and I still get the error message. Someone PLEASE HELP ME!!!
Dunno, if it will help, I've also pasted the upload servlet source code below and the html file that's calling the upload servlet, but you still need the Apache commons file upload API.
Trust me on this one folks, for some reason it works for Mozilla, but not for IE. With IE, I can at least access web server, and therefore, the html file that calls the upload servlet , so I don't think it's a Tomcat configuration issue (version 5.0). I actually got the code for the file upload servlet from a book relatively new in the market (printed in 2003), and it didn't mention any limitations as far as what browser to use or any browser configuration requirements. I have e-mailed the authors, but they probably get a ton of e-mails...
Anyone suggestions?
Meanwhile, I will try to install other free browsers and see if the file upload program works for them too.
ERROR MESSAGE:
"HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: C:\TOMCAT\webapps\MyWebApps\files\C:\WINDOWS\Desktop\myfile.zip (The system cannot find the path specified)
com.jspbook.FileUploadCommons.doPost(FileUploadCommons.java:43)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.io.FileNotFoundException: C:\TOMCAT\webapps\MyWebApp\files\C:\WINDOWS\Desktop\myfile.zip (The system cannot find the path specified)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.(FileOutputStream.java:176)
java.io.FileOutputStream.(FileOutputStream.java:131)
org.apache.commons.fileupload.DefaultFileItem.write(DefaultFileItem.java:392)
com.jspbook.FileUploadCommons.doPost(FileUploadCommons.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
Apache Tomcat 5.0.16"
FILE UPLOAD SERVLET source code:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.commons.fileupload.*;
import java.util.*;
public class FileUploadCommons extends HttpServlet {
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html>");
out.print("File upload success. <a href=\"/MyWebApp/files/");
out.print("\">Click here to browse through all uploaded ");
out.println("files.</a><br>");
ServletContext sc = getServletContext();
String path = sc.getRealPath("/files");
org.apache.commons.fileupload.DiskFileUpload fu = new
org.apache.commons.fileupload.DiskFileUpload();
fu.setSizeMax(-1);
fu.setRepositoryPath(path);
try {
List l = fu.parseRequest(request);
Iterator i = l.iterator();
while (i.hasNext()) {
FileItem fi = (FileItem)i.next();
fi.write(new File(path, fi.getName()));
catch (Exception e) {
throw new ServletException(e);
out.println("</html>");
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
doPost(request, response);
HTML PAGE that calls the upload servlet:
<html>
<head>
<title>Example HTML Form</title>
</head>
<body>
<p>Select a file to upload or browse
currently uploaded files.</p>
<form action="http://##.##.##.####/MyWebApp/FileUploadCommons"
method="post" enctype="multipart/form-data">
File: <input type="file" name="file"><br>
<input value="Upload File" type="submit">
</form>
</body>
</html>
Thanks in advance for any assistance.
-Dan
I'm guessing what is happening is that Mozilla tells the servlet "here comes the file myfile.zip". The servlet builds a file name for it:
String path = sc.getRealPath("/files");
// path is now C:\TOMCAT\webapps\MyWebApps\files\
fi.write(new File(path, fi.getName()));
// append myfile.zip to "path", making it C:\TOMCAT\webapps\MyWebApps\files\myfile.zipIE, however, tells "here comes the file C:\WINDOWS\Desktop\myfile.zip". Now imagine what the path+filename ends up being...
So what you want to do is something along the lines of (assuming Windoze):
public static String basename(String filename)
int slash = filename.lastIndexOf("\\");
if (slash != -1)
filename = filename.substring(slash + 1);
// I think Windows doesn't like /'s either
int slash = filename.lastIndexOf("/");
if (slash != -1)
filename = filename.substring(slash + 1);
// In case the name is C:foo.txt
int slash = filename.lastIndexOf(":");
if (slash != -1)
filename = filename.substring(slash + 1);
return filename;
fi.write(new File(path, basename(fi.getName()));
....You can make the file name check more bomb proof if security is an issue. Long file names trying to overflow something in the OS, NUL characters, Unicode, forbidden names in Windos (con, nul, ...), missing file name, ...
Similar Messages
-
I've been experience an issue uploading large (75MB & greater) PDF files to a SharePoint 2010 document library. Using normal upload procedures using Internet Explorer 7 (our company standard for the time being) the upload fails. No error message is thrown,
the upload screen goes away and the page refreshes and the document isn't there. I tried upload multiple and it says throws a failed error after a while.
Using google chrome I made an attempt just to see what it did and the file using the "Add a document" uploaded in seconds. Can't figure out why one browser worked and the other doesn't. We are getting sporadic inquiries with the same issue.
We have previously setup large file support in the appropriate areas and large files are uploaded to the sites successfully. Any thoughts?File size upload has to be configured on the server farm level. Your administrator most likely set
up the limit to size of files that can be uploaded. This size can be increased and you would then be able to upload your documents. -
Crash (DEP Exception) Saving .mov files from Vista and Internet Explorer 7
I have re-created the issue on multiple Vista workstations with IE 7.
Latest Version of Quicktime (Pro)
Vista SP2
When I save a .mov file from a web site, the first time I have no problem, but the second time my Internet Explorer crashes unless I have protected mode turned off.
Any help would be appreciated....The workstations have standard image with the following applications on them:
Adobe FlashPlayer 10
Adobe Reader 9.3
Adobe Shockwave Player 11
Citrix XenAppWebPlugin
Courion DirectCP
IBM eGather
Intel Drivers
Microsoft .NET Framework SP3
Microsoft Office 2007
Microsoft Visual C++ 2005
Microsoft Mobile Devices
Oracle Client 10g
Apple Quicktime
RockinFewl LaunchinIE
SoundMAX
Sun JRE 1.6.0.16
Symantec EndPoint Protection
Verdiem Surveyor Client
Nothing that should have old Apple Components...is there a way to tell?
Other Information on the Internet Explorer 7 crash:
Problem signature
Problem Event Name: BEX
Application Name: iexplore.exe
Application Version: 7.0.6002.18005
Application Timestamp: 49e01e78
Fault Module Name: StackHash_fd00
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.0.6002.2.2.0.256.4
Locale ID: 4105
Additional Information 1: fd00
Additional Information 2: ea6f5fe8924aaa756324d57f87834160
Additional Information 3: fd00
Additional Information 4: ea6f5fe8924aaa756324d57f87834160
Extra information about the problem
Bucket ID: 559760929
Message was edited by: gillani -
Session tracking for File Upload Servlet
Hey Friends,
I am developing a File Upload servlet and I need your help in certain matters .I have taken the servlet code from java-edge.com and am modifying it to give custom behaviour.I have a main page for upload (form upload)(lets call it form 1).If the file to be uploaded already exists on the server then a page is generated by the server saying that file already exists.(form 2)Now it is here(in form 2) that I want to provide an extra button which when submitted would recall the same servlet /or maybe another one and would provide the user for overriding the existing file.
Now as per the code I would set the Override flag to be false in the second form and false in the main form .
Given the case that it is a form based uploading servlet how do I maintain the user session when going to the next form or how do i pass the variables of the first form into second form .
I am also facing another problem that is how do i manage multiple file uploads at a time .This basic system allows only one file per upload .
P.S If someone could also throw some light on how to use the com.oreilly servlet (the latest version) it would be lovely but for now I want to focus on developing the current oneHi Jocelyn,
I want to apologize firstly for the delay in my response.
I was seriously bogged down due to certain circumstances and so couldnt reply.Thanks a million for your prompt reply.I'll post the Html content here and you will find the servlet code as is at the following U.R.L
http://www.java-edge.com/Viewcode.asp?Value=serv012
Form1:
<HTML>
<HEAD>
<TITLE> Upload </TITLE>
</HEAD>
<BODY >
<h2>Upload Your File!</h2>
<form ENCTYPE="multipart/form-data" action="http://localhost:8080/servlet/Upload" method=post>
click <b> browse </b>to select the file <br>
<b> File:</b>
<input type="FILE" name="Filename" value="" MAXLENGTH=255 size=50><br>
Click here to upload!<input type=submit value=Upload>
<input type=hidden name=Directory value="G:/Workspace/Upload/">
<input type=hidden name=SuccessPage value="G:/Workspace/successpage.html">
<input type=hidden name="OverWrite" value="false">
<input type=hidden name="OverWritePage" value="">
</form>
</BODY>
</HTML>
Form 2
<HTML>
<HEAD>
<TITLE> Upload </TITLE>
</HEAD>
<BODY >
<h2>Upload Your File!</h2>
<form ENCTYPE="multipart/form-data" action="http://localhost:8080/servlet/Upload" method=post>
click <b> browse </b>to select the file <br>
<b> File:</b>
<input type="FILE" name="Filename" value="" MAXLENGTH=255 size=50><br>
Click here to upload!<input type=submit value=Upload>
<input type=hidden name=Directory value="G:/Workspace/Upload/">
<input type=hidden name=SuccessPage value="G:/Workspace/successpage.html">
<input type=hidden name="OverWrite" value="true">
<input type=hidden name="OverWritePage" value="G:/Workspace/overwritepage.html">
</form>
</BODY>
</HTML>
Now in Form 2 I would add another button which when clicked would prompt the user if he wishes to overwrite the page.
I am also posting the servlet code although I am sure u would prefer reading the one on the site
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class Upload extends HttpServlet
static final int Max = 102400;// max. size of the file can be 100K
String path;// stores path
String msg;// store message of success
//init method is called when servlet is first loaded
public void init(ServletConfig config)throws ServletException
super.init(config);
if(path == null)
path = "G:/Workspace/Upload/";
if(msg == null)
msg = "File successfully uploaded. Check out!";
public void doPost(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException
ServletOutputStream sos = null;
DataInputStream dis = null;
FileOutputStream fos = null;
try
resp.setContentType("text/plain");// return type of response is being set as plain
sos = resp.getOutputStream();// gets handle to the output stream
catch(IOException e)
System.out.println(e);
return;
try
String contentType = req.getContentType();// gets client's content type that should be multipart/form-data
if(contentType!=null && contentType.indexOf("multipart/form-data")!= -1)
// gets handle to the input stream to get the file to be uploaded from client
dis = new DataInputStream(req.getInputStream());
// gets length of the content data
int Length = req.getContentLength();
if(Length>Max)// length of the content data is compared with max size set
sos.println("sorry! file too large");
sos.flush();
return;
//to store the contents of file in byte array
byte arr[] = new byte[Length];
int dataRead = 0;
int totalData = 0;
while(totalData <Length)
dataRead = dis.read(arr,totalData,Length);
totalData += dataRead;
String data = new String(arr);//byte array converted to String
arr = null;
// gets boundary value
int lastIndex = contentType.lastIndexOf("=");
String boundary = contentType.substring(lastIndex+1,contentType.length());
String dir = "";
if(data.indexOf("name=Directory")>0)// the type ""Directory"" is searched in the web page
dir = data.substring(data.indexOf("name=Directory"));
//gets directory
// the directory higher in the directory tree cannot be selected
if(dir.indexOf("..")>0)
sos.println("Error- the directory higher in the directory tree cannot be selected");
return;
String successPage="";
if(data.indexOf("name=\"SuccessPage\"")>0)// the type ""SuccessPage"" is searched in the web page
successPage =data.substring(data.indexOf("name=\"SuccessPage\""));
// gets successpage
String overWrite="";
if(data.indexOf("name=\"OverWrite\"")>0)// the type ""Overwrite"" is searched in the web page
overWrite =data.substring(data.indexOf("name=\"OverWrite\""));
overWrite = overWrite.substring(overWrite.indexOf("\n")+1);
overWrite = overWrite.substring(overWrite.indexOf("\n")+1);
overWrite = overWrite.substring(0,overWrite.indexOf("\n")-1);//gets overwrite flag
else
//overWrite = "false";
String overWritePage ="";
if(data.indexOf("name=\"OverWritePage\"")>0)// the type ""OverwritePage"" is searched in the web page
// ensures same file is not uploaded twice
overWritePage =data.substring(data.indexOf("name=\"OverWritePage\""));
overWritePage = overWritePage.substring(overWritePage.indexOf("\n")+1);
overWritePage = overWritePage.substring(overWritePage.indexOf("\n")+1);
overWritePage = overWritePage.substring(0,overWritePage.indexOf("\n")-1);// // gets overwritepage
//gets upload file name
String file =data.substring(data.indexOf("filename=\"")+10);
file = file.substring(0,file.indexOf("\n"));
file = file.substring(file.lastIndexOf("\\")+1,file.indexOf("\""));
int position;//upload file's position
position =data.indexOf("filename=\"");//find position of upload file section of request
position =data.indexOf("\n",position)+1;//find position of content-disposition line
position =data.indexOf("\n",position)+1;//find position of content-type line
position =data.indexOf("\n",position)+1;//find position of blank line
int location =data.indexOf(boundary,position)-4;//find position of next boundary marker
data =data.substring(position,location);// uploaded file lies between position and location
String fileName = new String(path + dir + file);// the complete path of uploadad file
File check = new File(fileName);
/*************************CASE OVERRIDE ************************************/
//String overwrite=req.getParameter("OverWrite");
if(check.exists())// checks for existence of file
if(overWrite.equals("false"))
if(overWritePage.equals(""))
sos.println("Sorry ,file already exists");
//return;
else
//overWritePage="G:/Workspace/overwritepage.html";
fos = new FileOutputStream(fileName);
fos.write(data.getBytes(),0,data.length());
//resp.sendRedirect(overWritePage);
sos.println("File Overridden");
//return;
File checkDir = new File(path + dir);
if(!checkDir.exists())//checks for existence of directory
checkDir.mkdirs();
fos = new FileOutputStream(fileName);
fos.write(data.getBytes(),0,data.length());
sos.println("File successfully uploaded");
if(check.exists())
if(overWrite.equals("true"))
fos = new FileOutputStream(fileName);
fos.write(data.getBytes(),0,data.length());
if(successPage.equals(""))
sos.println(msg);
sos.println("File successfully uploaded");// if success HTML page URL not received
else
successPage="G:/Workspace/successpage.html";
resp.sendRedirect(successPage);
else// incase request is not multipart
sos.println("Not multipart");
}//END OF TRY BLOCK
catch(Exception e)
try
System.out.println(e);
sos.println("unexpected error");
catch(Exception f)
System.out.println(f);
finally
try
fos.close();// file output stream closed
catch(Exception f)
System.out.println(f);
try
dis.close();// input stream to client closed
catch(Exception f)
System.out.println(f);
try
sos.close();// output stream to client closed
catch(Exception f)
System.out.println(f);
}//END OF DOPOST METHOD
} //END OF CLASS
Jocelyn the above code may have tid bit errors which u could understand.But I hope u get the overall idea of whats going on -
How can i upload files in servlets and also using jsp
means that uploading files(.doc) or any files by using servlets and jsps
yawmark wrote:
saichand wrote:
means that uploading files(.doc) or any files by using servlets and jsps
[http://www.google.com/search?q=How+can+i+upload+files+in+servlets+and+also+using+jsp]
~Good topic titles are indeed brilliant search keywords. It's sad to see that it won't even come in the mind of the topicstarters to Google it before posting the topic. -
Please help us, after we installing the flash player is said that the plug-in version is not installed and i need Flash Player for my windows 7 Professional 64-bit Japanese version and Internet explorer 10
Hello,
There are two versions of Flash Player for Windows: ActiveX for Internet Explorer and Plug-in for non-IE browsers. It appear you may have installed the one for non-IE browsers. Please use the links below to download and install:
Flash Player ActiveX (Internet Explorer
Flash Player Plug-in (All other browsers)
Maria -
Local versus Hosted Websites and Internet Explorer 7
I am working on a site that will be deployed over the internet and distributed on a DVD-ROM. There are many users that do not have access to the internet throughout the day as they are mobile. They have laptops and what to have access to the information on a DVD-ROM. The DVD is needed as the site is far larger than 700MB.
When I upload the site, it renders well using Safari (Mac), Firefox (Mac), Safari (Windows), Firefox (Windows), and Internet Explorer (7.X Windows).
When I create a DVD-ROM with a little autoexec.bat file to automatically load the browser and index file, it works great in all of the browsers I have listed above except, Internet Explorer. The javascript menu's are no where to be seen. I have spent time looking a the security issues, scripting permissions etc, and can't get it to work.
Have body have any specific helpful ideas? I really would like this to work under IE, especially since it renders just fine while accessing the site via the internet. I just doesn't work on a local copy.I was having this problem too and found the Dreamweaver 8.0.2
updater that corrects that problem. See
http://www.adobe.com/support/documentation/en/dreamweaver/dw8/releasenotes.html -
Problem with ExternalInterface.call and Internet Explorer
Hi, I´m developing a site, (
www.gen-studio.com/avelart2
), and I´m using a swf to display a set of thumbs that when
clicked show an item and its description on the browser, those
items might be images or video, everything works fine with the
images.
And actually it works fine with the videos too, when using
Firefox, but when I test the page on Internet explorer it just
doesn’t work!
On principle let me describe how it´s supposed to work,
a thumbnail when clicked sends an id number to javaScript using
ExternalInterface.call(“myFunction”,myId); -I´m
using AS3 for the swf´s-
the javaScript file has already loaded (ever since$(
document).ready) a XML file which uses to match the id with a file
and the description, if the item to show it´s a video, then it
creates a variable which holds a string with the proper html to
embed a swf (a swf movie player that resides just next to the HTML
file), when loaded, the swf movie player uses
ExternalInterface.call() to ask for the source of the video that
has to play, and that function is as follows:
setVideo: function(){
alert("hola");
return comun.miVideo;
(The alert(“hola”); is just to test that the
function is being called), which it is, but it returns null as a
value instead of the proper string, and this happens only on
internet Explorer, but works correctly on Firefox.
I´ve been reading all day about the subject and found a
few interesting things, which though have made me narrow my
problem, they haven´t just provided me with a solution, what I
found so far:
-I must have in account flash security issues: Checked (my
actionScript follows:)
import fl.video.*;
import flash.external.ExternalInterface;
flash.system.Security.allowDomain("*");
var vid:FLVPlayback = this.miPlayer;
vid.source =
flash.external.ExternalInterface.call("comun.setVideo");
-ExternalInterface and Internet explorer don´t work
properly when tested locally: Checked (I have a server on my PC and
I´m testing the site as well in the above direction).
-The object tag holding the swf must have a proper id
attribute: Checked.
-It´s super important the way the object tag is formed:
Checked, and I also tested the tag separately (I put it directly in
the HTML instead of adding it via javaScript) and it worked as
expected in both Firefox and Internet Explorer, which leads me to
believe:
-I read somewhere that if you add the object tag by using
innerHTML or appendChild, returning values from javaScript to swf
won´t work, but I couldn´t find an explanation nor a
solution.
Well, as I said now I´ve been looking all day for an
answer, so I really hope you can help me or give me some advice on
the subject, thank you so much for your time!Hi! it solved itself !! (nahh, I wish), but it indeed had a
solution, it was something quite simple, and I don´t really
understand why it was not working in the first place, but here is
the thing:
I´m learning jquery and this is the first proyect
I´m officially using it, so I was using
$('#myDIV').append("string"); to embed the swf, (and it was working
perfectly on Firefox), so since I had narrowed my problem to those
lines, I decided to try some good-old-fashioned-javaScript and
changed it for: var myDiv =
document.getElementById('thatParticularDiv'); myDiv.innerHTML =
('string'); and it worked both in Firefox and IE !!!!!! :)
I´m quite happy about it, and if someone knows
what´s the issue with my jquery approach I would love to hear
it. THANKS !! -
Swf link not working in Firefox, Opera and Internet Explorer but works in Safari
Hi,
I'm sorry but Im a real newbie and really need help!!!
On the homepage of my website I have put a swf file that I linked to another page in my website through the div a href link and it displays great on safari and links, however in other browsers, when i try to click on it, it comes up with the link at the bottom of the browser (where it sometimes says Done), however it doesnt actually link, it jsut stays on the homepage.
Here is the coding i put in:
<div id="products2">
<p>
<a href="Our_brands/index.html">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','449','height','449','title','Products','src','Productions/boxes3','quality','high','p luginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwav eFlash','movie','Productions/boxes3' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="449" height="449" title="Products">
<param name="movie" value="Our_brands/boxesnew.swf" />
<param name="quality" value="high" /><param name="SCALE" value="noborder" />
<param name="allowScriptAccess" value="always"/>
<embed src="Our_brands/boxesnew.swf" width="449" height="449" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowScriptAccess="always" scale="noborder"></embed>
<br />
<br />
</object>
</noscript>
</a>
</p>
</div>
Could someone please tell me where I am going wrong?
I would REALLY appreciate it.
Thank you in advance!!I'm doing it for a client and they dont want it put up on the server yet, I wish I could put it up bc I have no idea what I'm doing!
Basically I wanted a swf file from Flash to display a range of products (I have turned all the products into buttons) and then I put coding into all the buttons to on release getURL which work in the swf file, however when I put the swf file into dreamweaver, the buttons worked in hover state, but the action scripting didn't work to link the swf file to another page in the website (the index in Our_brands folder).
So i decided to make it link to the index.html in Our_brands folder from wrapping the swf box in a div tag and linking the div tag <a href="Our_brands/index.html"> which links it great in Safari but wont link in Firefox, Opera and Internet Explorer.
Does that make any sense?
Sorry if it doesn't.
Thanks for the quick reply as well!!! -
Firefox has suddenly gone wrong. I was successfully running both Firefox and Internet Explorer 8 on Windows 7. My laptop is new and has plenty of RAM and HDD. I auto-accept upgrades including the most recent Firefox upgrade and the suggested upgrade to Adobe Flash 10.1. But after this, Firefox stopped working and does not work when I re-load Firefox 3.6. Also IE8 now works very slowly and does not locate major websites like Microsoft without a 'can't find the website message' and having to pressing Return a second time. When I do get to the Mozilla website and click on the button to try to download Firefox 3.6.6, I get this message "Oops! Internet Explorer could not find mozilla3.snt.utwente.nl". Can you help with what has gone wrong? As it stands, I can't use Firefox at all. Note: because Firefox did not work after the upgrade, I've downloaded the IE8 version of the Adobe Flash 10.1. What I really want is to be able to use both Firefox and IE8. But is this possible if they use different versions of Adobe Flash?
== This happened ==
Every time Firefox opened
== About 2-3 days ago ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)I have been having the same problem as the original poster. After upgrading to Ffx 3.6.6, the program asks you to upgrade to Flash Player Plugin 10.1. I download and installed 10.1 only to find videos weren't loading.
In my case, the problem is the previous installation of Flash Player (9.0.47) was somehow messing things up. To fix this, because I already had Flash plugin 10.1 installed I had to uninstall 10.1 using the uninstaller from adobe and then manually remove any files related the old flash player plugin 9.0.47
Here is a run-down of my process:
0. To check if you have a previous installation of the Flash Plugin lurking around, in Firefox go to Tools -> Add-ons -> Plugins (tab). At this point you may seen both Flash plugins.
1. Proceed to uninstall Flash Plugin 10.1. Adobe provides an uninstaller here: http://kb2.adobe.com/cps/141/tn_14157.html
( you have to make sure you have nothing running when you execute the installer).
2. On my Mac (sorry I don't know what it is in Windows) I searched the hard drive for any files/folders with "Shockwave". I found a folder called "Shockwave 10". It wasn't removed by Adobe's uninstaller. For safety I deleted it and then emptied the trash.
3. I then went to My HD -> Library -> Internet Plugins.
Remove the file and folder named "Flash player.old"
4. Restarted; ran the Adobe Flash Player 10.1 installer. Restarted again.
5. Opened up ffx and double checked the plugins list (see step 1). Version 10.1 is installed and available. Went to problem sites to test it out and Success!
Hope this helps. -
EntityEncodeStrings and Internet Explorer w/ CDATA in XML
Hello.
I'm makin a sort of content management system which fetches
data from an XML file:
(pages.xml)
<pages>
<page id="1">
<title>Home</title>
<link>#1</link>
<content><![CDATA[<h3>Welcome"</h3><p>We're
experimenting a lot with different stuff on this page, please bare
with us.</p>]]></content>
</page>
<page id="2">
<title>About</title>
<link>#2</link>
<content><![CDATA[<h3>about</h3>Woah,
hold it there, punk.]]></content>
</page>
[etc...]
</pages>
My XHTML-file has this in the header:
var nav = new Spry.Data.XMLDataSet("/pages.xml",
"pages/page");
nav.setColumnType("@id", "number");
nav.setColumnType("content", "html"); // skips entity
encoding \o/
I want to display everything in the <content />-xml
tree as (X)HTML
With the code I have everything works perfectly in Firefox,
but in Internet Explorer (7) I'm getting no data at all because of
entityEncodeStrings not functioning correctly (or so it seems). If
I remove this it displays in both Firefox and Internet Explorer
(though with the entities encoded).
It doesn't matter which way I do it, using the option
entityEncodeStrings: false or -1 I get the same (non-)results.
I'm very thankful for any help!http://labs.adobe.com/technologies/spry/samples/data_region/XMLDataSetStringHandlingSample .html
-
Known Issue: WebHelp on Windows 8 and Internet Explorer 10
Hello all,
I noticed on the Known Issues and bugs page for RoboHelp 10 (http://helpx.adobe.com/robohelp/kb/known-issues-rh-10.html) that there is a problem viewing webhelp on Windows 8 and Internet Explorer 10. Does anyone have further information about this problem and possible solutions?
Thank you!See the link, it says IE10, and you said you are using IE9.
That message suggests your upload or the call to the help is broken. Is this when the help is called from an app or does it happen if you open the help direct?
Try one of the sample projects. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Netscape 6 and Internet Explorer 5
Could some one tell me the highest and second highest versions of Java that Netscape 6 and Internet Explorer 5 support. And where do I find out the bugs for each of these browsers get with Java ????
Thanks
Ben Black"both support Java 2 SDK 1.3.1 and the beta 1.4 version. Earlier IE versions will not support anything above 1.1"
You must remember I have very little experience with Java, that is why I'm looking for the best book to buy to help me with it. And to buy this book I need to know what versions of Java the popular browsers support. I'm at the moment going for NS6 and IE5. So could some one explain what this Java 2 SDK and other stuff is about... I find it more than confussing....
What I basically want to do is create a game which has loads of moving grapics, chat, loading files from the users computers and the web server. (A bit like www.habbohotel.com which is a chat place where you as a graphic can move around a hotel and chat).
And also what would YOU recommend as being the best version of Java and what sort of Java (i.e you talk about this Java 2??) for me to do the above ????
Sorry for being an idoit and thanks for all your help
Ben Black -
What is the difference between Firefox and Internet Explorer?
I'm an older woman and it's hard for me to keep up with all the new technology these days. Can someone please explain the difference between Firefox and Internet Explorer? Which one is better to use? Many thanks for your help.
Firefox, Chrome and Internet explorer are all types of Browser; for use (mainly) on the internet, other modern browsers are Safari & Opera.
Just to confuse things slightly, Windows Explorer, is the name of the software that is usually used to look at content (files & folders) on Windows PCs.
Maybe these articles will help
* http://www.wisegeek.com/what-is-a-web-browser.htm <-- blue link is clickable --
* http://en.wikipedia.org/wiki/Web_browser -
Problem with ACE and Internet Explorer 8
I have a problem with ACE (system A2(1.1)) and Internet Explorer 8.
exactly:
ACE is configured as end-to-end ssl with 2 rserver and with the sticky source address. When user is opening the virtual address from IEv7, the web portal (On Microsoft IIS) works fine.
If user opens the same web portal but using IEv8, the session is suspended after 60 seconds.
I think, that the reason is http keep-allive, which is sending every 60 seconds from the user's internet browser.
Here is some information about this. http://en.wikipedia.org/wiki/HTTP_persistent_connection
Do you have any idea how to resolve this problem: upgrade ACE, change the configuration on IIS or ACE ??
Please help.Hi Kazik,
Using a persistent connection or HTTP keepalives should not have any negative effect on the ACE, so, giving you a straight-forward answer to fix it is not going to be easy.
I would recommend you to open a TAC case to have this investigated further. When you do, please, provide the following data:
A showtech from the Admin context of the ACE
A traffic capture taken on the TenGig interface connecting the switch with the ACE backplane while doing a test connection (preferably one with IE7 and one with IE8 to compare)
If possible, a copy of the SSL private key. Being able to decrypt the traffic capture to look inside the HTTP flow would really make troubleshooting much easier.
Regards
Daniel
Maybe you are looking for
-
Multimapping and dynamic folder selection for files
Hi SDNers, I have a requirement where I need to split the message in multiple messages, I am using 1:N Multimapping for this. Also I need to use dynamic configuration to route the separated files to multiple folders based on place field in the messag
-
hi how can we find the name of the actual field in table from erp form eg there is a field EST_QTY when i check record history it says that this field belongs to table XXNP_OPN_JOBLOG_EST_002 when i check the table i cannot find a column named EST_QT
-
Render html in the Business Data web part (used for the BCS profile page)
I am searching and indexing a webservice and pulling in external content, through SharePoint's BCS. I have used SharePoint Designer to make the connection and its a read only connection, we are not trying to write back to the external data source. Th
-
Just installed 10.6.8 having trouble upgrading to maverick
just installed 10.6.8 and having trouble updating to maverick
-
Hello i have a CUCM 8 usually i have a variance between the actual time and CISCO time about 5 min .when i set the time from cisco unified OS administration page, i notice that after 3 to 4 weeks the time changed back again to the old time. Can any