Need help in GPS coding

I have a GPS modem and Arduino UNO…
i want to see langitude and latitude value in serial monitor…

i connected GPS modem’s RX,TX pin to Arduino’s pin 2,3 and gnd to gnd…

Code:-

#include <SoftwareSerial.h>
#include “TinyGPS.h”
long lat,lon; // create variable for latitude and longitude object
SoftwareSerial gpsSerial(2, 3); // create gps sensor connection
TinyGPS gps; // create gps object
void setup(){
Serial.begin(9600); // connect serial
gpsSerial.begin(4800); // connect gps sensor
}
void loop(){
while(gpsSerial.available()){ // check for gps data
if(gps.encode(gpsSerial.read())){ // encode gps data
gps.get_position(&lat,&lon); // get latitude and longitude
// display position
Serial.print("Position: ");
Serial.print("lat: “);Serial.print(lat);Serial.print(” ");// print latitude
Serial.print("lon: ");Serial.println(lon); // print longitude
}
}
}

But no response

Please help me to solve this problem

Start with:

void loop(){
    if (gpsSerial.available())
        Serial.write(gpsSerial.read());
}

That will show you if you are receiving characters from the GPS properly. Work on that until you receive clear messages from the GPS. Then make sure your messages contain Latitude and Longitude: They won’t until the GPS has a position lock. THEN you can use the TinyGPS library to extract data from the messages,

ya o/p comes but it is wrong

n: lat: 999999999 lon: 99999999 Posiô?,,,,,,,,,,,,*1E $GPGSV,3,1,12,11,00,000,13,01,00,000,,02lõͥѥ½¹é lat: 999999999 lon: 999999999 Position: lat: 999999999 lon: 999999999 Position: lat: 999999999 lon: 999999999 Position: lat: 999999999 lon: 999999999 Position: lat: 999999999 lon: 999999999

The GPS unit does not have a valid position fix.

means???

What is the solution?

GPS doesn't work well indoors, although sometimes you can get a position if the device is near a window. Other obstructions - trees, nearby buildings etc can interfere with the GPS' ability to receive signals from the satellites.

In such situations, where the GPS cannot "see" sufficient satellites, it cannot figure out its position, which apparently is what you're finding with yours. Try taking it outside; even then it may take a few minutes to get a lock.