• 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

AJAX

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using AJAX XMLHttpRequest in my authentication server to call my servlet to validate the user. Once the validation is complete I should open the application URL the user asks for. The first page of the application opens up, but for the second one, which is called by sendRedirect() my user's application servlet searches in my authentication server's domain. Please help as how to get the html object look for the user's application servletcontext.please help.

[BPSouther: Removed URGENT from post or subject line.]
[ February 15, 2008: Message edited by: Ben Souther ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having a hard time understanding this question.

Are you sending back a sendRedirect from an Ajax call?
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am really confused here also. If you are using a servlet to redirect, why are you using ajax to make the call for authentication? When not just do it in the servlet since it has to perform the redirect anyway?

my user's application servlet searches in my authentication server's domain.



Your user's application servlet? Is this servlet number 1 or servlet number 2? Please explain. You user doesn't own the servlet, right? Also, what is it searching for in the authentication server's domain?

how to get the html object look for the user's application servletcontext



What html object are you referring to here?
reply
    Bookmark Topic Watch Topic
  • New Topic