Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Object creation is failed in JSP

 
Selva Chezhian Labam
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pravin Shirke
Ranch Hand
Posts: 152
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!