powered by Jive Software

Openfire display empty page as I add some JSP to page body

Hi geeks,

I am developing a custome plugin for openfire to simply display data from DB using my custome queries. I am facing strange problem,

Open fire display my page fine till I have no JSP code between and but as soon as I add JSP anywhere between these tags it shows my page empty and even doesn’t display HTML objects. Below is my test code,

(If I reove the red highlighted lines my page display fine but as I add these line it shows blank page)

<%@ page import="java.util.*,

java.sql.*,

java.net.URLEncoder,

org.jivesoftware.util.*,

org.jivesoftware.database.DbConnectionManager"

%>

<%@ taglib uri=“http://java.sun.com/jstl/core_rt” prefix=“c” %>

<%@ taglib uri=“http://java.sun.com/jstl/fmt_rt” prefix=“fmt” %>

<%

String UserID=ParamUtils.getParameter(request, “UserID”);

String HistoryType=ParamUtils.getParameter(request, “HistoryType”);

String RowsPerPage=ParamUtils.getParameter(request, “RowsPerPage”);

String PageNumber=ParamUtils.getParameter(request, “PageNumber”);

int NextPageNumber=Integer.parseInt(PageNumber)+1;

%>

Search user's History

Type User-ID :

Voice Text

Rows Per Page :

** <%for (int i = 0; i < 10; i++) { %>**

**

This is HTML


**

<%}%>