views:

56

answers:

1

Hi guys

I am using following paypal return value

http://localhost:8080/projectName/sucess?id=1

but when transaction completes it does not return me value of id

it return only http://localhost:8080/projectName/sucess

we have call sucess servlet after paypal transaction completes

Please help me

+1  A: 

Try using pathinfo instead.

So http://localhost:8080/projectName/sucess/1 instead of http://localhost:8080/projectName/sucess?id=1

You can grab the 1 in servlet by request.getPathInfo().substring(1).

BalusC