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

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]
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic