Ok, so I made a small servlet that creates a connection and executes a SQL 
query against the database and all is good. I configured it in Configuration : 
Filters : Servlets to be called only with a certain path, and it prints the 
results of the query on the screen using HttpResponse.out.

Questions:

1. Is there a way to use the same JDBC connection (pool) that Magnolia is using?

2. How can I make this servlet part of the Magnolia "flow"? I mean, when you 
tell Magnolia that all requests like "survey/*" are handled by a custom 
servlet, you exit the Magnolia "flow". But I'd like to use a normal Magnolia 
template, just like all the other templates in my app - with the same header, 
footer, etc. - but that parses the data (a simple ArrayList<String>) stuck in 
the response. Is this possible?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3f254fa9-4506-4830-8eee-44a5f18da5c4


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to