Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.