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

custome the forum

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I want to use the url like http://mysite/community/list.page replace of http://mysite/community/forums/list.page, how do I change the code or properties file?

and, I want put all the lib jar file to my application path somepath/WEB/lib/, and put all the jforum catalog in my application webroot, It will work?

the third, my application have a different dwr impletement, in web.xml:
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
...
how do I integrate jforum's dwr and myself dwr in web.xml or need some code change?
[originally posted on jforum.net by Patrick]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can't change that URL.

All .jar files should be inside WEB-INF/lib

Just merge the dwr xml config files.

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

Joined: Apr 22, 2012
Posts: 17424
thank you for response

the second question is : I want put the whole forum as a catalog for my application, so it need be put into
/usr/tomcat/webapps/ROOT/community/

instead of

/usr/tomcat/webapps/community/

,so I must put all jforum's jar to
/usr/tomcat/webapps/ROOT/WEB-INF/lib/

do you understand me? my mother language is not English, maybe I do not express myself clear
[originally posted on jforum.net by Patrick]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yes, that is what you need to do. Root is just a special webapp who's context path is \. The end result will be URL's that look like this site's URLs. E.g. http://my.site.net/posts/list/xxxx.page and the like.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
thanks for response.

yes, I have done the job.

a new question is:

can I rename the catalog 'templates' ?

because I put one file index.htm in /ROOT/community/
others in /ROOT/templates/ , I want put them together.
[originally posted on jforum.net by Patrick]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
everything is done. thank you for your time
[originally posted on jforum.net by Patrick]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: custome the forum