San Smith

Greenhorn
+ Follow
since Feb 10, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by San Smith

I have following query. It has performance issue. I need to improve the performance of this query. I need to rewrite this sub-query section to improve the performance of this query.

Anyone please give me some idea how to rewrite this subquery.

Thank you very much for your help.


I am getting for bellow code. Total number of rows result set return 300000. This code works fine with embedded SQL. I just replaced embedded query with stored procedure. I am not sure why I am getting this error. Can anyone please help me?

9 years ago
I have one xml coming from another system. My application read this xml and update another system.

I have this URL:
http://localhost:8080/*/X
when i go to this URL it invokes doGet() method. But I need to invoke doPost() method.



I want to test my code locally. Can anyone please help me what I have to do to test this code locally? Can I do it through SOAP UI?

Thank you
11 years ago
I am new to webservices. I am trying to test my webservice response localy through SOAP UI. But I am getting following error in my eclipse console. I'd appreciate if anyone could help me?


here is the URL for my local wsdl:
http://localhost:8080/*/*?wsdl

Here is the error I am getting below:

11 years ago
Thank you John Jai and Scott Selikoff. I used calendar object to calculate my start date and end date and formatted it with SimpleDateFormat. Everything is working fine. Thank you very much for the information.
Thank you John Jai for your response. Actually I am writing this code for a batch job. Where I have to retrieve only those rows from database, which were created within last 24 hours. This is my requirement.

So if today is August 22, 2011, I have to retrieve only those rows which were created August 21, 2011. Please let me know if you have any other question.


This is the first time I am working with java.sql.Timestamp. I need to pass two values one is Start time and end time in my SQL SELECT query.

Start time will be today date and time is 12AM
End time will be yesterday’s date and time is 12AM


Example: Today’s date in Timestamp format is: 2011-08-22 09:42:37.687

Start time: 2011-08-22 and time is 12AM
End time: 2011-08-21 and time is 12AM

Now I have to send it as a Timestamp format to my SQL SELECT statement and also calculate the previous day. Anyone please help me what java classes I can use here to get the start data and end date.

Thank you very much for your help.
Any one please help me how to tell employer that I am interested in telecommuting position. I want to let employer know that I am interested in position local to my city or telecommuting position. How and where should I put this information in my resume. For full time telecommuting position where should I post my resume. I am located in Canada.

12 years ago
Career Highlights

>5+ years of experience in software development includes Analysis, Design and Development of Web-based applications
>Extensive experience in design and development of multi-tier applications using Java, J2EE, JSP, Servlet, Struts, Hibernate, JSF, XML, HTML, JavaScript, CSS, SQL.

Presently located in Winnipeg, Manitoba, CANADA and Resume is available on request. Looking for full time/part time local to Winnipeg or remote/telecommute position.

12 years ago
I am a Java/J2EE developer with 6 years of experience. I would be interested in taking up some project from my home office. My skill set is web base application, Java, JSP, Servlet, Struts, JSF (Java Server Faces), Hibernate, JavaScript, HTML, CSS, SQL.


If you need my services, do let me know and I will revert with more details.
12 years ago
Hi Sebastian,

Thank you so much. It worked.

Thank you again
14 years ago
Hello

I am trying to split a string based on length(example length 5) of the string. But I am having a issues with this substring(start, end) method. I get all substring which are of length 5. But if the last substring is less than 5 then I am not getting that last substring. But I need the last substring even if it is less than 5. I am wondering if some one can help me. Let me know if anything is not clear.

Thank you for your help.



>
14 years ago
Hello

I am trying to split a string based on length(example length 5) of the string. But I am having a issues with this substring(start, end) method. I get all substring which are of length 5. But if the last substring is less than 5 then I am not getting that last substring. But I need the last substring even if it is less than 5. I am wondering if some one can help me. Let me know if anything is not clear.

Thank you for your help.



>
14 years ago
Can you help me?

I am trying to pass a value through this hyperlink. (Example: www.abc.com?value=1). I have following existing code. I just need to pass "value=1" end of the link from page1.JSP and I want to retrieve this value to page2.JSP (e.g. request.getParameter("value") . Can you please help me how I can pass "value=1" through the JavaScript function. I tried different way but did not work.

<html:link href="javascript:XXX('A');"> Link </html:link>


function XXX(A) {
document.MyForm.abc.value = A;
document.MyTypeForm.submit();
}

Thank you
16 years ago
Thank you for your answer.

I am not sure whether I have described the scenario clearly or not. Below I have described it again. I have to create a new button in that existing application and when user hit that button then that form will be automatically fill out with the previously entered input.

Can you please explain your solution one more time? It is not clear for me. I am kind of new in Struts.

Scenario:
1.page1.jsp (user input form) -> page2.jsp (show progress bar) -> page3.jsp (result page) -> page1.jsp (using back button) -> In page1.jsp I have to create a new button say �Button1�. When user hit �Button1� then all the form field will be fill up with the information what user just typed before hit �Submit� button. This I have to do.

Thank you very much for your help.
16 years ago