I am creating a class for sending mail from java program. The email id is get from user in the jsp page. while creating object for the mail class from the jsp page it gives some exception. but it is working properly in the windows. windows is my local machine. I am using netbeans for developing java program. My server is Linux server. CentOS 5.4 is the operating system i have installed. I have configured Apache and tomcat on that server. Netbeans gives a *.war file as output. I know how to deploy war file in tomcat. But here i need to deploy the war file in to Apache server.
you cannot deploy your .war file in Apache server. its an webserver and not a webcontainer like tomcat. so you need to deploy your war in tomcat only or any other webcontainer. Apache server is used for static html pages and not for dynamic content.
[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!