Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Adding query string to JForum urls

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

I want to pass some variables to each jforum page, so that the urls thaend with .page ontai additionle parameters. For example, I want to pass two variables as part of the query string of the url:
http://localhost:8080/jforum/forums/list.page
so thta it looks like :
http://localhost:8080/jforum/forums/list.page?customstyle=style1&role=guest

When I tried to pass the above variabales, I got a Requested resource not available page. Can anyone help.

Thanks in advance.

Profi
[originally posted on jforum.net by Proficianado]
 
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'll have to change way the requests are done. Instead of /jforum/forums/list.page etc, do this:

http://.../jforum/jforum.page?module=forums&action=list&customstyle=style1&role=guest

Rafael


[originally posted on jforum.net by Rafael Steil]
 
reply
    Bookmark Topic Watch Topic
  • New Topic