Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 6th, 2004, 09:59 AM
Authorized User
 
Join Date: Jan 2004
Location: Athlone, , Ireland.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with Java Mail Please advise "Chapter 9"

I am trying to run the last example from chapter 9 and i am receiving the error

org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/taglibs/mailer-1.0 cannot be resolved in either web.xml or the jar files deployed with this application


I typed in the above url"http://jakarta.apache.org/taglibs/mailer-1.0" and i receive the error page cannot be found".

I downloaded the file taglibs-mailer.jar
and saved it to taglibs-mailer.tldlib
and saved the file
taglibs-mailer.tld to taglibs-mailer.tld
 But when i type in the information in the file premailer.html and click submit i receive the above error message.
Can you please advise.


My classapths are set up to pick up JavaMail1.2 and the Java Beans Framework

Can you please advise

PW
__________________
PW
  #2 (permalink)  
Old September 5th, 2004, 06:46 PM
Registered User
 
Join Date: Aug 2004
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think there is a mistake in the book for this exercise.

For the web.xml file, the <taglib-uri> is set to:
"http://jakarta.apache.org/taglibs/mailer"

Whereas in the corresponding jsp page which references the uri, in the taglib declaration the value is set to:
"http://jakarta.apache.org/taglibs/mailer-1.0"

these values need to be the same basically, and they are not.



I am having trouble with this chapter also.

I get the following exception when I run the example in the browser:

javax.servlet.ServletException: javax/mail/Authenticator
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:244)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

help would be very much appreciated.



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
mail with attachment in JAVA rekha_jsr Servlets 8 March 10th, 2006 07:39 AM
JAVA MAIL DR POMPEII JSP Basics 4 June 28th, 2005 03:42 PM
How to send mail through JAVA rekha_jsr Java Espanol 0 January 29th, 2005 12:32 AM
Java Mail sri2ee J2EE 0 October 14th, 2003 12:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.