ModelAndView alternatives

LabKey Support Forum (Inactive)
ModelAndView alternatives wnels2  2008-04-03 14:39
Status: Closed
 
Thanks,
That worked. Do you know how to remove the jsp formating? I tryed the jsp below with and without the
<%@ page contentType="text/plain" %> but my text gets wrapped in <DIV> tags.

<%@ page import="org.labkey.ms2.pipeline.PipelineController.SearchFormResponseView.ResponseBean" %>
<%@ page import="org.labkey.api.view.HttpView" %>
<%@ page extends="org.labkey.api.jsp.JspBase" %>
<%
    HttpView<ResponseBean> me = (HttpView<ResponseBean>) HttpView.currentView();
    ResponseBean bean = me.getModelBean();
%>
<%@ page contentType="text/plain" %>
<%=bean.reply%>

Thanks,
Bill