There are some pretty significant details missing that makes answering this difficult.
If you have a web server running on your local computer and your iPad/iPhone is connected to the same local network, you can definitely view the website on those devices.
You'll need to determine the local IP address of your machine (usually starts with 192.168), and then try to visit that IP address in your mobile browser. How you do this varies greatly depending on your operating system.
See: http://www.bitwiseim.com/wiki/index.php?title=Determine_your_LAN_/Local/_Internal_IP_Address for common ways to find this.
There are so many other factors involved, though, that I don't know if an answer can be given that is useful without knowing more about your setup.