Setting it to localhost: is in general a bad idea. Use the full name of the machine.

As to the full path name being used, that is fixed in the latest SVN trunk. I'm actually a bit surprised that you should see it in 2.6, since it's using a different upload library, the same we've been using for years, and so far nobody has complained about the same thing. It didn't surface until we moved to the Apache fileupload library.

Are you sure you are using 2.6.x instead of 2.7?

/Janne

On Jun 4, 2008, at 22:31 , Ramya KGrama wrote:

I do have the baseURL set to http://localhost:8888/JSPWiki
It is the same machine name as localhost. We tried both options.

On Wed, Jun 4, 2008 at 3:25 PM, Harry Metske <[EMAIL PROTECTED]> wrote:

You have to configure your baseURL to the value you use in your browser.

The case you're describing you use different values, this gives
unpredictable results.
I think in your case you should configure baseURL=
http://chq006103:8888/JSPWiki<
http://chq006103:8888/JSPWiki/attach/JSPWiki%20Welcome/C%3A% 5Cinnovatorlille93.jpg


regards,
Harry

2008/6/4 new2Jaas <[EMAIL PROTECTED]>:


Hello,

We are having issues with uploading and downloading attachments using
JSPWiki using IE browser.
It works perfectly with Netscape/Mozilla/Flock browsers.
jspwiki.properties -> we set the following attributes:

jspwiki.baseURL = http://localhost:8888/JSPWiki

jspwiki.referenceStyle=relative

jspwiki.attachmentProvider =BasicAttachmentProvider

jspwiki.basicAttachmentProvider.storageDir =C:\\Data\\jspwiki\ \NewJSPWiki

With the above settings, when using IE browser, it still uses absolute
path
when file is uploaded and shows href'd attachment name with target as:


http://chq006103:8888/JSPWiki/attach/JSPWiki%20Welcome/C%3A% 5Cinnovatorlille93.jpg

Whereas in Mozill and other browsers - it correctly shows href'd relative
url:

http://localhost:8888/JSPWiki/attach/JSPWiki%20Welcome/ innovatorlille93.jpg

When we upload a file, it is uploaded under the full name (the full
absolute
path of the file (from C:\.....<filename>)) - only when we use IE
browser.
This does not happen with the other 2 browsers.
Thus, we are unable to download the file.

Any immediate help is highly appreciated!

Thanks!
--
View this message in context:

http://www.nabble.com/JSPWiki---Attachments---issue-with-IE- browser-tp17654151p17654151.html
Sent from the JspWiki - User mailing list archive at Nabble.com.




--
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081


Reply via email to