I want load into div “example_id” file “status.gsp”.
But application have access denied to file “status.gsp”
$('#example_id').load('status.gsp').hide().fadeIn(3000);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do not load the GSP directly (the views directory is not visible by default). Route it via controller’s action and use that as URL to load the GSP rendered HTML.
Example:
Have a controller named
StatusControllerwith an action namedstatus, which will render the GSP back to the output stream.