File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Smilie from external directory

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic