Object creation is failed in JSP
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi all
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.
Please help me to solve the problem
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.
Please help me to solve the problem
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
First of all welcome to the JavaRanch. Please TellTheDetails. Some exception is not really helpful.
I'm really familiar with these technologies but I don't believe that the Apache webserver can process war files.
I'm really familiar with these technologies but I don't believe that the Apache webserver can process war files.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi Selva,
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.
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.!!!
SCJP1.5.
| You had your fun. Now it's time to go to jail. Thanks for your help tiny ad. The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








