aspose file tools*
The moose likes JForum and the fly likes Smilie from external directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Smilie from external directory" Watch "Smilie from external directory" New topic
Author

Smilie from external directory

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
I have to get the smilie from an external path (for example C:\BUILDJFORUM\FILE\images\smilies).
So in my class: SmiliesRepository I inserted this lines:



Where ConfigKeys.FILE_ESTERN point to: fileEsterni = C:/BUILDJFORUM/FILE.

So links are:










These links seems me correct but I cannot see them in my JForum. Why? What do I have to set? And where?

Thanks, bye bye.
[originally posted on jforum.net by abdujaparov]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Umm... a remote machine asking for file://c:/... will only get that file if it is on the hard drive of the machine making the request. HTML 101 stuff.

If that IS what you want and the files are there, then it might be a browser protection rule or the URL isn't quite right.


[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
Yes I understand. But now I have another problem. Where is the path where new emoticon are saved set?
Thanks, bye bye.
[originally posted on jforum.net by abdujaparov]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
It's set with the smilie.image.dir configuration property which is added to the jforum application directory. See the SmiliesAction class for details.
[originally posted on jforum.net by monroe]
 
 
subject: Smilie from external directory