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"...
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...
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...
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...
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)...
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 =...
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 " +...
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)...
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...
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...
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.
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.