Dev Anand

Ranch Hand
+ Follow
since Aug 30, 2009
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
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dev Anand

I am trying to develop browser extension for Chrome Browser exactly like Pinterest PIn-IT button. As Pin-It button works for images, on hover to any image in a web page it displays tiny image or text "PIN IT".

Need help on how to do this. Thank you.

Regards
Dev Anand
somebody might write a mobile app to access my web application via HTTP requests
11 years ago
means, to stop accessing the content and services of my web application from mobile apps.
11 years ago
Hi,
I want to create a web application which can restrict mobile apps.
Is there any solution to achieve this?

Regards
Dev Anand P
11 years ago
Hi,
I have written following code to play audio file. It is neither showing any error message nor playing the mp3 song.



I'm calling the above class from jsp file as below :



can anybody help me why its not getting played?

Thank you.

Regards
Dev Anand. P
11 years ago
Hi,
I'm preparing calendar in Java and display events like Friendships day, Mothers day etc.
Friendship day fall on first sunday of August.
I want to get the date of first sunday of a given month.
Can anyone help me in this regard?
Thank you.

Regards
Dev Anand
12 years ago
can we set session timeout in ActionContext.getContext().getSession()?
12 years ago
What is the difference between ActionContext.getContext().getSession() and HttpSession?
12 years ago
I'm using struts2.2.3 framework for my application. I i make any changes in my jsp pages, they are not getting updated When i use IE6 browser. Instead its showing same old data. But, I'm not getting this kind of issue, if i use other browsers like Firefox, Chrome.
So, what i did is, i'm appending session id to all the jsp's in my application. With this, its working fine in all browsers including IE6.
But, i dont wanna append session id to jsp.

Is there anyway to overcome this issue without appending session id to all the jsps?

Thanks in advance.

Regards
Dev Anand.
12 years ago
Can anyone suggest me book for Java Hibernate? Means, I dont have zero knowledge on this framework.

Thanks in advance

Regards
Dev Anand
Thanks Martin for your information.

Regards
Dev Anand
Hi,
Is it an efficient approach to go for batch execution if we have 5 or 6 records to insert or update using preparedstatement?
Can anyone help me for better approach?
Thanks in advance

Regards
Dev Anand
Thank you Bill.

Regards
Dev Anand. P
13 years ago
I got the following code in which i send request n response object to methods.

Is it a good practice to send these objects or shall i write the code here itself.

Thanks in advance






/*--------------------------Code Start------------------------------*/

if (s.equals("UserGroups"))
{
UserGroups(request,response);
}
else if(s.equals("updategroup"))
{
updateGroup(request,response);
}
else if (s.equals("DeleteGroups"))
{
DeleteGroups(request,response);
}
else if(s.equals("UserContacts"))
{
userContact(request,response);
}

/*---------------------------------Code End------------------------------*/


Regards


Dev Anand. P











13 years ago
Your absolutely correct, Bear Bibeault.

I'll explain my requirement clearly. I developed a web application, in which, if I click 'Logout' button, the application will be redirected to 'Home' page. Then, if I click on back button of the 'Home' page, the application is getting redirected to Main page of my application. This is absolutely wrong. So, if I click on 'back' button, it should redirect to 'Login' page, not to the 'Main' page of my application.

I hope my requirement is clear now.

Thank you.

Regards
Dev Anand. P
14 years ago