How to set email notification using struts.Plz give the
example code?

Answer Posted / vijay satlawar

There is no seperate mechanism in struts to send mail.

To send mails you need to use mail API by downloadimg mail.jar.

This needs SMTP port to be enabled in the system which needs
to send mail alerts.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some struts tag libraries?

552


Explain how can we upload files in struts2 application?

619


What is the difference between struts1 and struts2?

512


What does modeldriven interceptor?

585


Where should struts xml be placed?

501






What are apache struts?

507


What is the purpose of @emailvalidator annotation?

493


Explain about the tag?

623


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

583


Difference between html tags and struts specific html tags

505


What are the core classes of the struts framework?

510


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

544


What is struts.devmode?

571


What is the difference between struts and spring?

519


Why are springs better than struts?

599