navnorth/LRJavaLib — Issue #4: publish.jsp example
Author: joehobson
Created: 2011-12-14 17:52:11+00:00
State: open

I took the export_simple_document.jsp example and made it into a jsp form that can be used in a basic webapp to publish to a node. Most of it is working okay. Only issues i've seen so far...

1. signing doesn't seem to work. When i paste in my private key, i get a generic error. Maybe the privateKey got munched in the post because of the textarea? Not sure
2. possibly similar issue as above - my resourceData field (also textarea) gets its data munched - escaped quotes. Example published doc: http://lrtest02.learningregistry.org/harvest/getrecord?by_doc_ID=T&request_ID=3bb58dbde58b49c6a869fe50b9853eb4

Also... looks like export_simple_document.jsp doesn't actually have the signing in place. Not sure exactly. I think the publish.jsp is an easier way to show functionality to others so i'd like to move this direction. Does require a slight learning curve getting Tomcat running or figuring out where to put your jsp in JBoss, but both are fairly easy