[java ee programming] Re: LAB 4004

2009-10-22 Thread Moria Shebsovich
[mailto:gomezmarcos...@gmail.com] Sent: Thursday, October 22, 2009 12:06 PM To: Moria Shebsovich Cc: ingsopor...@gmail.com; java-ee-j2ee-programming-with-passion@googlegroups.com Subject: Re: [java ee programming] Re: LAB 4004 Hi, i have just done this homework. I did the following: - add the link as

[java ee programming] Re: LAB 4004

2009-10-22 Thread marcos gomez
Hi, i have just done this homework. I did the following: - add the link as you did. - change NameHandler.setName() as suggested, so i can append names (more than 2! ). - save mybean in Session scope 1.The first time we go to response.jsp we create mybean in session scope, setting all parameters.

[java ee programming] Re: LAB 4004

2009-10-22 Thread Moria Shebsovich
Hi Fernando, I am working on this assignment too. I modified scope of mybean to session and changed setName() as suggested. I added link in response.jsp After This return logic back to index.jsp. At this point I don't have any idea how to modify form that it wil

[java ee programming] Re: Lab 4004

2009-10-13 Thread hnguyen
I don't think you need to pass the name back to the index page, but you need to provide a link or a button to be able to go back to the index page from response page. Also you need to change the scope to session instead of request. On Oct 12, 7:15 pm, derezone wrote: > Hi >    Can someone point

[java ee programming] Re: LAB-4004: Session tracking - disable cookie on browser

2009-10-08 Thread hieu
I had deployed the file TomcatServletExample.war on JBoss app server, and the session tracking on browser with cookie disable is working as expected. At this point, I would conclude that URL rewriting does not work with GlassFish. On Thu, Oct 8, 2009 at 9:31 AM, hieu wrote: > Could you please le

[java ee programming] Re: LAB-4004: Session tracking - disable cookie on browser

2009-10-07 Thread hieu
> > I am pretty sure about it, since the ServletExamples project is created by > Sun, and I just run it as part of the homework. I also examined the source > SessionExample.java, it has: > > HttpSession session = request.getSession(true); > > and > > response.encodeURL(...) > as described in the l

[java ee programming] Re: LAB-4004: Session tracking - disable cookie on browser

2009-10-07 Thread hieu
That would be very nice. Thank you for your help! On Wed, Oct 7, 2009 at 12:14 PM, Mario Quiroz wrote: > That's a good question I had never occurred to do that test. I will do it > to confirm you, but I suppose that It should work with Glasshfish afterall > It's Sun's son. > > 2009/10/7 hnguyen

[java ee programming] Re: LAB-4004: Session tracking - disable cookie on browser

2009-10-07 Thread hieu
> > I am pretty sure about it, since the ServletExamples project is created >> by Sun, and I just run it as part of the homework. I also examined the >> source SessionExample.java, it has: >> >> HttpSession session = request.getSession(true); >> >> and >> >> response.encodeURL(...) >> as describ

Fw: [java ee programming] Re: LAB-4004 Session Tracking

2009-03-06 Thread Biljana Biljana
na --- On Fri, 3/6/09, tolacat...@gmail.com wrote: From: tolacat...@gmail.com Subject: [java ee programming] Re: LAB-4004 Session Tracking To: "Java EE (J2EE) Programming with Passion!" Date: Friday, March 6, 2009, 8:26 AM Restarting the server (I'm using Apache) it seems to so

[java ee programming] Re: LAB-4004 Session Tracking

2009-03-06 Thread tolacatola
Restarting the server (I'm using Apache) it seems to solve the problem. Check it out. On Feb 26, 7:06 pm, Karl wrote: > Waaa! > Okay, everything's going fine up until here... > > (2.5) Modify "Carts" part of the application to use application scope > > 1. Modify carts.jsp under under JSPExamples

[java ee programming] Re: LAB-4004 Session Tracking

2009-03-06 Thread tolacatola
I do have the same problem here ... On Feb 26, 7:06 pm, Karl wrote: > Waaa! > Okay, everything's going fine up until here... > > (2.5) Modify "Carts" part of the application to use application scope > > 1. Modify carts.jsp under under JSPExamples->Web Pages->sessions to use > application scope.

[java ee programming] Re: LAB 4004

2009-03-04 Thread José Alvarez
In Netbeans (I use 6.5) you need go to File, New Project..., select the “Samples” category and choose “JSP Examples”. This project contains many simple examples among them “Carts” which is the example used in the homework. On Mar 3, 5:44 pm, Biljana Biljana wrote: > Hi! > Am I only see that they