• 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

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]
 
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic