Loading static resources & templates from classpath
65 views
Skip to first unread message
Andres Almiray
unread,
Jun 20, 2011, 11:34:56 AM6/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gretty Web Framework
Hi all,
Given the current crop of examples posted by Alex it seems to me that
resources are expected to be located somewhere in the file system,
where the running script has access. This is cool but it certainly
hinders Gretty's ability to be embeddable (say a Griffon app (What?! I
can't deny I only think about Griffon) ;-).
It would be great if Gretty had an option to search for its resources
in the classpath. We did this for the RatcPack server as well so I
figure it shouldn't be that difficult.
Thoughts?
Alex Tkachman
unread,
Jun 20, 2011, 11:41:59 AM6/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gre...@googlegroups.com
Use staticResources instead of static. It should work.
Andres Almiray
unread,
Jun 20, 2011, 11:50:36 AM6/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gretty Web Framework
Thanks for the prompt response Alex. Would you happen to have an
example of staticResources in action? :-)
Alex Tkachman
unread,
Jun 20, 2011, 11:55:20 AM6/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message