BlackBerry CEO: We'd love to try iOS, Android

How to Access Cookies in JSP Expression Language

Below snippet is just for your reference. We can print a cookie value on JSP page using JSP Expression language.


The standard syntax to access Http Cookie value in JSP is:



${cookie.<cookie name>.value}

So if you want to print value of cookie named “foo” on JSP page, you might wanna write something like:



${cookie.foo.value}

In previous tutorial How to access Cookies in Spring MVC, I used JSP expression language to print value of hitCounter cookie.


Display List of All Cookies in JSP


In JSP expression language ${cookie} gives a list of all cookies set for current webpage. This list can be iterated using JSTL <c:forEach> to print each cookie. Here is a small JSTL code snippet that prints list of all cookies for current page.



<h3>List of all the available Cookies</h3>
<ul>
<c:forEach var="cookies" items="${cookie}">
<li>
<c:out value="${cookies.key}"/>:
Object=<c:out value="${cookies.value}"/>,
value=<c:out value="${cookies.value.value}"/>
</li>
</c:forEach>
</ul>

Once you run this code, you’ll see list of all http cookies for given page as below.

http-cookies-jsp-expression-language


Hope you’ll remember this little trick next time you want something like this.








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

Foxconn will develop some Blackberry phones

Younity brings Snapchat-like capabilities to the rest of your files

EU to reject Google's latest efforts to avoid an antitrust fine

Evernote 5.1.0.2217

Evernote allows you to easily capture information in any environment using whatever device or platform you find most convenient, and makes this information accessible and searchable at any time, from anywhere.





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

Torrent Uploader Fined $652,000 For Uploading 1 Movie

In spite of the heat on torrent sites, as well as uploaders and downloaders, it seems that people are not really deterred from carrying on. Even The Pirate Bay, the world’s most resilient torrent site, continues to operate. Of course, we don’t know how much longer they can resist with pressure coming from all sides. Still, people who torrent do not seem all that concerned.


But, did you know that people actually get caught and are punished for torrenting?


Torrent Uploader Fined $652,000 For Uploading 1 Movie


Take this guy from Sweden. According to Torrent Freak:



A moderator and uploader of one of Sweden’s oldest but now defunct private torrent sites has been hit with a huge damages award. For uploading a single pre-release movie the 28-year-old is now required to pay $652,000, the equivalent amount the studio would have charged for a license to distribute the movie for free. For sharing more than 500 others he received a suspended jail sentence plus 160 hours community service.



It’s rather notable that the fine – more than half a million dollars – is only for ONE movie. For the other movies he had shared, his punishment is “merely” community service.


Now, if you’re thinking that you have not done anything of this sort for years, you probably should not sit back and relax just yet. The unlucky guy is facing the consequences of his actions many years back. He used to be a moderator and uploader from April 2008 and November 2011. Many years later, he has been dubbed “Sweden’s “worst ever” individual movie pirate”. And the law has caught up with him.


It does seem that this case is being highlighted as an example. There are obviously many other individuals who have done the same thing, whether on a smaller or larger scale, it doesn’t matter.


So what do you think of this? Does it make you wary about torrenting activities?


[Image via appszoom]


The post Torrent Uploader Fined $652,000 For Uploading 1 Movie appeared first on TechBeat.






via TechBeat http://techbeat.com/2013/12/torrent-uploader-fine-652000-uploading-one-movie/?utm_source=rss&utm_medium=rss&utm_campaign=torrent-uploader-fine-652000-uploading-one-movie

Windows 11 Insider Preview Build 29558.1000 Released to New Canary Channel

UPDATE: Windows 11 Insider Preview build 29558.1000 released to the new Canary channel. Windows Insiders on the refreshed Canary Channel wil...