[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-28 Thread JKid314159 @ Windows 7
> This is what I have done to get hello2 run in NetBeans 6.8, GlassFish > v3, J2EE 1.5 platform. > 1 - In the hello2 project, you have to change the j2ee.platform=1.4 to > j2ee.platform=1.5 in the project.properties file (Files->nbproject). > Save the file. > 2. Next you change the source/binary

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-25 Thread JDragon314159
Maybe issue with jsp index file and redirect??? -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-14 Thread JDragon314159
OK. Delete the web module for this application. -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this grou

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-14 Thread Michèle Garoche
On Oct 14, 10:29 pm, JDragon314159 wrote: > Where is the configuration file which recaps all??? Somewhere inside: glassFish->domains->domain1->config (assuming you use default domain). It is called domain.xml (Replace the -> by your system delimiter) Michèle Garoche -- You received this mess

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-14 Thread JDragon314159
> The first time I've tried to do it, I could not find a way, so I > simply threw away GlassFish v2 installation and installed it again. > Next I've found a way to do it but I did not remind exactly how. You > should first stop the server, remove any traces of your application in > GlassFish partic

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-12 Thread JDragon314159
Hi: I went into the Admin Console and the Error msg is: "C:/eepassion/UnZip/servletbasics/samples/hello2/build/web " > The first time I've tried to do it, I could not find a way, so I > simply threw away GlassFish v2 installation and installed it again. > Next I've found a way to do it but I did

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-12 Thread Michèle Garoche
On 12 oct, 04:12, JDragon314159 wrote: > Hi Michele: > > I removed the application from Glassfish v3 but was not able to do > this in Glassfish v2 from the Services tab. Yes, it is difficult to remove an application from GlassFish v2, since there is no mechanism included in the server to do it a

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-12 Thread JDragon314159
Hi Michele: I removed the application from Glassfish v3 but was not able to do this in Glassfish v2 from the Services tab. I also stopped the servers from the Service window. The server from the run menu is set to Glassfish 2 and running under J2EE 1.4. There is not option to run under J2EE 1.5

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-10 Thread Michèle Garoche
On Oct 11, 12:55 am, JDragon314159 wrote: > > Do you stop glassfish v3 before opening glassfish v2.1 (or launching > > the newly configured hello2 project, which is the same from the point > > of view of the server launch). > > OK.  I checked that.  I found out how to stop it.  Then ran with thi

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-10 Thread JDragon314159
> Do you stop glassfish v3 before opening glassfish v2.1 (or launching > the newly configured hello2 project, which is the same from the point > of view of the server launch). OK. I checked that. I found out how to stop it. Then ran with this error??? Caused by: java.io.FileNotFoundException:

[java ee programming] Re: Lab 4005 hello2 Run???

2010-10-10 Thread Michèle Garoche
On Oct 10, 10:28 pm, JDragon314159 wrote: > Hi! > > I ran the original hello2 project with J2EE 1.4 with GlassFish v3. > This succeeded. > > I changed the server to Glassfish2.1.1 and receive the following > message: > > Undeploying ... > While undeploying, trying to stop application in target s

[java ee programming] Re: Lab-4005 problem

2010-03-22 Thread stancliff
Well, my problem seems to have solved itself. Since I posted the original message, I've turned off and restarted the computer. When I went to look at this problem again, I couldn't recreate it. So, I don't know what the problem was, but it's gone away now. And for now, that works for me. Mike --

[java ee programming] Re: LAB 4005

2009-11-11 Thread Moria Shebsovich
27;; derez...@yahoo.com Subject: [java ee programming] Re: LAB 4005 Use session.setAttribute("attr", "value") in greeting, and you could add session.removeAttribute("attr ") in response It worked for me. Regards, Moria -Original Message- From: java-ee-j2ee-p

[java ee programming] Re: LAB 4005

2009-11-11 Thread Alfredo Torres
maybe is because the atribute is set to nothing before removed. I am not sure Alfredo 2009/11/10 sparky > > Anand, > > I noticed the same thing. The attributeReplaced method is called > before the attributeRemoved method. Does anyone know why this occurs? > > Thanks, > Sparky > > > On Oct 8,

[java ee programming] Re: LAB 4005

2009-11-10 Thread sparky
Anand, I noticed the same thing. The attributeReplaced method is called before the attributeRemoved method. Does anyone know why this occurs? Thanks, Sparky On Oct 8, 5:29 am, "Anand A. Parikh" wrote: >   > When a session attribute is added/replaced/removed the methods will be called > auto

[java ee programming] Re: lab 4005

2009-10-15 Thread hieu
gt;servletContext = evt.getServletContext(); > 2 errors > C:\Documents and Settings\diego rangel\Mis > documentos\NetBeansProjects\hello2\nbproject\build-impl.xml:401: The > following error occurred while executing this line: > C:\Documents and Settings\diego rangel\Mis > do

[java ee programming] Re: lab 4005

2009-10-14 Thread Moria Shebsovich
groups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of hnguyen Sent: Wednesday, October 14, 2009 9:14 AM To: Java EE (J2EE) Programming with Passion! Subject: [java ee programming] Re: lab 4005 Could you provide the content of the file: C:\Documents and Settings \di

[java ee programming] Re: lab 4005

2009-10-14 Thread hnguyen
Could you provide the content of the file: C:\Documents and Settings \diego rangel\Mis documentos\NetBeansProjects\hello2\src\java \MyOwnEventListener.java? On Oct 13, 2:05 pm, diego rangel wrote: > apreciated friends: > > i have the following error when i go the exercise that coresponds to the

[java ee programming] Re: LAB 4005

2009-10-08 Thread Victor
Behalf Of Anand A. Parikh Sent: Thursday, October 08, 2009 6:29 AM To: Java EE (J2EE) Programming with Passion!; derez...@yahoo.com Subject: [java ee programming] Re: LAB 4005 When a session attribute is added/replaced/removed the methods will be called automatically. The homework asks you

[java ee programming] Re: LAB 4005

2009-10-08 Thread Anand A. Parikh
  When a session attribute is added/replaced/removed the methods will be called automatically. The homework asks you to add a session attribute in Greeting and remove it in Response.   But, I noticed that the attributeReplaced() was called when the attribute was removed. --- On Wed, 10/7/09, d

[java ee programming] Re: LAB-4005

2009-03-10 Thread Artashes Hovasapyan
I think you should comment out those lines where you're throwing UnsupportedOperationException. -- Regards, Artashes Hovasapyan On Tue, Mar 10, 2009 at 5:59 AM, wrote: > > *Please anyone can help me what is wrong in my code > *I am getting error CODE i have pasted below line > > *Appreciate i

[java ee programming] Re: LAB-4005

2009-03-09 Thread mayer horna
Hi, I did the following: 1st, verifies that the Class "MyOwnEventListener" implement HttpSessionAttributeListener and override methods : attributeRemoved(HttpSessionBindingEvent se) { /*print log*/ } and attributeReplaced(HttpSessionBindingEvent se) {/*print log*/} 2d, in the GreetingServlet: