Tips & Tricks

This category contains 9 posts

Removing JSESSIONID from URLs for Spring Security 3.0+ applications

jsessionid in URLs look annoying, more so in search results. Disabling them from URL is just a configuration in your spring-security.xml file for Spring version 3.0 + : use the disable-url-rewriting=”true” in the security namespace for http tag. the http tag becomes: <security:http auto-config=”false” disable-url-rewriting=”true”> If you are not using http cofiguration and using FilterChainProxy, this [...]

Came across this brilliant stuff on how to get Press Coverage/PR for Startups @dharmesh

PR for Startups - Great article Onstartups 

Guess the website and be a part of the SEO Experiment!

This post is in continuation to this post on the SEO experiment. WTF is this SEO Experiment? I am experimenting changes to a fully keywords-based website to see the effects on the SEO (Search Engine Optimization) and web-traffic of the website. You too can be a part of it, just guess the website from the description [...]

SEO… huh? An Experiment with SEO

SEO (Search Engine Optimization) was never my cup of tea so I thought why not try a bit? I was amazed to see the power of SEO in bringing huge (huge for an experiment) traffic. I decided to create a full experiment with SEO (Search Engine Optimization) from scratch. Got a fresh domain name – [...]

My Book Wishlist

A collection of must read books on computer science, technology, entrepreneurship, business, product design & strategy. My wishlist from flipkart: http://www.flipkart.com/wishlist/prashantp    

Essential tools : Running and Monetizing a blog or website

Here is a list of essential and some important  tools for running and Monetizing a website or your blog: Google Analytics – complete analytics on your website visitors. Google Adsense – Monetize the website. Display ads on website and earn money. Google Webmaster Tools – Set of tools to identify keywords for your site, top [...]

Making of my blog (Get a website/blog cruising in minutes)!

Well, when I was offered a free domain while upgrading my web hosting account, I really did not have anything in particular in mind and booked this domain. Though it was not a lot of effort to setup my own blog on the domain,  most of the time it led to finding the right template, [...]

XPath Evaluation in Java : Xalan XPath API vs Apache XmlBean

How to evaluate Xpath value for an XML in Java? Well there are couple of popular ways to evaluate XPath in Java. If you are using JDK 1.4 version than Xalan’s XPathAPI class is one of the most popular ways to evaluate XPath. Using XPathAPI is simple, use the following static method from XPathAPI class: [...]

Automatically Tag MP3 Music Files

I have huge collection of music files : around 25% of them not recognizable by their file names or mp3 tags and around 10% of songs probably duplicate. Whenever I wanted to listen my own collection of songs, I ended up wasting all my time finding the right songs.  The music files had MP3 tags like “unknown artist”, “unknown [...]