• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ASP Request.ServerVariables in JSP

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic