• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

custome the forum

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
everything is done. thank you for your time
[originally posted on jforum.net by Patrick]
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic