• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Adding extra request parameters

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to add extra request parameters. Will there be problems if I modify ActionServletRequest.java (remove superRequest.getQueryString() == null)



to



[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hhhm.. you may have problems, because JForum splits the query string to discover what the user is trying to do.

If you want to pass extra parameters, you can use the regular form of urls.. for example, the url

http://www.coderanch.com/t/575484

is translated to

http://www.jforum.net/jforum.page?module=posts&action=list&topic_id=1425

Take a look in the files WEB-INF/config/modulesMapping.properties and urlPattern.properties to know the modules and name of the parameters.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what I am looking for. Thank you very much!

---
is translated to
http://www.jforum.net/jforum.page?module=posts&action=list&topic_id=1425
[originally posted on jforum.net by Anonymous]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!