Hello, these are my errors:
PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
PWC6199: Generated servlet error:
string:///ListRedirect_jsp.java:96: unexpected type
required: variable
found : value
PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
PWC6199: Generated servlet error:
string:///ListRedirect_jsp.java:96: incomparable types: java.lang.String and int
==================================
any suggestions??
<%
if (listData.getListURL()= null || listData.getListInfo() == 0)
{
String baseUrl = "/content/listings.html?";
String listUrl = null;
if (userData.isAgentType()) {
listUrl = parentPage + baseUrl + "ag_id=" + userData.getAgentID();
} if (userData.isBrokerType()) {
listUrl = parentPage + baseUrl + "br_id=" + userData.getAdverID();
} if (userData.isOfficeType()) {
listUrl = parentPage + baseUrl + "ag_id="= + userData.getAdverID();
} else {
listUrl = parentPage + "/content/homefinder.html";
}
if (listData.getListURL() && listData.getListInfo() == 1) {
listUrl = listData.getListURL();
}
else {
listUrl = parentPage + "/content/homefinder.html";
}
}
%>