• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem getting values passed from aspx to jsp

 
Jaydeep Deshmukh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are facing a problem retrieving values passed from an aspx into a jsp page.
The aspx page reads as follows
<HTML>
<body>
<form name="form1" action="http://172.31.109.63:7001/SingleSignOnWeb/validateUser.jsp?appname=webstat" method=get>
</form>
<script language=javascript>
document.forms[0].submit()
</script>

When i do a request.getQueryString in the validateUser.jsp, it returns a null.

Any idea why this is happening?

Thanks in Advance
Jaydeep



</body>



</HTML>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you use getQueryString in place of getParameter?
 
Jaydeep Deshmukh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tried that...!!! Didnt work...!!!

Actually, the initial intention was to get the requester of the validateUser.jsp page. But in case of getQueryString and getParameter, it returns a null

Regards
Jaydeep
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the URL properly formed as displayed in the browser window? What about in the 'get info/properties' for the page?

I have seen some cases where a query string on the action attribute of a form is ignored in favor of form elements when submitting a form. I'd try sending the appname parameter as a hidden form element rather than on the query string.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!