Mehul Kumbhani wrote:Sir,
I have created .war file from netbeans.
can i run this file?
You don't actually "run" it. You install it (deploy) into a
J2EE server and run the server. When your web browser submits a URL that matches the application context that you deployed, it routes the URL to your application code.
For basic servelt/JSP WARs, you can use
Tomcat as your webapp server. If you're using more advanced J2EE features such as EJBs, you need a full-function J2EE/JEE server such as
JBoss, WebSphere, WebLogic or something similar.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.