Caleb Jhay

Greenhorn
+ Follow
since Apr 13, 2011
Caleb likes ...
Firefox Browser
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Caleb Jhay

I am new to maven. Currently we are converting our application to use Maven. Everything is good except some problem that we recently encountered. After building the application, Maven modified the build class. For example in the generated WSDL and WSDD a variable name param1 was changed to in0.
4 years ago
not yet thanks for the link

Jesper de Jong wrote:Have you written some code already; where exactly did you get stuck with this? Please post your code and explain in detail what it is you don't understand.

Do you know how to use loops? This part of Oracle's Java Tutorials explains while, do-while and for loops: Control Flow Statements

8 years ago
Actually Im trying the whole alphabet. So far i got "D" and doing the rest so i still have no code with x and z thanks

Riaan Nel wrote:What have you tried? What happened? Please post your code.

8 years ago
hi, Im kinda stock with this problem. I was trying to create this output using for loop




I was just wondering how to do it in java using loop any help?

Best regards
8 years ago
Hi

I just want to ask if how can I convert this string " 11-15-2011" to yjis date format "11-Nov-2011"


Thank you and best regards
9 years ago
Hi,

THANK YOU FOR REPLYING GUYS

edited the error and put the entire error log.




This code execute well. I was able to see the size of my result

For some reason I dont see anything on my jsp page it returns me this error



My JSP CODE is this




I was confused how come im getting the parse error since I'm not parsing anything?
Initially I was using List result = session.createQuery it works ok. But when I try List result = session.createSQLQuery Im getting this problem.

Best Regards,
Hi,

I dont knw if this is the right forum to ask this queston.

I have this query



This code execute well. I was able to see the size of my result

For some reason I dont see anything on my jsp page it returns me this error



My JSP CODE is this



I ran out of ideas I dont know what to do because I'm new to java/spring and hibernate. Any help is deeply appriciated.

Best Regards,
Hi peeps sorry kinda newwith this thing. I’m currently developing my application I was able to save and list records in and from the database.

I was just wondering if how can I pass a paramaeter on my query from my JSP. I have this code on my controller




My problem is I jave a JSP with text box. Once I put a string on the text box I’m gonna use it as my parameter on my list. Lets say I entered “Caleb” on the text box how can I pass this to my controller and use “Caleb” to search the record with this name.


Thank you and Best Regards,
Caleb
9 years ago
Hi,

I a bit new with spring. I was just wondering if anyone of you can point me into any site where I can found a sample Application usig SPRING's Multiacton controller and HIBERNATE



Your Help is highly appriciated.

Best Regards,
ME
9 years ago
yeah its working now. redeploying the app solved the problem. I dont understand i just change the JSP why do I have to redeploy. Anyway THANKS A LOT for the helpl


Regards and God Bless!
9 years ago
JSP
doesnt work. it display blank text box


regards
9 years ago
JSP
Hi here is my html



it was supposed to write "finance & admin" but inside the textbox it only show Finance and it only save "finance" word into my database. I tried <%out.println(userDepartment)%> and it is showing the whole title "Finance & admin".

Thanks for your reply I just dont understand whats wrong with this. The data that is displayed on this textbox comes from this code



Best Regards
9 years ago
JSP
Hi guys,

I just want to ask howcome everytime i pass value from java to a textbox the value is incomplete. I tried printing it inside the jsp page and the value is complete but everytime i put it inside a text box the value is incomplete.

Help anyone please?

Best Regards,
Ben
9 years ago
JSP
Hey buddy thank you for your help I got the idea and it is working ok now.

anirudh jagithyala wrote:hey Caleb,
where are you getting the errors.... Isit for your code or the code which i gave
Did you try the code with prepared statement..

please ellaborate



I tried your code but the problem is java is asking me to put another parenthesis at the end of the PreparedStatement (see the bold parenthesis below.) Java is telling me that i need to put another one of that at the end



Thanks again