Hi,
I recieve the following error : "java.net.UnknownServiceException: protocol doesn't support output" when I run the peace of code beneath.
Anyone?
authenticate("user", "pw");
URL destURL = new URL("file","max1","\\max1\public\test.txt");
buffedOut = new...
How can I test if an URL is valid?
F.e. new URL("file:\\test\t.txt") give me an URL object while the path "test\t.txt" isn't a valid path.
How can i test this?
Anyone an idea why this doens't work if path is a
path="../MilesRoot/"
path="\\\\max1\\public\\"
new File(path).list()
The list is null. It works if path is f.e. "c:\\test\\
I have found the solution
I've added this to my web.xml
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
...I receive strange signs like this (it is like it doesn't know it is an excel file?):
ÐÏࡱ !þÿÿÿ*6%&'()+.,-/LF123457]8D:;<=>?@ABC0EþÿÿÿGHIJKMRNOPQS[TUVWX\Zþÿÿÿo^þÿÿÿ_Tahoma1Ãÿ¼Arial#,##0\ "BF";\-#,##0\ "BF"##,##0\...
>>You will need to ensure that the http server you are using (IIS?) is configured to serve the correct header values for xls files.
How can I do this???
Hi,
I try to open and Excel sheet in IE (or netscape, the both don't work) and I receive strange signs. When I drap the sheet in IE, it works fine.
t = window.open("rapportering.xls","rapportgenerator","toolbar,status,menubar,resizable,location");
Any ideas?
Hi,
The following code works fine in IE but doesn't work in Netscape (4.79). I don't know if it is the onfocus or the onKeyUp that doesn't work.
<input name="vanA" class="textbox" type="text" size="1" style="width=20px"...
Hi,
I want to put a read receipt on my out-going mail. I tried the following code:
Message msg = new MimeMessage(session);
msg.addHeader("Return-Receipt-To", "test@hotmail.com");
But this doesn't do a thing.
Can anyone help me?
Thank a lot, that works just fine!!!
An other question: is it possible to say in which window the url must be opened?
I have an application where you have to logon. When the user is logged on and a receives an email with an url to the application, he can click on the url and then, when the url...
I want to open a new browser window and load a page in it. So normally when there are some windows who are already open, one of them is picked to open the url in. I want to prevent this an always open a new window.
Is there a way to know if anything has changed on the webpage? I mean if a field has received a value or a combobox has changed, anything at all?
This is my situation: I have a page with a lot of fields and a save-button. What I want to do: if nothing has changed on the page and the user...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.