• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Can I change the servlet mapping to *.html?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JForum uses a servlet mapping *.page, but my web is furnished by ISPs.
and they cannot change the servlet mapping to *.page only for me. How can I do? I want use JForum!! please help!
Can I do this at WEB-INF/web.xml:

Or have any other way?
[originally posted on jforum.net by dymz]
 
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
Change in web.xml AND in WEB-INF/config/SystemGlobals.properties. In this file, seach for a key named "servlet.extension" and put there ".html" too.

That's all.

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
When I tried modifying the .page to .html for web.xml & systemglobal.properties. Somehow, when I go to the jforum page, it loads this error page HTTP Status 404 - /jforum/forums/list.page
The forum only loads correctly if I manually change the extension to list.html at the browser address bar. Do I still need to change any setting?
I'm using 2.15 CVS 22 Dec. Thanks!
[originally posted on jforum.net by munhin]
 
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
To change the extension to show .html instead of the default of .page, 3 files need to be modfied
1) web.xml
2) SystemGlobals.properties
3) index.html ->

[originally posted on jforum.net by munhin]
 
Something about .... going for a swim. With this tiny ad ...
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic