facebook twitter youtube
by Amit Gupta - no comments

If you request to a servlet with some parameters and servlet requires no additional information later then it is ok. Otherwise you will need to create a session. Session is a time period for which a web server application remembers their client. Webserver can record user’s activities done in a session. And can respond accordingly [...]

Tags: , , , , , , ,

in Concept & ideas - 03 Mar, 2013
by Amit Gupta - 2 comments

We know that telescope works when inwards (to objective lens) and outwards (from eyepiece) rays are parallel. outwards (from eyepiece) rays are required to be parallel from any lens so it can be focused to from our eye pupil. And as per the theory of convex lens, outward rays are parallel from lens when object [...]

Tags: , , , , ,

by Amit Gupta - no comments

If you read my article about setting up the telescope, you will learn making a telescope when you know the focal length of lenses. But the question is how to know focal length of a lens.     Using other lens whose focal length is known As we know for a telescope, distance of both [...]

Tags: , , , ,

by Amit Gupta - no comments

After setting up the telescope, I tried to see some buildings far from my balcony. But it was really difficult to observe the target directly from telescope. So I made my own view finder or target marker which shows me what telescope is pointing. It is quite easy. I took a ball pen. Since it [...]

Tags: , , , , , , ,

in How & Why - 16 Feb, 2013
by Amit Gupta - 3 comments

I purchased a cheap telescope in 1450rs few days back. It claims to give me 90x magnification of distance objects. In other words, it gives me 90 times closer view. It comes with following parts; Objective lens of 360mm focal length and 50mm diameter 10-1/ 8″ scope, two interchangeable eyepieces of 20mm and 6mm focal [...]

Tags: , , , ,

in How & Why - 06 Feb, 2013
by Amit Gupta - no comments

There are various issues while designing a webpage like compatibility, design, javascript integration, components placement etc. Well there is a trick, I learnt from my brother-in-law, which will help you to overcome most of the issues. It’ll not only save your precious time but effort too. What you need? Instead of using any web page [...]

Tags: , , ,

by Amit Gupta - no comments

Tutorials in this series Quick jump with Spring 3 MVC – Theory apart : Covers spring MVC project setup Spring 3 MVC after a quick jump : Covers require spring annotations you use in controller, comparison with JAX-RS annotations, and many other request identifiers Basic Form Handling : How to handle a request and map [...]

Tags: , , ,

in My Work - 20 Jan, 2013
by Amit Gupta - 2 comments

There are some photos I snapped last to last weekend. I used mouth freshner, which were tasteless but mixed the taste in my photography, and a chocolate cake container. I threw the cake in the dustbin but kept its container. Some photographs learnt myself how aperture affects clear visibility of objects, how lights can create [...]

Tags: ,

in Discussion & reviews - 20 Jan, 2013
by Amit Gupta - 14 comments

Tikona is one of the Internet service provider in India. I was one of the Tikona customers. The purpose of writing this article is to aware people when they face such harassment. Case: I took a tikona prepaid connection in Aug 2010 for one year. I received a call in end of july 2011, from [...]

Tags:

in Discussion & reviews - 20 Jan, 2013
by Amit Gupta - no comments

I shifted to Pune last year. This was a new flat developed by OM Developers. And I found that the construction quality and the material used are not good. Let’s start with terrace; When I drilled in terrace wall to tie the rope, driller skidded after drilling 1 inch deep. See the ceiling; it started [...]

Tags:

in Concept & ideas - 20 Jan, 2013
by Amit Gupta - one comment

Celebrating your anniversary in a hotel or restaurant, or giving a grand party may be a common idea which workes when nothing else work. A trip to some nearby resort, hill station, or celebrating on houseboat, may be a good idea to celebrate your anniversary in romantic style. Purchasing some jewelry or wrist watch or [...]

Tags: ,

in Offer - 22 Dec, 2012
by Amit Gupta - no comments

Many sites send discount/gift coupons and promo codes to their users personally instead of sharing them publicly. But sometimes those user don’t need them and they got expired without use. So here I am sharing some coupons which may useful to you. If you some unused coupons and you are not about to use them, [...]

Tags: ,

by Amit Gupta - no comments

Tutorials in this series Quick jump with Spring 3 MVC – Theory apart : Covers spring MVC project setup Spring 3 MVC after a quick jump : Covers require spring annotations you use in controller, comparison with JAX-RS annotations, and many other request identifiers Basic Form Handling : How to handle a request and map [...]

Tags: , , ,

by Amit Gupta - no comments

Tutorial in this series; Quick jump with Spring 3 MVC – Theory apart : Covers spring MVC project setup Spring 3 MVC after a quick jump : Covers require spring annotations you use in controller, comparison with JAX-RS annotations, and many other request identifiers Basic Form Handling : How to handle a request and map [...]

Tags: , , , ,

by Amit Gupta - no comments

Tutorial in this series; Quick jump with Spring 3 MVC – Theory apart : Covers spring MVC project setup Spring 3 MVC after a quick jump : Covers require spring annotations you use in controller, comparison with JAX-RS annotations, and many other request identifiers Basic Form Handling : How to handle a request and map [...]

Tags: , , ,

by Amit Gupta - no comments

In first tutorial of this series, I covered very basic about how to construct a project in spring 3 MVC. Here, I am discussing concepts one level ahead. @RequestMapping or URI Template As we read, any URL you hit requires mapping with a method in controller class. There are many parameters to map a URL [...]

Tags: , , , ,

by Amit Gupta - 3 comments

Tutorial in this series; Quick jump with Spring 3 MVC – Theory apart : Covers spring MVC project setup with common problem resolution Spring 3 MVC after a quick jump : Covers require spring annotations you use in controller, comparison with JAX-RS annotations, and many other request identifiers We have already read in last tutorial [...]

Tags: , , , ,

by Amit Gupta - no comments

What we’ll learn in this tutorial Project setup for spring MVC in eclipse Basic knowledge of controller and RequestMapping Prerequisite JDK 1.5+ Tomcat 5.0+ Eclipse 3.2+ How to create Dynamic Web Project in eclipse Let’s Start Create a J2EE project. And include required dependencies mentioned above. That’s All Let’s Run When you access “localhost/SM” (SM [...]

Tags: , , , , ,

by Amit Gupta - no comments

Before going mentioned practical, let me tell you about Hamcrest in brief. Hamcrest is nothing but an API to support JUnit testing. It provides number of matcher for better readability and comparison. Why Hamcrest? (Junit assertXXX() vs Hamcrest assertThat()) The JUnit release notes for version 4.4 (where it was introduced) state four advantages : More [...]

Tags: , , ,

by Amit Gupta - no comments

As we read about bean init() and preDestroy() in bean life cycle, these methods are bean specific and runs after bean initialization. Spring provides another way to control/customize bean initialization. It can be useful for logging purpose, or when you need to set specific values for specific beans. Let’s start. Setup a String project as [...]

Tags: , , , ,