You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit grails-app/views/basic/index.jsp. Add AGAIN to the text.
Refresh your browser. Note that the again does not appear.
Now, going from GSP editing to JSP editing, this could be confusing, as a developer may reasonably be expecting that the JSP files would be treated the same way as the GSP files.
The root cause, as I understand it, is that the JSP's are copied at run-app time to WEB-INF/views and they are not updated after that even if they change. So there are two possible solutions I could think of:
Somehow make it resolve the files in their original places under grails-app instead of looking in WEB-INF.
Somehow monitor for new files (like how it monitors for new domain classes, for instance) and copy over the new files into WEB-INF/views as necessary. This may involve editing RunApp.groovy (and/or the scripts it uses).
I'm not sure which of those is better. I'm leaning towards #2 and going to try to come up with a patch.
The text was updated successfully, but these errors were encountered:
Original Reporter: jdigweed
Environment: Linux 2.6 (Ubuntu 9.0.4) Sun JDK 1.6.0_16
Version: 1.1.1
Migrated From: http://jira.grails.org/browse/GRAILS-5051
GSP behavior (desirable)
JSP behavior (not desirable)
Now, going from GSP editing to JSP editing, this could be confusing, as a developer may reasonably be expecting that the JSP files would be treated the same way as the GSP files.
The root cause, as I understand it, is that the JSP's are copied at run-app time to WEB-INF/views and they are not updated after that even if they change. So there are two possible solutions I could think of:
I'm not sure which of those is better. I'm leaning towards #2 and going to try to come up with a patch.
The text was updated successfully, but these errors were encountered: