[java ee programming] Modifying EJBDemo from Lab 3405

2009-07-02 Thread Presario 6331RSH HAM
Hey all! I was just trying to modify this demo to take input from the index.jsp via a form. Now ive gotten it to work somewhat. I mean the index.jsp will send the data to the servlet but I'm stuck trying to figure out how to just default the war to bring up the index.jsp and not the servlet. Mayb

[java ee programming] Free Reference Cards for all kinds of programing

2009-06-30 Thread Presario 6331RSH HAM
Hey! has anyone seen these: http://refcardz.dzone.com/?oid=ban00020-0 I think that they might come in handy sometime. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group.

[java ee programming] Re: LAB 4913 homework

2008-11-21 Thread Presario 6331RSH HAM
Well okay. I got 'r done. It was so simple that I'm embarrassed about asking for help. I did have to look at javatutorial http://java.sun.com/docs/books/tutorial/ to get an idea for Address myaddress which is just a place holder for a future instance. I will not go into more detail as to not sp

[java ee programming] LAB 4913 homework

2008-11-17 Thread Presario 6331RSH HAM
Hey all, I can figure out most of this but when it comes to what you might think as simple java coding technique I'm at a loss. I am referring of course to how I am to get Address class fields streetNumber, streetName, zipCode into Address myaddress field. Did I miss something in the Basic Jav

[java ee programming] Re: SpringJPA

2008-11-14 Thread Presario 6331RSH HAM
Hi Craig, This web app is explained well on the blog: http://weblogs.java.net/blog/caroljmcdonald/archive/2007/06/sample_applicat.html which I'm having problems connecting to now. Maybe it has something to do with usage as I did post some information about it recently on nbj2ee forum. You

[java ee programming] "Expert One-on-One J2EE Design and Development"

2008-11-14 Thread Presario 6331RSH HAM
Hey all, I found this in the BeanFactory javadocs. I went searching and the pdf of chapter 4 is downloadable. Here is the link. http://www.theserverside.com/tt/articles/content/RodJohnsonInterview/JohnsonChapter4.pdf --~--~-~--~~~---~--~~ You received this mess

[java ee programming] Re: JPA Basics Homework 16

2008-11-13 Thread Presario 6331RSH HAM
Okay! I've tested Beverly's code and found out some things. Like the CreatePersonServlet.java, DeletePersonServlet needs to find the data using persistence api. I used just the Person "id" as in this line: String id = (String) request.getParameter("id"); So far so good as that code does. A tra

[java ee programming] Re: JPA Basics Homework 16

2008-11-13 Thread Presario 6331RSH HAM
Hello Beverly, What I did just to test the deletepersonservlet was use a text input field in the a deleteperson.jsp So I know my servlet works. Ruben and I are having fun with this one trying to get "id" to pass to the delete servlet without using a manual text input. So far we get it to show u

[java ee programming] Re: Code doesn't write anything on screen - doesn't produce any error either.

2008-11-13 Thread Presario 6331RSH HAM
Hello Vasu, At first glance, your code needs an input stream now to print from the file "test.out". Maybe I would rename this to say "test.data". Perhaps build another app that does the reading IO Stream to keep things simple. For pointers, take a look at the Java Basics course material @ http:/

[java ee programming] Re: Code doesn't write anything on screen - doesn't produce any error either.

2008-11-13 Thread Presario 6331RSH HAM
Well welcome newbie! First off you should have posted on a new thread. This does not answer Vasu in any way. 73s KB9AGT a real HAM(Harvard Amateur Man) is where HAM radio term originated. google me. Again welcome and I'm sure we all may answer your questions if you start a new topic please. On Oc

[java ee programming] Re: Main page of this lesson plan

2008-11-07 Thread Presario 6331RSH HAM
I was only making a few suggestions for future updates as I saw that someone did offer to do so. These little things are like the details we learn as we take these lessons. There is nothing wrong with the way things are. I was just pointing out some out the differences in information such as les

[java ee programming] Lab 4136

2008-11-06 Thread Presario 6331RSH HAM
Hey all, I ran the solution for this lab first and out of the box it just crashed. Then I ran Samples/Web/Visual JSF/Corporate Travel Center and everything seemed to work just fine for it. Don't these both use the same database travel? At first I could not find this database in glassfish so went

[java ee programming] Main page of this lesson plan

2008-11-06 Thread Presario 6331RSH HAM
Dear Dr. Sang, As I go through this course I am constantly referring to the course main page on the web. As we are to use the Lab numbers here for reference in our posts, I would like to see them in the Topics and Schedule portion so that I may know where I am and what is next without having t

[java ee programming] Re: Lab-4221Struts 2 basics homework

2008-10-22 Thread Presario 6331RSH HAM
On Oct 21, 4:33 pm, grey godwin <[EMAIL PROTECTED]> wrote: > you can make the visual side look the same as the original by using strut > tags. Try the following: > > <%@ page language="java" %> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-html.t

[java ee programming] Re: Lab-4221Struts 2 basics homework

2008-10-21 Thread Presario 6331RSH HAM
Ok! Now I know why the DukesCkear.action was not getting called. wrote: > Reset should do something if you have data in the text box but after > you run it, it does not clear anything. > Here is what I have > > I tried to get an action bean going that does exactly what you would > think but the

[java ee programming] Re: Lab-4221Struts 2 basics homework

2008-10-19 Thread Presario 6331RSH HAM
Reset should do something if you have data in the text box but after you run it, it does not clear anything. Here is what I have I tried to get an action bean going that does exactly what you would think but the struts.xml is confused. It doesn't want to do more than one thing.; - ) But a reset t

[java ee programming] Re: JPA Basics exercise 01

2008-10-18 Thread Presario 6331RSH HAM
Hey all, There may be clues to this in the J2EE Tutorial and the Examples. I am studying the bookstore apps. It is not a faces app. They have lots of servlets and and uses backing beans. This Tutorial has been discussed in the lesson pages and I'm sure you may find it on the web. It is a downl

[java ee programming] Re: JPA Basics exercise 01

2008-10-17 Thread Presario 6331RSH HAM
he id to test it. It seems to work. You;re right, how do we pass that information around using a link? > > Thanks, > > Ruben > > On Oct 14, 1:25 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote: > > > Hey all, > > >   Did I miss something in this exercise abou

[java ee programming] Re: Lab-4221Struts 2 basics homework

2008-10-17 Thread Presario 6331RSH HAM
Hello, My index.jsp has Then just dukeshello.jsp All the rest of the work is done with the struts.xml and classes. I did not have a folder for any web pages just the web root. I did find that I had trouble in the struts.xml doing any more than one class though. Oh well! I hope that when I

[java ee programming] Re: Lab 4101-jsfhelloworld Homework14

2008-10-17 Thread Presario 6331RSH HAM
Hi Sunshine, This is the first clue. StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception java.lang.RuntimeException: Cannot find FacesContext You tried to access the address.jsp page out of context with faces. I did the same thing with JPA lesson 01 becau

[java ee programming] Re: JPA Basics Homework 16

2008-10-15 Thread Presario 6331RSH HAM
Hi Ruben, I was thinking of taking the same approach but then like you, I had no idea how to hook it all up. May I ask to see the servlet code and maybe get some idea? The problem as I see it is that we don't know how to pass the right parameters to the servlet with a link. Since we use in th

[java ee programming] Re: JPA Basics exercise 01

2008-10-15 Thread Presario 6331RSH HAM
Hey all, After some searching, I was able to get the index.jsp to forward to the right place. I was disappointed that this step was not included in the exercise though, or did I just miss it? I see in the solution there is a different approach here. web.xml faces/welcomeJS

[java ee programming] JPA Basics exercise 01

2008-10-13 Thread Presario 6331RSH HAM
Hey all, Did I miss something in this exercise about setting the relative url? I get the index.jsp at runtime. What is the path I should have? I tried the welcomeJPF.jsp but then I get a server error. Help please. --~--~-~--~~~---~--~~ You received this message b

[java ee programming] Submitting the struts2basic homework.

2008-10-08 Thread Presario 6331RSH HAM
I need to know if I have to include the struts library with this homework as it makes the file large to send via e-mail. I think I did not delete the build with this and so that is why it takes so long to upload. We don't ever need to send the build anyway right? --~--~-~--~~--

[java ee programming] Re: Struts 2 basics Homework

2008-10-08 Thread Presario 6331RSH HAM
Look for where I made notes in your code. Just trying to help. On Oct 7, 11:05 am, Andack <[EMAIL PROTECTED]> wrote: > Hi, > > I do a little modification, i changed the structure of my struts.xml > for this > > > > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://stru

[java ee programming] Re: NEED Help with homework LAB-4003: JSP Basics

2008-10-03 Thread Presario 6331RSH HAM
maybe this will help On Oct 2, 3:33 pm, [EMAIL PROTECTED] wrote: > I wonder if anyone can help! > > This is the question of the homework. > > Modify index.jsp and response.jsp  to ask and display another item > such as Birth Place or Nationality. > The index.jsp forwards the request t

[java ee programming] Re: how do i delete a node in a linked list?

2008-10-01 Thread Presario 6331RSH HAM
Great code but the imports are missing! On Sep 29, 7:08 am, "Hind AbdolKhaleq" <[EMAIL PROTECTED]> wrote: > Hi sportsbluec , > check this class from "Data structures and algorithms in Java" Book > > // linkList2.java > > // demonstrates linked list > > // to run this program: C>java LinkList2App

[java ee programming] Re: Need Help in JDBC Programming

2008-10-01 Thread Presario 6331RSH HAM
You have what you need commented out. Why? On Sep 27, 8:49 pm, "jince varghese" <[EMAIL PROTECTED]> wrote: > Hi All, > >    I was trying to fetch  a column name name from the table "user" in the > database "test" in the mysql database. I wrote a servlet code: > > JdbcServlet > - >

[java ee programming] Re: LAB-4018 Exercise 1 basic-auth-glassfish

2008-08-28 Thread Presario 6331RSH HAM
t? I'm not supposed to know what is wrong. It should work right the first time. Rarely do I skip ahead unless the lesson tells me to. On Aug 27, 11:28 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote: > Hello, > >    The sun-web.xml that I had from just starting and no changes