Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~8K People Reached
Favorite Tags

33 Posted Topics

Member Avatar for mimsc

Hello all. Im a Java developer, but have been given the extra title of Perl developer also. So im new to the code structure. Basically Im trying to pull the width and height from a url example below and display in an error msg just to test: [url]http://...readimage?1234a&height=10&width=10[/url] [CODE] use …

0
71
Member Avatar for mimsc

any suggestions? <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.math.*" %> <% RequestDispatcher dispatcher = …

Member Avatar for masijade
0
2K
Member Avatar for mimsc

Hello..Im trying to read the HTML from a URL and I threw in yahoo.com as a test...for some reason, "n.readLine()" is coming back as NULL and the while loop fails...and ideas?? thanx [code] <%@ page import="java.io.*" %> <%@ page import="java.net.*" %> <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ …

Member Avatar for kk4real
-1
108
Member Avatar for mimsc

Hello guys I normally write java...but heres my question [CODE] int propId = Integer.parseInt(request.getParameter("property")); <script type="text/javascript"> function doReport1() { document.forms[0].target = "_blank"; document.forms[0].action = 'http://<%=accountName%>/JAABA/jsp/cpanel/homeSellerReport1.jsp?propId=<%=propId%>'; document.forms[0].submit(); } <div class="marginTopBump5 marginBottomBump9"> <div class="left paddingRight2 paddingTop21">Dear</div> <input type="text" name="custName" maxlength="100" size="40" value="" class="fullBox left" /> <div class="left">&nbsp;,</div> [/CODE] as you can see …

Member Avatar for mimsc
0
147
Member Avatar for mimsc

I thought I got the class path right?? lines 89 and 94 throwing the error [code=java] <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.util.ArrayList" %> <%@ page import="java.util.Vector" %> <%@ page import="java.net.URLDecoder" %> <%@ page import="trader.webservices.util.AABAHeaderFooter" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <% RequestDispatcher …

Member Avatar for mimsc
0
578
Member Avatar for mimsc

Database records are returning strings as follows: "Washington%20Report%3A%20Good%20Faith%20Estimate%20Mortgage%20Disclosures" Is there a method that automatically translates those characters...or do I need to set it up? Apparently the %20 is equal to a space and the %3A is equal to ":" thanx in advance

Member Avatar for mimsc
0
278
Member Avatar for mimsc

[url]http://www.palmer-realty.net/content/listdetail.html/89633726[/url] -If you click on the green "Virtual Tour" button in the middle of the page...it gives a error -This is working fine in Firefox there's s function if you view source : [code] function win_up(winurl, winname,w,h) { if (winname == null) winname = "calcs_win"; if (w == null) w …

Member Avatar for mimsc
0
85
Member Avatar for mimsc

I have a jsp...I need to read in the generated html fron the jsp to a string buffer I can use in a mail method how do u do that? test.jsp

Member Avatar for ~s.o.s~
0
127
Member Avatar for mimsc

I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? …

Member Avatar for mimsc
0
88
Member Avatar for mimsc

Sup fellas...another question..how Can I pass my jsp as the contents of a email message. The way we send email around here is we set the parameters of a form into a DB table and a cron job sends the emails out [code] String address= "suggestaservice@agentadvantage.com" String name = request.getParameter("name"); …

Member Avatar for mimsc
0
110
Member Avatar for mimsc

I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? …

Member Avatar for ThinkFree
0
98
Member Avatar for mimsc

Hey Fellas...Im getting this error on a "select box"...im trying to parse some info: PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp PWC6199: Generated servlet error: string:///HomeSellerList_jsp.java:147: cannot find symbol symbol : method indexOf(java.lang.String) location: class java.lang.Object PWC6197: An error occurred at line: 88 in the …

Member Avatar for hkansal
0
90
Member Avatar for mimsc

Hey Fellas...Im getting this error on a "select box"...im trying to parse some info: PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp PWC6199: Generated servlet error: string:///HomeSellerList_jsp.java:147: cannot find symbol symbol : method indexOf(java.lang.String) location: class java.lang.Object PWC6197: An error occurred at line: 88 in the …

Member Avatar for sillyboy
0
845
Member Avatar for mimsc

Hey fellas, I need some help doing on action changes This is what I got. I have a loop that has the form name "autoEmailRedirect" [code] <form name="autoEmailRedirect" method="post" action="autoEmailContact.jsp"> <td valign="top" class="paddingLeft10 paddingTop9"> <div class="paddingBottom2 boldFont paddingTop20"><%=(String)autoName.elementAt(i)%></div> </td> <td class="paddingTop9 paddingLeft" valign="top"> <div class="paddingBottom2 paddingTop20"><%=(String)autoEmail.elementAt(i)%></div> </td> <td class="paddingLeft11 paddingTop9 …

Member Avatar for sysel
0
92
Member Avatar for mimsc

Hello all I have a string Im getting back from the database as follows: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') I need to break it down and drop into an array 'MCKINNEY','TX' 'ALLEN','TX' 'ANNA','TX' ..normally I get multiple records and just drop the resultSet into a Vector and do "elementAt(i)" to display, but I never …

Member Avatar for ~s.o.s~
0
162
Member Avatar for mimsc

Thanx for the help yesterday..I was able to break down the string from my database: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') using: [code] String strInput = userData.getMhtCityList(); String strProcess=null; String strOutputs[]=null; if(strInput!=null){ strProcess=strInput.substring(1,strInput.length()-1); System.out.println(strProcess); strOutputs=strProcess.split("\'\\),\\(\'"); } [/code] worked like a charm only problem now is those damn apostophies 'MCKINNEY','TX ALLEN','TX ANNA','TX' any suggestions on stripping …

Member Avatar for mimsc
0
120
Member Avatar for mimsc

Hello, I'm normally the Java programmer here, but we got some old stuff running Pro*C.....anyway this is my error: myprops.c: In function `my_setupPropertyCursor': myprops.c:10931: error: called object is not a function Here's the code: [code=c] /*================================================================ Name: mylibprops.c Compile myprops to include this code. 10/29/04 -- MG -- Convert to …

Member Avatar for Dave Sinkula
0
549
Member Avatar for mimsc

Hi im new to perl..I normally code java...but the boss got me trying to fix this issue... Anyway,we get a news feed that comes in as an xml file...this feed now requires "basic HTTP authentication"...the old feed didint require this , so there was nothing implemented in the code, ...anyway …

Member Avatar for KevinADC
0
93
Member Avatar for mimsc

Hi I want to populate my second drop-down menu based off of the value selected on my first drop down. Is there a function or a way of doin g this... P.S my code is in a JSP: [code=java] <% Vector theStates = WeatherDAO.getWeatherStates(); %> <html> <head> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for tommybobby
0
74
Member Avatar for mimsc

Hi, I'm basically just trying to submit this whole page into an email when I press submit at the bottoM...any suggestions? [code] <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="java.util.*" %> <%@ page import="java.text.*" %> <% String theAcctName = …

Member Avatar for mimsc
0
118
Member Avatar for mimsc

Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if …

0
79
Member Avatar for mimsc

any suggestions...my "weatherState" value doesnt seem to be passing over: 1st jsp: [code]<% Vector theStates = WeatherDAO.getWeatherStates(); %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </script> <body> <TR bgColor="#ffffff"><TD COLSPAN="2"> <TABLE CELLPADDING="3" CELLSPACING="2"> <TR><TD> </FONT></CENTER><BR> <BR> <TABLE BORDER="0" CELLSPACING="5" CELLPADDING="5" WIDTH="100%"> <TR BGCOLOR="#C0C0C0" ><TD COLSPAN="2" ALIGN="CENTER"> <FONT SIZE=+3><B> …

Member Avatar for aniseed
0
146
Member Avatar for mimsc

I have an idea how to do this, but never did it before heres my code: <label for="weatherCity">City:</label> <select name="weatherCity" id="Cities"> <option value="0"> </option> here's my query: SELECT distinct state FROM ols_weather_current ORDER BY 1 asc; [code=java] Connection connection; PreparedStatement pstmt; ResultSet rst2; try { // execute the query connection …

Member Avatar for Sulley's Boo
0
101
Member Avatar for mimsc

[code=java] <select name="weatherStat" id="States"> <% try { Connection connection = DataBaseConnectionManager.getConnection(); String sqlQuery = "SELECT distinct state FROM ols_weather_current ORDER BY 1 asc"; ResultSet rst2; PreparedStatement pstmt; pstmt = connection.prepareStatement(sqlQuery); rst2 = pstmt.executeQuery(sqlQuery); while (rst2.next ()) { <option value=rst2.getString("state")></option> } rst2.close(); pstmt.close(); } catch (Exception e) { e.printStackTrace(); } %> …

Member Avatar for Ezzaral
0
94
Member Avatar for mimsc

trying to see if the last character is a '>'......any suggestions I already know how to check for the character heres what I got if (userData.getName().charAt(0)!='<' ) { thank

Member Avatar for mimsc
0
119
Member Avatar for mimsc

Wsup..basically I have a html file saved in another folder in Eclipse..I want to call a jsp and once I call it...I want the html code to show up...here's what I have "cp-termsofUse.jsp" [code= java] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> …

Member Avatar for mimsc
0
143
Member Avatar for mimsc

this function call [code=java] <span>• <%=userData.getPhone()%></span> [/code] returns a phone # for ex. 8005551155 Need a suggestion on setting it up as 800-555-1155 when i do the call

Member Avatar for ~s.o.s~
0
111
Member Avatar for mimsc

So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance

0
77
Member Avatar for mimsc

Here's my code...basically, I hard coded yesterday just to make sure it works...Im trying to get it to display results everyday [code=java] String sqlStmt = "SELECT distinct count (lc.con_id) as TotalLeads FROM LEADS L inner join leads_contactinfo lc on l.fk_conid = lc.con_id" + " WHERE l.FK_CONID = lc.CON_ID AND lc.FK_AGENTID …

Member Avatar for mimsc
0
85
Member Avatar for mimsc

Im getting invalid coulmn index...any suggestions?...thanx in advance [code=java] public static int[] getListSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] listSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != null) { if (userData.isAgentType()) { …

Member Avatar for mimsc
-1
301
Member Avatar for mimsc

Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != …

Member Avatar for mimsc
0
154
Member Avatar for mimsc

any suggestions?...im thinking somewhere between lines 163-185, but I'm stumped <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> …

Member Avatar for masijade
0
66
Member Avatar for mimsc

this is my first post...not sure whats the problem...any suggestions would be appreciated...thanx [code=language] <% int unViewedCt= 0; out.write("var jsLeads = new Array); (for (int i=0; i< leads.size(); i++) { currLead = (HashMap)leads.get(i); out.write("jsLeads["+ i +"] = new Array();\n"); out.write("jsLeads[" + i + "][0] = '" + currLead.get("PK_LEADID") + "';\n"); …

Member Avatar for ksaxena
0
111

The End.