Google Play Music All Access becomes a ticket to Google Glass for some

The security industry found its dream enemy in 2013 -- and new technical challenges too

2013 in Review: The year in gaming

'Should I Remove It?' helps you choose which programs to purge

Immunet Protect Free 3.1.8.9552

Immunet provides essential antivirus protection for PC users. Immunet provides extra antivirus protection that is light, fast and compatible with existing security products.





via FileHippo.com http://filehippo.com/download_immunet_protect_free/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

LG heads to Las Vegas with a 980 gram laptop

Taxi! Five free apps for hailing a legit cab

High-tech 2013: The 10 biggest news events of the year

DivX Play 10.1.0

DivX® 9 for Windows is a free download that provides everything you need to enjoy high-quality digital videos on your computer, including HD H.264 (.mkv) videos with AAC audio and videos created using all previous versions of DivX technology. You can also play your DivX files (.divx, .avi) on millions of DivX Certified® devices today. Look for DivX...





via FileHippo.com http://filehippo.com/download_divx_play/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Auslogics Disk Defrag 4.4.2.0

Auslogics Disk Defrag is a compact and fast defragmentation tool that supports both FAT 16/32, and NTFS file systems. It's supplied with advanced disk optimization techniques, which will remedy your system sluggishness and crashes caused by disk fragmentation.





via FileHippo.com http://filehippo.com/download_auslogics_disk_defrag/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Foobar2000 1.3

foobar2000 is an advanced freeware audio player for the Windows platform. Some of the basic features include full unicode support, ReplayGain support and native support for several popular audio formats.





via FileHippo.com http://filehippo.com/download_foobar2000/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Facebook tops US social networking charts, but users diversifying

Archos to show sub-$100 smartwatches at CES

Android in-car initiative with Audi, Nvidia tipped for CES

The competition between Google and Apple hits the road: Google will reportedly team with Audi to offer Android-powered in-car information and entertainment.



via PCWorld http://www.techhive.com/article/2083341/android-in-car-initiative-with-audi-nvidia-tipped-for-ces.html#tk.rss_all

My hard drive is making scary sounds

McAfee Labs Stinger 12.1.0.725

Stinger is a quick and installation-free standalone tool for detecting and removing prevalent malware and threats, ideal if your PC is already infected. While not a replacement for full fledged antivirus software, Stinger is updated multiple times a week to include detection for newer Fake Alert variants and prevalent viruses.





via FileHippo.com http://filehippo.com/download_mcafeelabsstinger/56649/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Samsung lays groundwork for smartphones with more RAM

How to set up a document scanning system

IObit Uninstaller 3 review: Free utility competes with a built-in Windows feature, almost wins

Gone viral: The memes and videos that defined 2013

iPhones Coming To China Mobile From January 17th

It has been announced that Apple and China Mobile have struck a deal, allowing the iPhone 5s and 5c to be launched on the China Mobile’s 4G and 3G networks in the early part of 2014.


Apparently you can pre-register for one of the phones now, with the handsets becoming available from January 17th.


china mobile and Apple


In the press release, Apple CEO Tim Cook said: “China is an extremely important market for Apple and our partnership with China Mobile presents us the opportunity to bring iPhone to the customers of the world’s largest network.”


It has taken time for Apple to gain access to China Mobile’s alleged 760 million customers, with talks between the two companies going on since 2011. It was The Wall Street Journal that reported earlier this month that a deal had finally been reached and finalised.


A recent report from Canalys stated that China, Hong Kong and Taiwan account for 39 percent of the global smartphone market between them. Apple ranked fifth in the region’s smartphone sales but now a deal has been struck, it has been predicted that it could lead to a possible 30 million more iPhones being sold.


The announcement of the deal also said that it will “give a big boost to the development of China’s homegrown 4G/TD-LTE technology.” Pricing details will be revealed at a later date.


[Image via Business Insider]


SOURCE: http://techcrunch.com/2013/12/22/apple-china-mobile/


The post iPhones Coming To China Mobile From January 17th appeared first on TechBeat.






via TechBeat http://techbeat.com/2013/12/iphones-coming-china-mobile-january-17th/?utm_source=rss&utm_medium=rss&utm_campaign=iphones-coming-china-mobile-january-17th

Report: NSA intercepts computer deliveries to plant spyware

Spanish police arrest eight in $45 million global ATM fraud

Portrait of the Microsoft Ballmer's successor inherits

Tablet users report hassles with balky browsers

Would Microsoft be better off without Xbox?

Beware of counterfeit versions of top Android, iOS apps

Appliance maker prepares to grow the Internet of Things

Train your Gmail to jog your memory in the new year

Surface Pro 2 users wait for Microsoft's firmware fix

Cybercrooks turn to other exploits after Blackhole bust

Sony Giving PlayStation Plus 3 Games From 2013 For Free!

To get 2014 off to a good start, Sony has announced it will be giving some of 2013′s best games to PlayStation Plus subscibers.


Some of the top titles that have been selected for PS3, which will be added to the PlayStation Plus Instant Game Collection are: Bioshock Infinite, DmC: Devil May Cry and Brothers: A Tale of Two Sons.


bioshock infinite


As for the PlayStation 4 owners, they will receive Don’t Starve for free and if you have a PS Vita, then you will be able to download Worms: Battle Island and the trivia game Smart As.


In order to download and play these games, you will have to have an active PlayStation Plus membership. If your renewal lapses then they will become unplayable.


Although a PlayStation Plus subscription costs $49.99 a year, games will be added regularly to the rotating Instant Game Collection throughout this next year. And don’t forget that you can often find the 12-month voucher at a discount price, so it’s definitely worth considering.


[Image via pacmen]


SOURCE: http://www.theverge.com/2013/12/26/5245950/playstation-plus-gets-three-of-2013-best-games-free-bioshock-infinite


The post Sony Giving PlayStation Plus 3 Games From 2013 For Free! appeared first on TechBeat.






via TechBeat http://techbeat.com/2013/12/sony-giving-playstation-plus-3-games-2013-free/?utm_source=rss&utm_medium=rss&utm_campaign=sony-giving-playstation-plus-3-games-2013-free

There's no Here there: Nokia pulls map app off iOS

Nokia says iOS 7 has harmed the user experience of its mapping app, but the company has show little appetite for keeping Here Maps up to date since its iOS debut more than a year ago.



via PCWorld http://www.techhive.com/article/2083256/theres-no-here-there-nokia-pulls-map-app-off-ios.html#tk.rss_all

Is 2014 the Year of the Smartwatch?

2013 in Video: Apple's year in review

Police make murder arrest after cellphone theft goes wrong

Apple, Samsung forecast to still rule tablets in 2014

Hackers are reportedly trying to use stolen Target cards

2013 in Review: Our nine best videos of the year

Boost your IQ: Boot up a game

Security industry takes a hit after latest NSA disclosures

Beware snoopy apps that ask more than they need to know

Mobile gadgets security called biggest challenge for business

2013 in Video: The year's biggest tech stories

The Internet Archive rekindles early video game consoles with emulation

No need to dig through that dusty closet and find your Atari 2600. Play Pacman, Space Invaders, Donkey Kong and more, all from the comfort of your browser.



via PCWorld http://www.techhive.com/article/2082318/the-internet-archive-rekindles-early-video-game-consoles-with-emulation.html#tk.rss_all

Target confirms customer PINs were taken in breach, but says data is safe

Judge rules NSA's phone data collection program is legal, tosses ACLU suit

Chromebooks' success punches Microsoft in the gut

Attackers could match phone numbers to Snapchat accounts, researchers say

Speed up your web browsing with Vimium's keyboard shortcuts

French authorities requested 6,145 phone and data taps in 2012

Spring @RequestHeader Annotation example

Let us quickly check how to access http Header information in Spring MVC Controller.


Spring @RequestHeader Annotation


Spring MVC provides annotation @RequestHeader that can be used to map controller parameter to request header value. Following is the simple usage of spring @RequestHeader annotation.



import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
//..

@Controller
public class HelloController {

@RequestMapping(value = "/hello.htm")
public String hello(@RequestHeader(value="User-Agent") String userAgent)

//..
}
}

In above code snippet we defined a controller method hello() which is mapped to URL /hello.htm. Also we bind the parameter String userAgent using @RequestHeader annotation. When spring maps the request, it checks http header with name “User-Agent” and bind its value to String userAgent.


If the header value that you specified does not exists in request, Spring will initialize the parameter with null value. In case you want to set default value of parameter you can do so using defaultParameter attribute of spring @RequestHeader annotation.



@RequestMapping(value = "/hello.htm")
public String hello(@RequestHeader(value="User-Agent", defaultValue="foo") String userAgent)

//..
}

Complete Tutorial


Now we know the concept, let us use it and create a Spring MVC application to print value of different http request headers. Following is demo application for Spring Requestheader example.


For this tutorial I will be using following tools and technologies:



  1. Spring MVC 3.2.6.RELEASE

  2. Java 6

  3. Eclipse

  4. Maven 3


Following is the project structure.

spring @requestheader project structure


Create and copy following file contents in the project structure.


Maven configuration: pom.xml



<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.viralpatel.spring</groupId>
<artifactId>Spring_Cookie_example</artifactId>
<packaging>war</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>SpringMVCCookie</name>
<properties>
<org.springframework.version>3.2.6.RELEASE</org.springframework.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<compileSource>1.6</compileSource>
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- Spring MVC -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- JSTL taglib -->
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
</dependency>
</dependencies>
<build>
<finalName>springcookie</finalName>
</build>
<profiles>
</profiles>
</project>

Maven configuration is simple. We just need Spring MVC and JSTL dependency.


Deployment description: web.xml



<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Spring MVC Http Cookie</display-name>
<welcome-file-list>
<welcome-file>hello.htm</welcome-file>
</welcome-file-list>

<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>

</web-app>

Web.xml is quite simple too. We just need to configure Spring’s DispatcherServlet with *.htm url pattern.


Spring Configuration: spring-servlet.xml



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">

<context:annotation-config />
<context:component-scan base-package="net.viralpatel.spring" />


</beans>

In spring-servlet.xml we just defined component scan to load @Controller classes. Note that we are not defining view resolver as we dont need that for this exmaple. But ideally you’ll have one view resolver that maps to JSP views.


Spring Controller: HelloController.java



package net.viralpatel.spring;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {

@RequestMapping(value = "/hello.htm")
public String hello(
@RequestHeader(value="Accept") String accept,
@RequestHeader(value="Accept-Language") String acceptLanguage,
@RequestHeader(value="User-Agent", defaultValue="foo") String userAgent,
HttpServletResponse response) {

System.out.println("accept: " + accept);
System.out.println("acceptLanguage: " + acceptLanguage);
System.out.println("userAgent: " + userAgent);

return null;
}

}

The logic to read http requestheader is written in HelloController. We used spring @RequestHeader annotation to map userAgent, accept, acceptLanguage strings from request header.


Demo


Open your favorite web browser and point to below URL:


http://localhost:8080/Spring_RequestHeader_example/hello.htm


The page will be blank because we haven’t rendered any JSP view. Check the server Console logs. You’ll see the http header values.

spring-requestheader-example-demo


Download Source Code


Spring_RequestHeader_example.zip (8 KB)


References



The post Spring @RequestHeader Annotation example appeared first on ViralPatel.net.








via ViralPatel.net http://feedproxy.google.com/~r/viralpatelnet/~3/vesOgxkVRgA/

Picasa 3.9 Build 137.76

Picasa is software that helps you instantly find, edit and share all the pictures on your PC. Every time you open Picasa, it automatically locates all your pictures (even ones you forgot you had) and sorts them into visual albums organized by date with folder names you will recognize. You can drag and drop to arrange your albums and make labels to ...





via FileHippo.com http://filehippo.com/download_picasa/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Foxit Reader 6.1.2.1224

Foxit Reader is a free PDF document viewer, with incredible small size, breezing-fast launch speed and rich feature set. Its core function is compatible with PDF Standard 1.7.





via FileHippo.com http://filehippo.com/download_foxit/ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Chrome 123 to Replace GoogleUpdate.exe with New Updater.exe Tool

SUMMARY: Chrome 123.0 and later versions will use a new version of Google Update tool. The previous GoogleUpdate.exe will be replaced with n...