I want to generate an email containing a URL( to a specific Action subclass in Struts 1.3 ).
Questions :
- How to generate the email.
- How to create a URL which calls a struts action controller. ?
- How to hide certain jsp pages so that they cannot be called accidentally by malforming the URL ?
- How to call this hidden jsp page using the URL described in question 2. ?
How to approach the problem ?
/WEB-INFfolder so that no one can accidentally browse your JSP files from the web. The only way the user can get to that resource is through your Struts actions (*.do) and the action will determine which JSP files to be displayed on the screen.