This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custome the forum

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
everything is done. thank you for your time
[originally posted on jforum.net by Patrick]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic