Sanjaykar Gurram

Greenhorn
+ Follow
since May 05, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sanjaykar Gurram

My client server expects few parameters only as part of the header and not in the request.

So do you want me to use XMLHttpRequest which is an ajax style of call, right? Is that possible to redirect to the url from the browser using XMLHttpRequest ?

Thanks.
12 years ago
Actually i want to make a client side redirect (i.e, when you click a hyperlink on the browser you will be redirected to a different url passing few header parameters along the request).

I tried to do this from javascript as well as servlet redirection. Both ways did not succeed me.
12 years ago
Hi

I have the requirement of passing header parameters along the request(not as request parameters, value need to be send via header information).

I googled to find if there is any possibility to send header information using javascript, but in vain.
I also tried using servlet response.sendRedirect() like as shown below:

String redirect_uri = "https://localhost:8080/MyApp";
response.addHeader("ACT", "TEST");
response.sendRedirect(redirect_uri);

The request gets redirected but the header value do not get passed, as the browser makes a new request which do not contain the header information i put in the servlet. Kindly suggest me a way i can pass information to my application url via headers.

Thanks,
Sanjaykar
12 years ago
Hi

Sorry, I am not sure if this the right place to post this thread. Actually am looking to host a web application in my local machine(laptop)
using tomcat and make it available over the internet. As my ISP provides me dynamic IP i am using DlinkDDNS for DNS name, for which i configured
in my Dlink wireless router. I made few configurations in my Router so that all requests on port 80 will be redirected to my laptop.

But what happens is nothing, only in my laptop i could access my tomcat home page using DNS name but not in other systems(laptop).

Please guide me in doing this, any good pointers is appreciated.


Thanks,
Gurram
12 years ago
Hi

I am having issue passing text containing special characters to a javascript function. Would like to know if there is any special means to pass text like this.

Ex: onclick="loadPopup('My Saloon's Test')" <----- Text having special character( ' )

If i do this it shows script error "Expected )".

Please let me know how do i handle this.


Thanks,
Sanjay
Hi

I am trying to upload a file using ajax call. am using spring controller to handle this request.

My request comes to the controller but the request param is null, dont know why.

Can any body explain to achieve this funcationality using Ajax & Spring contollers.

Any pointers to this is helpful ..

Thanks,
Sanjaykar Gurram
Hi

I am generating an excel sheet in the java side using POI. This happens when the user clicks a button the screen.
But the generated file opens with file File Download(with Open, Save, Cancel options).

Instead i want my generated file to be opened in a new browser and embed the file inside it.
How do i achieve this through java.

Please let me know if anything else you require from my side.

Sanjaykar
13 years ago
Hi All,

Recently i have changed my employer in the month of February. So while filing the tax returns using the 2 Form 16's(1 from old employer till Jan and another from new employer for 2 months Feb and March) i am in tax debt to the government.

In order to pay this amount to IT department i think i need to make online payment using challan. Does any one know which challan number i need to make payment against in this scenario. There are 4 different challans available to pay.

https://onlineservices.tin.nsdl.com/etaxnew/tdsnontds.jsp

Thanks,
Gurram
13 years ago
Hi All,

Is there any way to create a dynamically increasable(growable) array WITHOUT using Collections in any way.


Thanks,
Gurram
13 years ago
If my previous employer gives me Form 16, now i will be having 2 Form 16 with me. Then can i file the return using these 2 Form 16 ??

Please clarify..
13 years ago
Hi,

I have left my previous employer in the 3rd week of February this year. Now i am in the new organization which gave me Form 16 only for the period (last week of February and March 2010). Can i ask Form 16 from the previous employer to file the IT returns now. What can i do at this point where i need to file the IT returns.

Please advice.


Thanks,
Sanjay
13 years ago
Hi All,

I am working on oracle ADF framework, and in my application i always see IllegalStateException thrown in
the console. In my filter class, i am handling exceptions and redirecting to customErrorPage.jsp.
For this i have used catch(Exception e).

But every time the IllegalStateException is thrown my catch block i getting called(ofcource the error page is not redirected).

How can i unhandle IllegalStateException exceptions in my code.
I mean, i dont want to print this messages on the console whenever IllegalStateException is throw.

Thanks,
Sanjaykar
14 years ago
JSF
Hi all,


can i access error messages which is in properties file. for example to display some alerts to the user after getting values from the properties file.
can you anybody help me out. i am under .

Thanks
Sanjaykar Gurram
[ October 22, 2008: Message edited by: Bear Bibeault ]
Hi Vikram,

Yes, what you said is right. Ofcourse ADF is an excellent framework for J2EE development. But am not able to know how much it is going to gain market share in the future. As of now we are using JDev 10.1.3.1.0.
which version you are using??


Thanks
Sanjaykar Gurram
Hi All

Thanks for your time.

Actually why i posted this in this forum is, i was asked this question by an interviewer. He told me this scenario and expected my answer.

yes, ofcourse a user doenst need a connection for a longer duration.
might be the interviewer wants to test me for a good answer.

Thanks
15 years ago