Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ASP Request.ServerVariables in JSP

 
Javoso Torso
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

Does anyone know a way to access ASP Request.ServerVariables("xyz")?

Better explained?:
From a page which used ASP, is a link to my app. That page use Request.ServerVariables("login_name") to identify users. I have to use the same variable in my JSP environment. How do I read it?

Thanks!
Regards,
Javo
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make the ASP page embed "login_name=value" into the link's URL. Then, in the JSP, you do HttpServletRequest#getParameter("login_name") to read the request parameter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!