• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

spring mvc sending email got error check the code

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is my EmailController.java file

EmailController.java



This is my EmailSender.java file



This is my EmailMessage.java file



This is my emailConfiguration.xml file under src/main/resources/META-INF



This is my applicationContext.xml under the view folder



This is my email-servlet.xml file under view folder i.e. src/main/webapp/resources/WEB-INF/view



This is my index.jsp file under the WEB-INF folder



This is my pom.xml file



This is my console of Spring Tool Suit IDE

 
Marshal
Posts: 8621
623
Mac OS X VI Editor BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, and where is the most important part, an error you are getting?
You attached partial console output, which is an intro only.
 
Bhushan Ramse
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when I run the program and click on this link   'Click here to Load Email Form' then I got following  error -----

HTTP Status 404 - /mypackage/WEB-INF/view/EmailFormView.jsp

type Status report

message /mypackage/WEB-INF/view/EmailFormView.jsp

description The requested resource is not available.
Pivotal tc Runtime 3.2.2.RELEASE/8.5.6.B.RELEASE
 
Liutauras Vilda
Marshal
Posts: 8621
623
Mac OS X VI Editor BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, the error message appear to be quite descriptive:

/mypackage/WEB-INF/view/EmailFormView.jsp
The requested resource is not available.

Do you have that email form created?
reply
    Bookmark Topic Watch Topic
  • New Topic