Meaningless Drivel is fun!*
The moose likes JSP and the fly likes problem in deploying java mail code in tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "problem in deploying java mail code in tomcat server" Watch "problem in deploying java mail code in tomcat server" New topic
Author

problem in deploying java mail code in tomcat server

susham kumar
Greenhorn

Joined: Jul 20, 2011
Posts: 2




Following exceptions are displayed
org.apache.jasper.JasperException: /mail1.jsp(1,51) The JSP specification requires that an attribute name is preceded by whitespace
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:164)
org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:183)
org.apache.jasper.compiler.ParserController.getPageEncodingForJspSyntax(ParserController.java:476)
org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:417)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:190)
org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:192)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
How to remove these exceptions
help me...
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Susham, welcome to Java Ranch!

This question does not appear to be about an IDE. Can;t decide if it should go into the Tomcat forum or the JSP forum, but since thecurrent error is JSP-releated I'll move it there.


JBoss In Action
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

The JSP compiler wrote:The JSP specification requires that an attribute name is preceded by whitespace


That's referring to the attribute name in line 2 of your post. It has nothing to do with Java Mail or anything else, it's just sloppy typing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in deploying java mail code in tomcat server
 
Similar Threads
Gmail and port 465 vs. port 587
550 Invalid recipient Problem whilst I am sending Email using SMTP
problem in mailing with smtp server
Problem in Javamail
urgent help in java mail