Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : J2EE : JSP : Problem with HTTP 500 Internal server error in mailer.jsp Signup · Login
Author Thread
Problem with HTTP 500 Internal server error in mailer.jsp
Posted in tutorial: Sending Emails using JavaServer Pages
·  didik
User
Joined: 9 Jul 2004
Total Posts: 1

Problem with HTTP 500 Internal server error in mailer.jsp

Posted: 9 Jul 2004
Hii,
I have some trouble after submit index.html. Altough, mailer.jsp can we call, but this error like "HTTP 500 internal server error".
For informations :
I have Tomcat 5, JavaMail API 1.3, JAF, and all jar file needed has i set to classpath.

But i don't know, is a very important to configure web.xml in my web app? Can you give me example?

Thank's
didik
·  KUMARI
User
Joined: 12 Aug 2005
Total Posts: 2
configuring the serever.xml and web.xml files in your conf fdirectory of Tomcat server
Posted: 12 Aug 2005
how to confiure is attached with this letter.

ANTONYTHOMAS
·  rrobbins
User
Joined: 7 Mar 2006
Total Posts: 1
Solution To The Problem
Posted: 7 Mar 2006
I had a lot of problems with this as well. Eventually I figured out that the Java Bean's class name "mail.MailerBean" in mailer.jps must correspond to the package name "mail" in MailerBean.java and the class name "MailerBean" in the java source code. The package name "mail" must be a directory under WEB-INF\classes.

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\star\WEB-INF\classes\mail\MailerBean.java

package mail;

<jsp:useBean id="mailer" class="mail.MailerBean">
·  to_gunsa
User
Joined: 14 Dec 2006
Total Posts: 1
Urgent -- HTTP 500 - Internal server error
Posted: 14 Dec 2006
Hi,


I have exactly done as per the article for using the
mailer.jsp , MailerBean.java,With index.html and errorPage.jsp. I have put the mail.jar and activation.jar files and set the classpath also. I could also compile the MailerBean.java file. (package com.stardeveloper.bean.test) When i submit the index file i get the HTTP 500 - Internal server error
Can you please help me out.

Ganesh
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
2 Visitors

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.