How to access iphone camera from webapp(server-side web)? (ex asp,php,jsp)
It's not possible for code running on a server to access an iPhone's camera. It's not even possible for client-side web-app code (Javascript, HTML, CSS) to access the camera.
You'll need to write a full native app to be able to work with the camera. If you'd still like to be able to use web-technologies to do this, have a look at PhoneGap: http://phonegap.com/
PhoneGap makes it easier to write an app that loads a web page, but allows for access to device native APIs. Building the user interface will be more difficult though.