Hi
Apart from what has Bsloki mentioned, we can create a OSGI which can basically read a query string and can create the content on the run time and then JSP can use that content to render it.
Link:- https://helpx.adobe.com/experience-manager/using/HttpClient_AEM.html (OSGI get request)
Link:- https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html (OSGI Post request)
Link:- http://stackoverflow.com/questions/13592236/parse-the-uri-string-into-name-value-collection-in-java (java code to read query string)
//
public static Map<String, String> splitQuery(URL url) throws UnsupportedEncodingException {Map<String, String> query_pairs = new LinkedHashMap<String, String>();String query = url.getQuery();String[] pairs = query.split("&");for (String pair : pairs) {int idx = pair.indexOf("=");query_pairs.put(URLDecoder.decode(pair.substring(0, idx), "UTF-8"), URLDecoder.decode(pair.substring(idx + 1), "UTF-8"));}return query_pairs;}
I hope this would help you.
Thanks and Regards
Kautuk Sahni