(as always, guys, please feel free to refactor as you see fit)
How do I get the active SnipSpace from my JSP?
I have written code which retrieves Snips from the active SnipSpace. It works fine standalone, if I duplicate the mckoi db in the proper place.
I now want to call this code from a JSP in the /applications/snipsnap/app directory. I put it there, and open the page. When I call Snipspace.getInstance(), it attempts to open a new JDBC connection, and fails. How do I get my JSP to have access to the static Snipspace.instance? Is there I'm sure it's some basic JSP error, haven't worked with this stuff in a while.
thanks.