Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sharon3874

    Sending custom http headers through HttpClient

    I have a jsp, inside the jsp, I have a iframe, the source to the iframe is the servlet.
  2. sharon3874

    Sending custom http headers through HttpClient

    I had something like the following in my servlet: response.setStatus(301); response.setHeader("CT_REMOTE_USER", "SXYANGET"); response.setHeader("ETRANAUTH", "etranAuthStr2"); response.setHeader( "Location", "http://DNXBETRAN01-V/NBIUATeTRAN/UserLogin.aspx" ); response.setHeader( "Connection"...
  3. sharon3874

    Sending custom http headers through HttpClient

    Thanks for your reply. I think you are correct, but I have no solution.
  4. sharon3874

    Sending custom http headers through HttpClient

    What I am doing is to have a link in my java in house application leads to a vendor application, which is written in asp.net. As long as the user logs in to my java application and click on the link, the user does not need to login again. So I need to send the user information through the...
  5. sharon3874

    Sending custom http headers through HttpClient

    Sorry I thought it didn't work, but actually I was wrong, the headers were sent. I have another problem. the url I am sending my request to is the login page of another application (written in asp.net). I used "www.msn.com" in my example just for testing purpose. When I sent the request to the...
  6. sharon3874

    Sending custom http headers through HttpClient

    I want to use Apache's HttpClient to send http request header. Can anyone take a look into my code and see if it is correct? (I am using msn's web site for testing purpose) String url = "http://www.msn.com"; HttpClient client = new HttpClient(); GetMethod get = new GetMethod(url); String...
  7. sharon3874

    automatic login (3rd party authentication) problem

    All, There is a link in one of our application (java based) leads to another application (vendor application written in asp.net). I am passing some information (vendor requirements) in the http header from servlet to the vendor application. I am getting the following error (from IIS logs)...
  8. sharon3874

    how to display content of an url by using httpurlconnection?

    I want to display the content of a url that I specified in my servlet using httpurlconnection class. I tried something like the following, but I always get a blank page, am I missing anything? URL url = new URL("http://www.msn.com"); HttpURLConnection urlc =...
  9. sharon3874

    How to set custom HTTP header for single sign on

    Thank you for your replies. I tried to set the header in the response object like the following in my servlet (struts action): response.setHeader("Authorization", "test"); i did something like the following in my jsp page to see the result: <% System.out.println("test " +...
  10. sharon3874

    How to set custom HTTP header for single sign on

    Thank you for your responses. I am sorry that I double post it since I am not sure which forum this question should go to. I tried redirect in servlet, it didn't work. I was able to set the header on the response object, but when it goes to the redirecting jsp page (I created one jsp to test)...
  11. sharon3874

    How to set custom HTTP header for single sign on?

    Currently we just begin to use an application called "etran". This application requires user name and password to login. Now, my assignment is to integrate etran application in our internal application. This means that somewhere in our internal application, there is a link leads to the etran...
  12. sharon3874

    How to set custom HTTP header for single sign on

    my company is a financial sector. Currently we just begin to use an application called "etran". This application requires user name and password to login. Now, my assignment is to integrate etran application in our internal application. This means that somewhere in our internal application...
  13. sharon3874

    VBA Word: How to point to a specified dir when a file dialog is open?

    in VBA word, when I right click on some text, I can add hyperlinks upon the text. It will open up a file dialog allowing me to navigate and pick a file. My question is that how I can force the dialog box to point to a certain directory when it opens up? Thanks a lot.
  14. sharon3874

    Word VBA: deployment

    I am new in VBA and I am kind of confused now. I created a word document with some macros in it. one of the things that I did was to add an extra menu item to the short-cut menu(right-click menu), and it will popup a small window...It worked well on my machine, but it didn't work when I put my...
  15. sharon3874

    Word VBA: Why a macro reads a file from 2 different directories

    Hi PHV, Thank you very much!!! I think it works. I really appreciat your help!
  16. sharon3874

    Word VBA: deployment

    Thank you for your reply. Actually, I want them to see the document, and also modify the document. I have customized the shortcut menu(right-click menu) on hyperlinks(add and delete menu items during runtime). I am asking the question because if I switch to the design mode, and exit the...
  17. sharon3874

    Word VBA: deployment

    I am new in VBA. I am sorry in advance if my question doesn't make sense. I have a document with a button triggering a macro. I am just wondering how I deliver it to my users. I don't want my users to see the macro code, which I have already handled it with password protection. My question is...
  18. sharon3874

    Word VBA: Why a macro reads a file from 2 different directories

    Thank you all for your quick responses. I will deliver the doc to my users. I was just thinking that a relative path may be more flexible.
  19. sharon3874

    Word VBA: Why a macro reads a file from 2 different directories

    I am new in VBA. I am sorry in advance if my question doesn't make sense. I have a word document and there is a button which trigger a macro. in the macro, I want to get some info from reading another doc. the name of the file is like "additional_links.doc", since I didn't specify the path, so...

Part and Inventory Search

Back
Top