-
Apr 11th, 2011, 06:50 AM
#1
resolving groovy filename
Working through first G project. One page would not load unless I added file extension .gsp. Why would this be so?
example http://localhost:9090/racetrack/suser/login
results in 404 error while
http://localhost:9090/racetrack/suser/login.gsp loads ok?
I am using
SpringSource Tool Suite
Version: 2.6.0.RELEASE
Build Id: 201103161000
-
Apr 11th, 2011, 10:03 AM
#2
Moving thread to the grails forum. Would you please post your grails version?
-
Apr 12th, 2011, 06:45 AM
#3
Application Status
App version: 0.1
Grails version: 1.3.7
Groovy version: 1.7.8
JVM version: 1.6.0_23
Controllers: 4
Domains: 4
Services: 0
Tag Libraries: 10
Installed Plugins
i18n - 1.3.7
logging - 1.3.7
core - 1.3.7
filters - 1.3.7
codecs - 1.3.7
dataSource - 1.3.7
tomcat - 1.3.7
groovyPages - 1.3.7
servlets - 1.3.7
urlMappings - 1.3.7
controllers - 1.3.7
domainClass - 1.3.7
mimeTypes - 1.3.7
converters - 1.3.7
scaffolding - 1.3.7
hibernate - 1.3.7
validation - 1.3.7
services - 1.3.7
Last edited by selement; Apr 12th, 2011 at 06:53 AM.
-
Apr 14th, 2011, 08:09 AM
#4
It looks like you are missing an appropriate URL mapping. Do you want the URL:
http://localhost:9090/racetrack/suser/login
to be handled by the login.gsp directory? Or a controller action? If the latter, which controller action should be handling the request? And finally, what's in your grails-app/conf/UrlMappings.groovy file?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules