JSP Code is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" %>
<%@ page import = "java.text.SimpleDateFormat,
java.util.Date,
java.util.Locale,com.ercot.retail.mimo.form.MimoRequestForm,
com.ercot.logic.transaction.TransactionBL" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%
try {
request.getSession().setAttribute("mimoRequestForm", new
MimoRequestForm());
request.getSession().removeAttribute(com.ercot.retail.util.RetailConstant.TRACKING_TOKEN);
} catch(Exception e) {}
%>
<HTML>
<HEAD>
</HEAD>
<BODY class=LightBackground>
<html:errors/>
<html:form action="/CreateMoveIn" method="post" onsubmit="return
submitFormCreateMoveIn()">
<html:hidden property="xaType" value="<%=TransactionBL.TYPE_814_16%>"/>
<html:hidden property="subscriptionID" value=""/>
<TABLE class="formBody3" style="WIDTH: 475px">
<TR>
<TD><span class="componentNameText">Create Move In Request</span></TD>
</TR>
</TABLE>
<!-- include the general info -->
<jsp:include page="../../includes/generalinfo.jsp" />
<!-- Misc request information -->
<TABLE class="formBody1" style="WIDTH: 475px">
<TR>
<TD><span class="componentNameText"><div align="center">Request
Information</div></TD>
</TR>
</TABLE>
<TABLE class="formBody2" border=1 style="WIDTH: 475px">
<TR>
<TD align="right" width="30%" class="LightWidgetName"><div
class="RequiredField">Transaction Reference Number:</div></TD>
<TD align="left">
<html:text styleClass="dataContent2" name="mimoRequestForm"
property="xaNumber" disabled="true"/>
<div class="LightWidgetName">(This number must be unique over time)</div>
</TD>
</TR>
<!-- include the membership id (Texas Set 2.1) -->
<jsp:include page="../../includes/MembershipId.jsp"/>
<TR>
<TD align="right" class="LightWidgetName"><div class="RequiredField">Move
In Date:</div></TD>
<TD align="left" class="LightWidgetName">
(MM/DD/YYYY)<br>
<html:text style="dataContent2" maxlength="10" property="moveInDate"/>
<A
HREF="JavaScript:OpenCalendar(document.forms[0].moveInDate)"><IMG
onMouseOver="checkPosition(this);" src="/retail/images/Calendar/calendar.gif"
height="22" border="0" alt="Calendar"></A>
</TD>
</TR>
<TR>
<TD align="right" class="LightWidgetName"><div
class="RequiredField">Priority Code:</div></TD>
<TD align="left">
<html:text style="dataContent2" property="priorityCode"
maxlength="2"/>
</TD>
</TR>
<TR>
<TD align="right" class="LightWidgetName"><div
class="RequiredField">Special Needs:</div></TD>
<TD align="left" class="LightWidgetName">
<p>
<html:radio value="N" property="lifeSupport">No</html:radio><BR>
<html:radio value="Y" property="lifeSupport">Yes</html:radio><BR>
</p>
</TD>
</TR>
<TR>
<TD align="right" class="LightWidgetName"><div
class="RequiredField">Billing Type:</div></TD>
<TD align="left" class="LightWidgetName">
<html:radio value="ESP" property="billingType">REP Consolidated
Billing</html:radio><br>
<html:radio value="LDC" property="billingType">Utility Consolidated
Billing</html:radio><br>
<html:radio value="DUAL" property="billingType">Dual Billing</html:radio>
</TD>
</TR>
<%--
<TR>
<TD align="right" class="LightWidgetName"><div class="RequiredField">Bill
Calculation Code:</div></TD>
<TD align="left" class="LightWidgetName">
<html:radio value="DUAL" property="billCalculationCode">Dual/Bill
Ready</html:radio><BR>
<html:radio value="LDC" property="billCalculationCode">Rate
Ready</html:radio>
</TD>
</TR>
--%>
</TABLE>
<TABLE class="formBody1" style="WIDTH: 475px">
<TR>
<TD><span class="componentNameText"><div align="center">Historical Usage
Information</div></TD>
</TR>
</TABLE>
<TABLE class="formBody2" border=1 style="WIDTH: 475px">
<TR>
<TD align="right" width="30%" class="LightWidgetName"><div
class="RequiredField">Additional Request Information:</div></TD>
<TD align="left" class="LightWidgetName">
<html:radio value="" property="historicalRequest">None</html:radio><br>
<html:radio value="Historical Premise Usage"
property="historicalRequest">Meter Summary Level</html:radio><br>
<html:radio value="Historical Interval Usage"
property="historicalRequest">Meter Interval Level</html:radio>
</TD>
</TR>
</TABLE>
<!-- include the notification info -->
<jsp:include page="../../includes/notificationinfo.jsp" />
<!-- include the customer contact info -->
<jsp:include page="../../includes/customerinfo.jsp" />
<TABLE class="formBody2" border=1 style="WIDTH: 475px">
<TR>
<TD align="right" width="30%" class="LightWidgetName"><div>Permit
Name:</div></TD>
<TD align="left" class="LightWidgetName"><INPUT name="permitName" Type"
class="dataContent2" size="30" maxLength="30" optional="true"></TD>
</TR>
</TABLE>
<!-- include the billing info -->
<jsp:include page="../../includes/billinginfo.jsp" />
<TABLE class=formBody2 style="WIDTH: 475px">
<TBODY>
<TR>
<TD width="100%" height="30" valign="bottom"><SPAN
class="componentMessageText">Fields in bold are required.</SPAN></TD>
</TR>
</TBODY>
</TABLE>
<TABLE class="formBody2" style="WIDTH: 475px">
<TR>
<TD><table onmousedown="btnMouseDown(this)" onmouseup="btnMouseUp(this)"
onmouseout="btnMouseUp(this)" border="0" cellpadding="0" cellspacing="0"
width="100%"><tr>
<td class="buttonLeft" nowrap><input type="image"
src="/retail/images/Btn_L.gif" width="2" height="19" alt="Btn_L.gif"></td>
<td width="50" align="Middle"
onclick="javascript:openWindow('/retail/help/retail/CreateMoveInHelp.htm');"
style="cursor:hand" nowrap background="/retail/images/Btn_Mid.gif"><span
style="font-family: Verdana; font-size: 7pt; font-weight: bold;
cellpadding-right: 3; cellpadding-left: 3">Help</span></td>
<td class="buttonRight" nowrap><input type="image"
src="/retail/images/Btn_R.gif" width="2" height="19" alt="Btn_R.gif"></td>
<td class="buttonColumn" nowrap></td>
</tr></table></TD>
<TD width="100%"></TD>
<TD><table onmousedown="btnMouseDown(this)" onmouseup="btnMouseUp(this)"
onmouseout="btnMouseUp(this)" border="0" cellpadding="0" cellspacing="0"
width="100%"><tr>
<td class="buttonLeft" nowrap><input type="image"
src="/retail/images/Btn_L.gif" width="2" height="19" alt="Btn_L.gif"></td>
<td width="50" align="Middle" onclick="resetFormCreateMoveIn();"
style="cursor:hand" nowrap background="/retail/images/Btn_Mid.gif"><span
style="font-family: Verdana; font-size: 7pt; font-weight: bold;
cellpadding-right: 3; cellpadding-left: 3">Reset</span></td>
<td class="buttonRight" nowrap><input type="image"
src="/retail/images/Btn_R.gif" width="2" height="19" alt="Btn_R.gif"></td>
<td class="buttonColumn" nowrap></td>
</tr></table></TD>
<TD><table onmousedown="btnMouseDown(this)" onmouseup="btnMouseUp(this)"
onmouseout="btnMouseUp(this)" border="0" cellpadding="0" cellspacing="0"
width="100%"><tr>
<td class="buttonLeft" nowrap><input type="image"
src="/retail/images/Btn_L.gif" width="2" height="19" alt="Btn_L.gif"></td>
<td width="50" align="Middle" onclick="submitFormCreateMoveIn();"
style="cursor:hand" nowrap background="/retail/images/Btn_Mid.gif"><span
style="font-family: Verdana; font-size: 7pt; font-weight: bold;
cellpadding-right: 3; cellpadding-left: 3">Submit</span></td>
<td class="buttonRight" nowrap><input type="image"
src="/retail/images/Btn_R.gif" width="2" height="19" alt="Btn_R.gif"></td>
<td class="buttonColumn" nowrap></td>
</tr></table></TD>
</TR>
</TABLE>
</html:form>
</BODY>
</HTML>
Thanks,
Qaiser Mehmood
Work (512) 248-4269
Cell (571) 438-8639
-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 5:19 PM
To: Struts Users Mailing List
Subject: Re: Generated servlet error -
_jspx_meth_html_hidden_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.mimo.request.create.CreateMoveIn_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.Page
--- "Mehmood, Qaiser" wrote:
> I am using struts in one of my application and
> trying to use struts tag libraries(struts-html,
> struts-bean etc) and getting following error:
>
> Generated servlet error:
>
C:\workspace\retail\work\org\apache\jsp\mimo\request\create\CreateMoveIn
> _jsp.java:337:
>
_jspx_meth_html_hidden_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.j
> sp.PageContext) in
> org.apache.jsp.mimo.request.create.CreateMoveIn_jsp
> cannot be applied to
>
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
> if
> (_jspx_meth_html_hidden_1(_jspx_th_html_form_0,
> _jspx_page_context))
> ^
> Any idea why I am getting this error.
Might be helpful to post the chunk of JSP code that is
generating the error.
d.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]