[java ee programming] Using JNDI with Spring in J2EE. Oracle db

2009-01-08 Thread Rudi
Hi, I wrote some code for a J2EE application that uses Hibernate and Spring. I created a dao and a test for that dao. However, when I try to run the unit test for that dao, I get an error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sirsdataSource-di

[java ee programming] Re: How to insert PDF file into oracle database

2009-01-08 Thread Rudi
Hi, You can check documentation on Oracle Blogs and how to deal with them. The document will be inserted as a Blog or Large Blog into the database. On Jan 7, 9:33 pm, nand wrote: > I have requirement to insert a pdf document from client pc into oracle > database, any inputs on this > is grea

[java ee programming] Re: Question on Course Completion

2008-12-16 Thread Rudi
Hi Terri, Hope that all is well. According to other posters and information here, it's usually acceptable to resubmit the homeworks in the next session in order to get the certificate. You can continue to work at your pace, then register for the next class and submit your homeworks then.

[java ee programming] Re: LAB 4913 homework

2008-12-07 Thread Rudi
Hi, Well, in order to get the Street fields, you need to write a method in the Address.java class that will provide the values to you since the Address is composed of streetName, streetNumber, and zipCode. Hence, write a method, call it anything like printData or something. Then in that meth

[java ee programming] Re: Comparing two resultsets

2008-11-05 Thread Rudi
Hi, ResultSet operations can be expensive, but the API has methods that allow you to place the cursor where you need it. Try looking at this link that shows you the API methods for ResultSet: http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html You can use something like first(

[java ee programming] File Upload Using Struts 1 and Apache Commons with Spring

2008-10-24 Thread Rudi
Hi Everyone, Hope that all is well. Does anyone have a complete example of doing a file upload using Apache Commons with Struts 1 ? Also, we're using Struts 1 with Spring. Thanks in advance. Regards, Ruben --~--~-~--~~~---~--~~ You received this messag

[java ee programming] Re: JPA Basics exercise 01

2008-10-15 Thread Rudi
Hi, The path that you should have at runtime on the url is http://localhost:8080/MyWebJpa/ and it should show the list of persons. In the web.xml you should have: index.jsp and in the index.jsp you should have: That should do it. By the

[java ee programming] JPA Basics Homework 16

2008-10-11 Thread Rudi
Hi Everyone, I wrote the DeletePersonServlet.java. Then I added a link to the ListPerson.jsp for the Delete option. However, I'm confused as to how to tie things together in order to make the delete link work. How do I get the Delete link to call my servlet? I imagine that we leave the

[java ee programming] Iterating Through Nested Beans - Struts Advanced - Please help

2008-09-30 Thread Rudi
Hi Mr. Shin and everyone, Hope that all is well. I'm writing code for iterating through nested beans but is not clear to me. This is not part of the homework, but my own exercise to explore the nested iteration in Struts. I noticed that in the StrutsAdvanced.pdf you have an example in pag

[java ee programming] Re: Sending Lab Work

2008-09-12 Thread Rudi
Hi, Yes. Usually I see that they accept the homework even if it's pass due. The labs can be found in the zip file. Each topic on the Java2EE page is a link to a detail section of that topic. There you'll find a zip file listed in link form. You click on the zip file name to download it. Then

[java ee programming] Re: Need Help Homework #3

2008-09-12 Thread Rudi
Hi Rajiv, Well, you have a String parameter username in the index.jsp page that will be sent when you submit the form since that field is in the form. In the same form that contains username, you also need to have hobby, nationality, and myparameter with the default value listed in the homework