Home > Archive > Java Help > November 2007 > Request Params Missing
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Request Params Missing
|
|
| Ravion 2007-11-20, 8:19 am |
| Dear all,
I am writing this after a strenous effort for a whole w , but ended up
without any clue. Here is the problem.
An application called "External" is built with JSF technology. Our module ,
let it be "internal". Both External and Internal are within the same EAR
file.External module talks with Internal through an interface servlet.
Interface Servlet receives the request from External module, and adds a URL
parameter ( like http://localhost:8080/Controller?id=200&value=300) and
does a RequestDispatcher.forward.
The controller from internal module receives it and prints the query string.
This shows that the query string is id=200&value=300.
Now the million dollar question, the internal module takes
request.getParameter("id") and this gives me a NULL!!!! When I print
request.getParameterMap, I get so many parameters which were set by External
in the request. Note that External does a "POST" to interface servlet, which
in turn again does a "forward" to controller.
I searched google for about 8 hours to get a link or clue, but so .
Kindly help, please...
One small doubt I am getting - Is JSF ServletRequest different from
HttpServletRequest ? Then the method of the controller (doGet/doPost) could
not have been called right? Or a new instance is getting created? Then how I
am getting query string... ahhhh
Warmest regards,
Ravion
| |
|
| Ravion wrote:
> I am writing this after a strenous effort for a whole w , but ended up
> without any clue. Here is the problem.
Please, please, please do not multipost.
Now I discover your multipost on clj.help after I answered on clj.programmer.
How extremely frustrating.
Please read the "what they're for" FAQ in these two groups (by David Alex
Lamb) and follow its links. Multiposting is very damaging to the flow of
Usenet conversations.
Blargh.
--
Lew
|
|
|
|
|