How to develop newsletter module in JSF Web application? Newsletter with the functionality of subscribing and unsubscribing by the members via email
A:
Install a SQL database. Create a table with an emailaddress in one of the columns. Create a JSF page with an input form where the user can enter its email address. Store this in the DB table on submit. If you want to unsubscribe by a link with the emailaddress as GET parameter, then you have to attach a bean to the JSF page in question which obtains the GET parameter as manage property and removes the emailaddress from the DB table during @PostConstruct
.
BalusC
2010-04-22 11:39:00