Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Can change the www.mysite.com/forums mapping to www.mysite.com/forums ?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aloha!

First I must say congrats for developing such a nice and open forum!

I'm planning to integrate it with a spring based webapp I'm working on, but it would be nice if I could change the "/forums/" mapping to be "/forum/".

I already experimented with making some changes in the config properties files (e.g. changing the mappings of the "# Forums" section in the urlPattern propfile), but until now I still didn't get it quite right.

Perhaps someone in here could give me a few pointers?
If it really is a big pain in the ... to make these changes, no problemo, then I just settle for the /forums/ mapping.


Thanks in advance and have a nice day!

ps: I imported your source zip and deployed it succesfully already so it can easily make any (small) source changes if this might be necessary.

pps: The error I couldn't resolve yet states:

<!-- BEGIN ERROR STACK TRACE <br /> java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String <br /> at net.jforum.context.web.WebRequestContext.getParameter(WebRequestContext.java:331) <br /> at net.jforum.context.web.WebRequestContext.getModule(WebRequestContext.java:457) <br /> at net.jforum.JForum.service(JForum.java:167) <br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) <br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) <br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) <br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59) <br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) <br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) <br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) <br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) <br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) <br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) <br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) <br /> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) <br /> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) <br /> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) <br /> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) <br /> at java.lang.Thread.run(Unknown Source) <br /> <br /> URL is: /forum/forum/show/1.page?null <br /> END ERROR STACK TRACE-->
[originally posted on jforum.net by Dr.Drane]
 
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
Never mind my question. I'm just using the /forums/ mapping now.
[originally posted on jforum.net by Dr.Drane]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic