[java ee programming] Re: Struts 2

2009-09-29 Thread Karl

I suspect the resource you are using in web.xml for your welcome-file.list is 
stated incorrectly. I suspect it should be index.html so like this:
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list

~Karl

--- On Tue, 9/29/09, Alfredo Torres alfredoluis.tor...@gmail.com wrote:

 From: Alfredo Torres alfredoluis.tor...@gmail.com
 Subject: [java ee programming] Struts 2
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Tuesday, September 29, 2009, 8:49 AM
 Hi,
 
   I have to format and reinstall my pc.
 
   I have XP sp 3, Netbeans 6.7.1 with Java , Java Web
 and EE. With
 Apache tomcat and Glassfish Prelude V3.
 
   When i try to open and run the Strut2-Hellotime
 project from the lab
 folder i receive the page in the attachments.
 
   In any on the web servers apache or Glashfish.
 
   Any idea??
 
 Thanks in advance
 
 -- 
 Saludos
 Alfredo Torres
 Hab.+58 212 9446304
 Cel. +58 416 6118599
 
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Struts2

2009-09-25 Thread Karl

Hi Alfredo,
Check this out here:
http://struts.apache.org/2.0.14/docs/tutorials.html

If you're new to struts the Passion! content (IMO) skims over a lot of details 
that are absolutely necessary to get the power of the framework.

--- On Mon, 9/21/09, Alfredo Torres alfredoluis.tor...@gmail.com wrote:
 Hi,
 
   I have read the struts2 presentaiton and hands on
 lab 2 times but i
 dont get it, i can not understand the structure, is there
 any other
 site that explain struts2 in more detail from the beggining
 whithout
 mix code??
 
 Thanks a lot for your answer



  

--~--~-~--~~~---~--~~
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 group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Netbeans 6.7 struts2 project verify.

2009-09-25 Thread Karl

Hi, more questions on struts2.
Not sure if this is specifically associated with the format of Web applications 
that are including struts2 libraries, but why is there always this failure when 
performing Verify? (and is there a way to correct it):

All classes in this Web Archive are loadable excluding classes used in JSPs. 
The test AllJSPsMustBeCompilable takes care of reporting non portable errors in 
JSP classes.   Please refer to J2EE 1.4 Specification Section #8.1.2   for 
further information.
For [ struts2-login ]

Failed to find following classes:
[
org.apache.velocity.exception.ResourceNotFoundException,
org.apache.velocity.exception.MethodInvocationException,
org.apache.velocity.exception.ParseErrorException,
org.apache.velocity.context.Context,
org.apache.velocity.app.VelocityEngine
]


   ... continues with failures ...


  

--~--~-~--~~~---~--~~
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 group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: How many home works should i submit for Chapter 7(JSF)?

2009-05-12 Thread Karl


If you go here:
http://www.javapassion.com/j2ee/
please read section Topics and Schedule, it points out how and which of the 
line items are included for the course.

~Karl

--- On Mon, 5/11/09, mak pandian kolluranipand...@gmail.com wrote:

 From: mak pandian kolluranipand...@gmail.com
 Subject: Re: [java ee programming] Re: How many home works should i submit 
 for  Chapter 7(JSF)?
 To: karlk...@yahoo.com
 Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Monday, May 11, 2009, 11:44 PM
 What do you mean?
 Should i submit the home work only which has dates?
 
 On Tue, May 12, 2009 at 12:36 AM,
 Karl karlk...@yahoo.com
 wrote:
 
 
 
 
 
 
 As you point out this is unclear, the entire section 7 has
 one homework assignment (unless someone here can correct me
 otherwise). It doesn't say it in the heading, but the
 'Step by step for building Guess a Number
 JSF application' 
 (http://www.javapassion.com/j2ee/#Step_by_step_for_building_Hello_World)
 would seem to have homework even though the instructions
 don't mention it. This would be the ONLY sub section in
 section 7 that has homework.
 
 
 
 
 
 
 
 --- On Mon, 5/11/09, mak pandian kolluranipand...@gmail.com
 wrote:
 
 
 
  From: mak pandian kolluranipand...@gmail.com
 
  Subject: [java ee programming] How many home works
 should i submit for Chapter 7(JSF)?
 
  To: java-ee-j2ee-programming-with-passion@googlegroups.com
 
  Date: Monday, May 11, 2009, 6:34 AM
 
  Hello folks.
 
 
 
  I am doing home works for chapter 7.
 
 
 
  But some labs of this chapter don't has home
 work.
 
  So, i am confused a little bit.
 
 
 
  Does any one know how may home works should we submit
 for
 
  chapter 7?
 
 
 
 
 
 
 
  --
 
  Regards
 
  KolluraniPandian A
 
  (Living in Virtual World)
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
 
 
 
 -- 
 Regards
 KolluraniPandian A
 (Living in Virtual World)
 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



Re: Fw: [java ee programming] Lab 4126

2009-05-11 Thread Karl


Hi Biljana,
The lab you're asking about here is not part of the course. As such you most 
likely won't get much feedback on support on those sections that aren't 
assigned (tough enough getting support for those that ARE included)... as per  
information from the main page:

Note that only the topics with the dates assigned will be covered in this 
course. (You need to submit homeworks only on the topics that have dates.)  It 
is my plan to provide presentation slides and hands-on labs for the topics that 
do not have dates whenever I find time. 

JSF/Event model has no date assignment so it's not part of the course. The last 
JSF related topic is JSF Basics to which there is no homework. If you want to 
learn more on this topic I would recommend finding a good book on the subject.

regards,
Karl

--- On Sun, 5/10/09, Biljana Biljana biljana_b...@yahoo.com wrote:

 From: Biljana Biljana biljana_b...@yahoo.com
 Subject: Fw: [java ee programming] Lab 4126
 To: J2EE Passion Group 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Sunday, May 10, 2009, 2:04 PM
 Hi!
 The error message is:
 HTTP Status 503 - 
 
 
 type Status report
 message
 descriptionThe requested service
 () is not currently available.
 
 
 Sun GlassFish Enterprise Server v2.1
 now the attribute for h:commandLink... 
 actionListener is avaliable but the rusult was the same.
 
 --- On Sun, 5/10/09, Biljana Biljana
 biljana_b...@yahoo.com wrote:
 
 
 From: Biljana Biljana biljana_b...@yahoo.com
 Subject: [java ee programming] Lab 4126
 To: J2EE Passion Group
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Sunday, May 10, 2009, 11:45 AM
 
 
 
 
 
 
 
 Hi!
 My homework simple don't work , when I runned it i
 show 503 server error message 
  
 report: method service() not resdpond
 index .jsp
  which is welcome page have 
 jsp:forward page=greeting.faces
 /
  
  The greeting.jsp have this code:
 %--
  Copyright 2004-2005 Sun Microsystems, Inc.  All
 rights reserved.
  Use is subject to license terms.
 --%
 html
     head
 titleHello/title /head
     %@ taglib uri=http://java.sun.com/jsf/html;
 prefix=h %
     %@ taglib uri=http://java.sun.com/jsf/core;
 prefix=f %
     body bgcolor=white
     f:view
    
 h:form id=helloForm 
    
 h2Hi. My name is Duke.  I'm thinking of a
 number from
    
 h:outputText
 value=#{UserNumberBean.minimum}/
  to
    
 h:outputText
 value=#{UserNumberBean.maximum}/.  Can
 you guess it?/h2
    
 p First you have to choose one flag:/p
 
 table
    
 tr
    
 td
    
 h:commandLink
  immediate=true
   
 actionListener=
   
 #{localeChanger.changeLocale}
    
 f:attribute
  name=languageCode
 
 value=ca/
    
 h:graphicImage value=/canadian_flag_1.gif
    
 style=border:
  0px/
    
 /h:commandLink
    
 /td
    
 td
    
 h:commandLink 
  immediate=true
   
 actionListener=
   
 #{localeChanger.changeLocale}
    
 f:attribute
  name=languageCode
 
 value=en/
    
 h:graphicImage value=/britain_flag.gif
    
 style=border:
  0px/
    
 /h:commandLink
    
 /td
    
 /tr
    
 /table
    
 p
    
 h:graphicImage id=waveImg
 url=/wave.med.gif /
    
 h:inputText
  id=userNo
 value=#{UserNumberBean.userNumber}
 
 validator=#{UserNumberBean.validate}/ 
 
    
 h:commandButton id=submit
 action=success value=Submit /
    
 p
    
 h:message style=color: red; font-family: 'New
 Century Schoolbook', serif; font-style: oblique;
 text-decoration: overline id=errors1
 for=userNo/
    
  /p
    
 /p
    
 /h:form
     /f:view
     /body
 /html  
  
 I change everythin in faces-config.jsp, even errase
 local-settings, change and added attribute for web-app in
 web.xml, errase security-settings, but It not work, not
 work.
 Maybe the problem is in greetin.jsp. But I don,t see
 what?
 I occured that  tag h:commandLink... dont
 show attribute actionListener, but it works for lab
 exercise. So I am stucked, please Help me!!
  
 Regards,
 Biljana
 
 
 
  
 
  
 
 
 


  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Java 
EE (J2EE) Programming

[java ee programming] Re: How many home works should i submit for Chapter 7(JSF)?

2009-05-11 Thread Karl


Hi Sang,
I hadn't seen the (homework #14) tag on this item last I checked so at a 
glance it was unclear. Was text recently added or did I miss it?
~Karl

--- On Mon, 5/11/09, Sang Shin sang.s...@sun.com wrote:

 From: Sang Shin sang.s...@sun.com
 Subject: Re: [java ee programming] Re: How many home works should i submit 
 for Chapter 7(JSF)?
 To: karlk...@yahoo.com
 Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Monday, May 11, 2009, 1:08 PM
 Karl wrote:
  
  As you point out this is unclear, the entire section 7
 has one homework assignment (unless someone here can correct
 me otherwise). It doesn't say it in the heading, but the
 'Step by step for building Guess a Number JSF application'
 (http://www.javapassion.com/j2ee/#Step_by_step_for_building_Hello_World)
 would seem to have homework even though the instructions
 don't mention it. This would be the ONLY sub section in
 section 7 that has homework.
  
 
 That is correct observation.  You do the homework only
 for the topics
 that have dates.
 
 -Sang Shin
 
  
  --- On Mon, 5/11/09, mak pandian kolluranipand...@gmail.com
 wrote:
  
  From: mak pandian kolluranipand...@gmail.com
  Subject: [java ee programming] How many home works
 should i submit for Chapter 7(JSF)?
  To: java-ee-j2ee-programming-with-passion@googlegroups.com
  Date: Monday, May 11, 2009, 6:34 AM
  Hello folks.
  
  I am doing home works for chapter 7.
  
  But some labs of this chapter don't has home
 work.
  So, i am confused a little bit.
  
  Does any one know how may home works should we
 submit for
  chapter 7?
  
  
  
  -- Regards
  KolluraniPandian A
  (Living in Virtual World)
  
  
  
  
  
  
        

 
 
 --
 ---
      Sun Tech Day, St. Petersburg, Russia
 
            
    April 8th-10th, 2009
       http://developers.sun.com/events/techdays/
 
            Sang Shin, sang.s...@sun.com
     http://www.javapassion.com/SangShinSchedule.html
          (Life is worth
 living... with Passion!)
 ---
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Future of Netbeans vs JDeveloper

2009-05-04 Thread Karl


At what point did Eclipse become an Oracle product? Did I miss something?


--- On Sun, 5/3/09, Mohamed Ali mohamed.ali@gmail.com wrote:
 
 
 If Oracle continues with NetBeans it will have 3 IDEs,
 JDeveloper,
 
 Eclipse and NetBeans. Seems unlikely they will support
 three IDEs. All
 
 BEA stuff is on Eclipse and Oracle keeps saying they want
 to provide
 
 choice to developers and will continue to have leadership
 role within
 
 the Eclipse community. What I would like to see is for
 JDeveloper to
 
 merge into NetBeans. ADF, BPEL, ESB, Rules etc move to
 NetBeans and it
 
 becomes their primary IDE. They keep it open and also
 continue to
 
 invest in NetBeans as an RCP. This will be good competition
 for
 
 Eclipse, and that can only  be healthy.
 
 
 
 Ali
 
 
 
 On Apr 23, 5:14 pm, Evans fiveholida...@hotmail.com
 wrote:
 
  Please guys, do use your email client's 'Reply
 All' feature to send your
 
  replies to the list.
 
 
 
  --
 
  Evanshttp://www.javawug.org
 
 
 
  - Original Message -
 
  From: juan.mor...@studiom2j.it
 
  To: fiveholida...@hotmail.com
 
  Sent: Thursday, April 23, 2009 7:51 PM
 
  Subject: Re: [java ee programming] Re: Future of
 Netbeans vs JDeveloper
 
 
 
  Hi,
 
  Well, even if Orcale will push JDev , I yhink Netneans
 has already a
 
  large comunity support. The worst could be , these
 community shift to
 
  Eclipse IDE. I will certainly support this last.
 
 
 
  Yoiur
 
  Juan J. Moreno
 
  senior sw dev.
 
  juan.mor...@studiom2j.it
 
 
 
  Quoting Evans fiveholida...@hotmail.com:
 
 
 
   I'm afraid, the future of Netbeans
 doesn't look too good.
 
 
 
   Oracle will now use their recent purchases to
 spend more time and   money
 
   on JDeveloper. They can't afford to keep two
 IDEs at the same   time, so
 
   expect to see it kill off Netbeans and Glassfish
 App Server.
 
 
 
   Evans
 
  http://www.javawug.org
 
 
 
     - Original Message -
 
     From: bilal malik
 
     To: priyanka2...@gmail.com
 
     Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
 
     Sent: Wednesday, April 22, 2009 6:50 AM
 
     Subject: [java ee programming] Re: Future of
 Netbeans vs JDeveloper
 
 
 
           No I don't think so.There is no
 match between JDeveloper and
 
   Netbeans.It doesn't matter.When Oracle has
 brought SunMicrosystem   that
 
   means Netbeans will be now supported by
 Oracle.:)
 
 
 
           --- On Tue, 21/4/09, priyanka
 desai priyanka2...@gmail.com
 
   wrote:
 
 
 
             From: priyanka desai priyanka2...@gmail.com
 
            
 Subject: [java ee programming] Future of Netbeans vs
 JDeveloper
 
             To: Java EE (J2EE)
 Programming with Passion!
 
   java-ee-j2ee-programming-with-passion@googlegroups.com
 
             Date: Tuesday, 21 April, 2009,
 9:35 PM
 
 
 
             Hi All,
 
             Now that Oracle has bought Sun
 Microsystems , what is the
 
   future for Netbeans IDE ??
 
             Would everyone switch to
 Jdeveloper ?
 
             Thanks
 
             Priyanka
 
 
 
  
 --
 
     Cricket on your mind? Visit the ultimate
 cricket website. Enter now!
 
 
 
 
 
 
 
 
 -- 
 لا اله الا الله 
 We can do that.
 Mohamed Ali Mohamed
 Faculty of ComInf.
 Information system Dept.
 
 
 
 
  
 
 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Stop the maddness!! If you want to unsubscribe do this...

2009-04-29 Thread Karl


To unsubscribe from this group, send email to:
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com

No one else is going to do it for you... you subscribed, you unsubscribe. It's 
in every footer message you get from this list.


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Hibernate Javadoc Cannot perform Show Javadoc from here problem...

2009-04-23 Thread Karl


Hello,
I saw this same question asked last year (see http://tinyurl.com/cb7pj9) and 
Sang Shin mentioned that he updated the information on how to create the 
javadoc library... well it's still not working. I've double checked my 
implementation and I'm still getting a Cannot perform Show Javadoc from here 
error in NB 6.5

any antidotes?
Karl 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: A new Java application framework: Jazzmaster, SOA for Java Application

2009-04-20 Thread Karl


Hey, don't ask me. I just responded to the initial spam.


--- On Sun, 4/19/09, Mohamed Ali mohamed.ali@gmail.com wrote:

 From: Mohamed Ali mohamed.ali@gmail.com
 Subject: Re: [java ee programming] Re: A new Java application framework:  
 Jazzmaster, SOA for Java Application
 To: karlk...@yahoo.com
 Cc: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Sunday, April 19, 2009, 10:56 AM
 can you tell us more about this
 framwork ?
 
 
  
 On 4/19/09, Karl karlk...@yahoo.com
 wrote:
 
 
 we can use another framework like we could use another bank
 failure.
 
 --- On Sat, 4/18/09, Eiichiro eiichiro.uchi...@gmail.com
 wrote:
 
 
  From: Eiichiro eiichiro.uchi...@gmail.com
  Subject: [java ee programming] A new Java application
 framework: Jazzmaster, SOA for Java  Application
 
  To: Java EE (J2EE) Programming with
 Passion! java-ee-j2ee-programming-with-passion@googlegroups.com
  Date: Saturday, April 18, 2009, 8:06 AM
 
 
  Hello, there!
 
  My name is Eiichiro Uchiumi. I'm a software
 developer in
  Tokyo, Japan.
  Now, I've founded a new Java application
 framework:
  Jazzmaster, SOA
  for Java Application. If you're interested in
 this
 
  framework, please
  follow it and feedback to me.
 
  Eiichiro.org
  http://www.eiichiro.org/
 
  Jazzmaster, SOA for Java Application
  http://code.google.com/p/jazzmaster/
 
 
 
  Best regards.
  Eiichiro
 
  
 
 
 
 
 
  
 
 
 
 
 -- 
 لا اله الا الله 
 We can do that.
 Mohamed Ali Mohamed
 Faculty of ComInf.
 Information system Dept. 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Login failed with GlassFish

2009-04-18 Thread Karl


Unless you changed it, I believe the default login for GF is admin/adminadmin



--- On Fri, 4/17/09, lisandrodc lisandr...@gmail.com wrote:

 From: lisandrodc lisandr...@gmail.com
 Subject: [java ee programming] Login failed with GlassFish
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Friday, April 17, 2009, 6:27 AM
 
 I installing NetBeans v6.5.1, now at start glassfish v2,
 input my user
 and password and says that there are incorrects. I return
 to try
 modifying in Tools/Servers, but the error
 continue...Answers??
 Regards
 Lisandro
 
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB-4215

2009-04-14 Thread Karl


The problems in the following samples in this same module get much worse.
Still unable to resolve. See long past unanswered questions...
~Karl

--- On Tue, 4/14/09, Biljana Biljana biljana_b...@yahoo.com wrote:

 From: Biljana Biljana biljana_b...@yahoo.com
 Subject: [java ee programming] Re: LAB-4215
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com, lisandr...@gmail.com
 Date: Tuesday, April 14, 2009, 11:01 AM
 Hi!
 I runed struts-template,
 but first made some changes in 
 templates.css, it is:
  font_weight:normal;
 font_style:normal;
 like Karl said, and
  
 before A.link I added one square bracket, and errase
 one after 
  A.active{
 
 }
 block, that is all I done and it works!
 Regards,
 Biljana
 
 
 --- On Tue, 4/14/09, lisandrodc
 lisandr...@gmail.com wrote:
 
 
 From: lisandrodc lisandr...@gmail.com
 Subject: [java ee programming] LAB-4215
 To: Java EE (J2EE) Programming with Passion!
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Tuesday, April 14, 2009, 10:11 AM
 
 
 
 Hi! I have a problem with run the project struts-template,
 at unzip
 4215_strutstiles.zip. At Run this project, the
 error in console:
 
 init:
 deps-module-jar:
 deps-ear-jar:
 deps-jar:
 library-inclusion-in-archive:
 D:\Cursos Gratis\Curso
 JavaPassion\Herramientas\strutstiles\samples
 \tiles-blank-struts1-1\nbproject\build-impl.xml:517:
 Warning: Could
 not find file
 C:\handsonlabs\strutstiles\lib\commons-beanutils.jar
 to
 copy.
 BUILD FAILED (total time: 0 seconds)
 
 Not find a way of change for that find the beanutils.jar(in
 netbeans)
 Thanks!
 
 
  
 
  
 
 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: tiles-blank-struts1-1

2009-04-14 Thread Karl


well, it's easy if you can actually find the libraries that need to be 
resolved already on your system. Maybe you will be luckier then myself, but you 
will most likely find that other samples in this lab module much less obvious 
fix. Let me know how 'tiles-channel' works out for you.

~Karl


--- On Tue, 4/14/09, lisandrodc lisandr...@gmail.com wrote:

 From: lisandrodc lisandr...@gmail.com
 Subject: [java ee programming] Re: tiles-blank-struts1-1
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Tuesday, April 14, 2009, 12:21 PM
 
 I search a way more easy:right click in the project, to
 search
 (resover...) and there is a way for select the
 '.jar'  and resolve
 the dependences of libraries.
 Regards
 Lisandro
 
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Could someone please provide feedback on the Tiles sample mess?

2009-04-07 Thread Karl


So maybe I should skip this entire module? Is this technology that is even 
relevant today? 
I've been able to cobble together (i.e., wasting ALOT of time) some of the 
samples for LAB-4215: Tiles module but it's taken a lot of perseverance as all 
of the library references are incorrect and needed resolving... AND I had to 
hunt down the commons-digester project (http://commons.apache.org/digester/) in 
order to figure out where to find the classes that aren't included in the 
tutorial distribution. If anyone else cares, I could provide the module I built 
to resolve *.rss.* reference errors.

But now I get to the tiles-channel sample, resolve broken dependencies (as per 
necessary), but upon running I get a 
java.lang.ClassNotFoundException: org.apache.struts.tiles.ActionComponentServlet

and there are a ton of deprecated class/method references. I'm assuming this 
sample library was written to the Struts 1.0 specification (probably all of the 
other samples in this section as well).

Does anyone have a working package of these samples? I find it impossible to 
believe that others are working through this using NetBeans 6.5 

Passion doesn't even begin to explain the feeling I have at this point.

~Karl



  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Compiler java for windows

2009-04-07 Thread Karl


No.

--- On Tue, 4/7/09, snonca luis.bi...@gmail.com wrote:

 From: snonca luis.bi...@gmail.com
 Subject: [java ee programming] Compiler java for windows
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Tuesday, April 7, 2009, 11:42 AM
 
 I'm new to the world of Java programming..and interested to
 know
 whether Java code
 can be compiled into a Dll, so that it can be
 integrated with COM+ application(Windows Platform).
 
 hich the names of the compilers that tks. :)
 
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] So... tiles + struts = Spring?

2009-04-03 Thread Karl


On loading up the examples for the tiles module (4215) I found two required 
jars missing from the system (commons-fileupload, commons-lang) that I was able 
to find quickly by doing a google search. Both of these were found in the 
context of the Spring framework. This is what prompted the question in Subject 
line.
Is Spring a super set of tiles + struts?

thanks,
Karl


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Struts HW question

2009-04-02 Thread Karl


From your project in project view, right click on Libraries folder, 'Add 
Library...' and Struts  1.2.9 should be a selection in the Global Library 
selection. Add this to your project. the struts tld definitions are part of 
this library.

~Karl


--- On Wed, 4/1/09, pxk5...@njit.edu pxk5...@njit.edu wrote:

 From: pxk5...@njit.edu pxk5...@njit.edu
 Subject: [java ee programming] Struts HW question
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Wednesday, April 1, 2009, 3:53 PM
 
 For the Struts HW, are we supposed to create our own TLD
 files?
 
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: If unsubscribe now, can I join again with a new session?

2009-03-30 Thread Karl


Yes you can, but another option would be to go here:
http://groups.google.com/groups/mysubs
and in the settings for Java EE (J2EE) Programming with Passion! set the last 
listbox option to 'No Email'  then when you choose to come back, reset it and 
join back in.


--- On Sun, 3/29/09, carmen rad umbr...@gmail.com wrote:

 From: carmen rad umbr...@gmail.com
 Subject: [java ee programming] If unsubscribe now, can I join again with a 
 new session?
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Sunday, March 29, 2009, 11:07 PM
 Thank you.
 Carmen
 
 
  
 
 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Homework #4018

2009-03-24 Thread Karl


hmmm, well I guess that may be so. Oh well, a little more work from me, What 
doesn't kill you makes you stronger. But the instructions clearly said ...

Passion.


--- On Tue, 3/24/09, fredrik fredrik.bok...@gmail.com wrote:

 From: fredrik fredrik.bok...@gmail.com
 Subject: [java ee programming] Re: Homework #4018
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Tuesday, March 24, 2009, 6:53 AM
 
 If you interpret xyz as just any username, then I guess
 you need a
 separate login page (and perhaps two different error
 pages?). How else
 should you get to the error page from the failed login?
 [There is
 probably some way, and it would be interersting to know.]
 
 However, if you follow what we learned earlier in the lab,
 you could
 interpret xyz as some unauthorized but valid user, e.g.
 daniel. Then
 you can work with basic authentication and an error page
 very similar
 to myown403error.jsp - I've tried it.
 
 /Fredrik
 
 On 21 Mar, 05:03, Karl karlk...@yahoo.com
 wrote:
  So am I to guess that the homework for Web Application
 security is wanting a form based implementation and not
 basic? I'm guessing this is true since it's asking for a
 custom error page if a unknown user is entered (xyz/xyz).
  If this is so, the hello1 application will also need a
 custom login page as well, correct?
  These homework instructions could be a might clearer.
 
  ~karl
  
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Troble with program in JDBC

2009-03-18 Thread Karl


Hi Biljana,
I just added a new class file to the existing project... and within the main 
from top down that created the two tables, populated them and then quit (I 
think that was all it needed).
You can run it by simply right clicking on the class file in the project tree 
and then 'Run'
You could get fancy and create separate functions and/or entire classes for 
separating out the functionality and calling the bits from within a controller 
function of some sort, but I didn't want to spend that much time on it.
If you want to rerun it, you'll need to delete the tables from the Services 
list.

good luck,
Karl


--- On Wed, 3/18/09, Biljana Biljana biljana_b...@yahoo.com wrote:

 From: Biljana Biljana biljana_b...@yahoo.com
 Subject: [java ee programming] Troble with program in JDBC
 To: J2EE Passion Group 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Wednesday, March 18, 2009, 6:43 AM
 Hi!
 I don not know who to ask?
 For homework in JDBC, do we have to create project, or
 just add in JDBCSamler MyOwnJDBCProgram.java, class which
 will do everything what is given for homework, but how they
 run this program, why not one project which will have one bu
 one all classe with main function, which execute
 that statements?
  
 Hellp me!
  
 Regards,
 Biljana
  
 
 
  
 
  
 
 
 


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Bad Practices In JAVA

2009-03-06 Thread Karl


Pretty basic list of don'ts. I wonder where the author works who sees these 
mistakes where many of the programmer does it? I know I'm not one to throw 
stones, but the English language has a set of bad practices as well, who writes 
this way? Need an editor?


--- On Thu, 3/5/09, abhishek parikh ab.pr...@gmail.com wrote:

 From: abhishek parikh ab.pr...@gmail.com
 Subject: [java ee programming] Bad Practices In JAVA
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Thursday, March 5, 2009, 10:19 PM
 Following is a Good Article about bad practices in java
 
 http://choosyinfo. com/technology/ throw-out- those-4-bad-
 practices-
 in-javahttp://choosyinfo.com/technology/throw-out-those-4-bad-practices-in-java
 
 

  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Lab 4015 Parameter Replacement

2009-03-03 Thread Karl

following in lab work says this:

3. In the NetBeans, double click ParametricReplacement.jsp under 
JSTLExamples-Web Pages-format to open it in the source editor.
4. Modify it as shown in Code-2.21 below.

and code dump it's referring below in dump #2.21 has no highlighted areas to 
Modify.

Am I missing something?



  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Lab 4006_el Expression Language

2009-03-01 Thread Karl

Can you get to this URL if you copy it into your browser? Could be a firewall 
issue or maybe the server was having problems at the time you tried using it?

~Karl


--- On Sat, 2/28/09, Akris aks...@gmail.com wrote:

 From: Akris aks...@gmail.com
 Subject: [java ee programming] Lab 4006_el Expression Language
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Saturday, February 28, 2009, 10:11 PM
 Hi all,
 
 Hope that you can help solve my problem. I was trying lab
 exercise
 'HelloWeb'. When I ran the original bundle that I
 downloaded, there is
 no problem. I can see that it is using J2EE 1.4
 
 Then I created a new project using Netbeans 6.5 and Java EE
 5. I have
 copied all the original files from the bundle (java
 sources, web.xml,
 etc). Then the problem came up when I hit the Submit
 button.
 response.jsp gave me this problem
 
 org.apache.jasper.JasperException: The absolute uri:
 http://java.sun.com/jsp/jstl/core
 cannot be resolved in either web.xml or the jar files
 deployed with
 this application
 
 Can someone give me some pointers. Thank you.
 
 

  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Clever, but I think it should be pointed out...

2009-03-01 Thread Karl

FYI,
Maybe it was obvious to others, but I was going over the conditionals section 
for c:foreach in the lab work that calls If.jsp
On first glance of the output:

Simple Conditional Execution
Customers living in the USA
[2] Mikita, Stan 12/25/1947 45 Fisher Blvd Chicago USA (320)876-9784
[3] Gilbert, Rod 03/11/1951 123 Main Street New-York City USA
[4] Howe, Gordie 07/25/1946 7654 Wings Street Detroit USA (465)675-0761 
(465)879-9802

I was wondering how this code:
c:forEach var=customer items=${customers}
  c:if test=${customer.address.country == 'USA'}
${customer}br
  /c:if
/c:forEach

was rendering the customer objects as above. At the bottom of the Customer.java 
class I found a toString() call that was obviously being used for this purpose. 
Just found it clever, but worth noting the technique.






  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Fw: Slides for JSTL section ...

2009-02-28 Thread Karl



--- On Sat, 2/28/09, Sang Shin sang.s...@sun.com wrote:
 Date: Saturday, February 28, 2009, 5:50 PM
 Karl wrote:
  for example:
  http://www.cyclemaniaque.com/img/XPathScrnExample.jpg
  
  I know this is a free tutorial, but if image
 formatting is needed I can certainly lend a hand.
  
 
 Thanks.  The idea is to show what you will experience when
 you run the sample application not asking you to read
 it on the slide. (I will clarify it in the slide).
 
but if you look at the slide that is supposed to clarify it, it is unreadable. 
I've provided just one of the slides that are in the JSTL presentation with 
this problem. All slides that attempt to show the browser output of the example 
source are unreadable. At least in the pdf version of the presentation. YMMV.

thanks,
Karl


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: please solve my problem

2009-02-27 Thread Karl
This is the first prerequisite. Read the faq:
http://www.javapassion.com/coursefaq.html



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Slides for JSTL section ...

2009-02-27 Thread Karl

...that include screen dumps of web page output are basically useless. Passion!


  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: QualiteSys automated testing suite for C#, java

2009-02-27 Thread Karl

Dump this guy!


--- On Fri, 2/27/09, qualitychec...@free.fr qualitychec...@free.fr wrote:

 From: qualitychec...@free.fr qualitychec...@free.fr
 Subject: [java ee programming] QualiteSys automated testing suite for C#, java
 To: Java EE (J2EE) Programming with Passion! 
 java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Friday, February 27, 2009, 1:31 PM
 QualiteSys is proud to annonce the availability of a
 complete
 automated suite for the evaluation and control of  the
 risks related
 to arithmetic errors, QWE bugs and security failures.
 
 See http://www.qualitesys.com/
 
 

  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Course question...

2009-02-27 Thread Karl

Hello,
So I'm moving ahead on the J2EE course. I've finished up the Expression 
Language section which had been scheduled as (March 5th, 2009:  Week #5)   
(homework #7), so I'm going ahead of the course schedule.
The next two sections:
# JSP 1.2 Custom Tags (1 hour lecture + 1 hour lab)
# JSP 2.0 Custom Tags (1 hour lecture + 2 hour lab) 
both show no date or homework, not until the :
# JSTL (2 hour lecture + 2 hour lab) -  (March 5th, 2009: Week #5)  (homework 
#8)
section does it mention date/homework.

According to Sang Shin directions:
Note that only the topics with the dates assigned will be covered in this 
course.

Would it still be useful to go through the tutorial content for these sections 
or is it so out of date that it would be counter productive?


thanks,
Karl



  

--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] LAB-4004 Session Tracking

2009-02-26 Thread Karl
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. The code fragments that need to be changed are highlighted 
in bold and blue colored font.

jsp:useBean id=cart scope=application class=sessions.DummyCart /


I do this, run the servlet and BAM! 
HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.NullPointerException

root cause

java.lang.NullPointerException


Don't think this is what the lab had in mind. Anyone else have this issue?

regards,
Karl



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Servlet Advanced2

2009-02-26 Thread Karl
add,

import java.util.*;

to your class file input statements.

--- On Thu, 2/26/09, Biljana Biljana biljana_b...@yahoo.com wrote:
From: Biljana Biljana biljana_b...@yahoo.com
Subject: [java ee programming] Servlet Advanced2
To: J2EE Passion Group 
java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Thursday, February 26, 2009, 11:02 AM

Hi!
Am I seein well?
 
I try to run hello2 project, from servletadvanced after I add myOwnFilter and 
uncoment what they said. I saw that I have five bugs, because don't have  
defined class Enumeration  enywhere, even in imported package, even in that 
package.I think OK, the don't siad enything about that, mayby it works, but I 
can't run hello2.
What is the problem? How to solve it?
 
Regards,
Biljana


 







  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Servlet Advanced 3

2009-02-26 Thread Karl
Hi Biljana,
What I did was simply reverse the directions that were given to output the 
statements, e.g., re-comment out the blocks in doBefore and doAfterProcessing 
methods (the things that begin with:

    for (Enumeration en = request.getParameterNames(); en.hasMoreElements(); ) {
        String name = (String)en.nextElement();
    ...

oh, and for good measure I also commented out the instructions in the 
MyOwnFilter.log() method ... which I believe will accomplish the same thing 
(I'm being redundant) with one commented line.

hope this helps,
Karl

--- On Thu, 2/26/09, Biljana Biljana biljana_b...@yahoo.com wrote:
From: Biljana Biljana biljana_b...@yahoo.com
Subject: [java ee programming] Servlet Advanced 3
To: J2EE Passion Group 
java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Thursday, February 26, 2009, 11:26 AM

Hi!
In Lab-4005,what  this means:
Remove the logging statements of the filters in the code so that you don't see 
them in the next exercise.
 
To  just delete MyOwnFilter and myOwnFilter2, erase part for filter in web.xml 
in Cofiguration Files.Where is that logging statement?
 
Regards,
Biljana


 







  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Glassfish Server messages...

2009-02-25 Thread Karl
Hello.
Running NB for the first time upon starting I'm prompted for authentication to 
the glassfish v2 server and it accepts my input of usr/pwrd and seems to work 
fine, i.e., it will run and display output from my objects.
However the log output for the server dumps out many of these messages:

Web login failed: Login failed: javax.security.auth.login.LoginException: 
Failed file login for admin.
SEC5046: Audit: Authentication refused for [admin].

Can anyone provide a fix for this? This is on a Windows XP system.

thanks,
Karl



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] HTTP Monitor under NB 6.5 ?

2009-02-24 Thread Karl
Not that this is an earth stopping issue, but I can't get the HTTP Monitor (I'm 
assuming Server) to work under NB 6.5 for the NetBean section labwork.
I've turned on Enable HTTP Monitor from the GlassFish V2 server settings and 
restarted everything, but nothing appears to be showing up in the Monitor, no 
Current Records, no anything.
Anyone else get this working? I should just be able to select Run on the 
HelloWeb sample project and it should just do it, right?

thanks
~Karl



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Chaining filters.

2009-02-24 Thread Karl
Beginning to feel a bit lonely on this list. What's the problem, do all of you 
have jobs?

Lab that has you creating servlet filters. I was under the impression (via the 
slide information) that these were executed in order of how they're listed in 
the DD file. This would seem to not be case I was to believe what the log 
output says in the runtime information for the server.
PWC1412: WebModule[/hello2] ServletContext.log():MyOwnFilter2:doFilter()
PWC1412: WebModule[/hello2] ServletContext.log():MyOwnFilter2:DoBeforeProcessing
PWC1412: WebModule[/hello2] ServletContext.log():MyOwnFilter:doFilter()
PWC1412: WebModule[/hello2] ServletContext.log():MyOwnFilter:DoBeforeProcessing
PWC1412: WebModule[/hello2] ServletContext.log():MyOwnFilter:DoAfterProcessing
...

in web.xml these are the opposite order of how they're getting logged, i.e., I 
would have expected to see the doFilter() for MyOwnFilter logged before the one 
in MyOwnFilter2

Is this not the case?

 ~Karl



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Screen shots

2009-02-24 Thread Karl
Chetana,
If you're using Windows simply select the browser window, do 
alt+ctrl+shift+PrntScn (takes a bit of learned dexterity but it can be done 
with little practice), start Paint and do a Edit-Copy. Then save as your image 
type of choice (most appropriate IMO is jpg).

Hope this helps,
Karl

--- On Tue, 2/24/09, Chetana Shenoy chetan...@yahoo.com wrote:
From: Chetana Shenoy chetan...@yahoo.com
Subject: 
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Tuesday, February 24, 2009, 6:09 PM

Hello :
   Can anyone please tell me any available software (at no cost) to capture the
assignments ( web pages )  as image (jpeg or gif) to enable me to post the HW .
Appreciate any help.

Thanks 


  





  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Want to unsubscribe

2009-02-23 Thread Karl
See  below for instructions that are included in the footer information of 
every messages you receive from this group...





  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Problem with port conflict...

2009-02-23 Thread Karl
Well, this must have had something to do with the wifi connection I had from 
the remote location. It's working fine from my home base.

--- On Mon, 2/23/09, Karl karlk...@yahoo.com wrote:
From: Karl karlk...@yahoo.com
Subject: [java ee programming] Problem with port conflict...
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Monday, February 23, 2009, 12:04 PM

I'm on lab #4003: JSP Basics.

I'm working from a remote location today and attempts to run the hello1 project 
from NetBeans I'm getting an error as such:

[#|2009-02-23T11:46:23.546-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;3820;|A
 conflict occured on port 3820 . Server is shutting down.|#]

Is there a rule of thumb for adjusting this?

thanks,
~Karl







 







  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: RAD Free download version -- Trail for 60 days | http://www.ibm.com/developerworks/downloads/r/rad/

2009-02-23 Thread Karl
Yeah, RAD can get mighty expensive after the trail period. But pure eclipse is 
a very nice platform too (NetBeans is starting to grow on me) with a lot of 
open source plugin support available as well.

--- On Mon, 2/23/09, Vaibhav Pandey vaibhav.pan...@gmail.com wrote:
From: Vaibhav Pandey vaibhav.pan...@gmail.com
Subject: [java ee programming] Re: RAD Free download version -- Trail for 60 
days |  http://www.ibm.com/developerworks/downloads/r/rad/
To: mail2kond...@gmail.com
Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Monday, February 23, 2009, 5:19 PM

what do you do after 60 days? either pay which serves no purpose using 
Open Source Java and using paid version of J2EE IDE. I have used it 
myself, RAM is not a problem but how much it costs to actually use it.



Srikanth Kondeti wrote:
 Folks,
 who are interested in RAD, you can download from this link below.

 http://www.ibm.com/developerworks/downloads/r/rad/

 I have used RAD7 version and now 7.5 version has come. 

 Njoy the RAD world.

 Thanks
 Srikanth

 On Wed, Feb 18, 2009 at 9:48 PM, Karl karlk...@yahoo.com 
 mailto:karlk...@yahoo.com wrote:

 RAD isn't really free. In fact, it can be really
expensive. RAD
 is Eclipse + IBMs additions to the open source product. While you
 can get an evaluation copy of RAD (or any of the other convoluted
 Eclipse based packages that IBM offers), I'm sorry I added RAD to
 the subject line, I should have simply asked about Eclipse.

 regards,
 Karl

 --- On *Wed, 2/18/09, Manjula Srinivas /talk2manj...@gmail.com
 mailto:talk2manj...@gmail.com/* wrote:

 From: Manjula Srinivas talk2manj...@gmail.com
 mailto:talk2manj...@gmail.com
 Subject: [java ee programming] Re: NetBeans vs. Eclipse/RAD,
 etc...
 To: ruchir.pan...@gmail.com mailto:ruchir.pan...@gmail.com
 Cc: mick.tim...@gmail.com mailto:mick.tim...@gmail.com,
 karlk...@yahoo.com mailto:karlk...@yahoo.com,
 java-ee-j2ee-programming-with-passion@googlegroups.com

mailto:java-ee-j2ee-programming-with-passion@googlegroups.com
 Date: Wednesday, February 18, 2009, 5:25 PM

 For a long time I had been think to explore a bit about RAD,
 Can anyone give me the link to download RAD for free. Any
 documents to use the same will be helpful as well. Thanks in
 advance, Manjula On Wed, Feb 18, 2009 at 4:30 PM, ruchir
 pandit ruchir.pan...@gmail.com
 mailto:ruchir.pan...@gmail.com wrote:  Hi Mick,
 I am
 also using IBM RAD. I don't see any issue here. The only issue
 is it  consumes more memory than Eclipse so make sure that
 RAM supports this. Let  us know if you run into any issue.

 Thanks,  Ruchir   On Wed, Feb 18, 2009 at 12:36 PM,
Mick
 Timony mick.tim...@gmail.com
mailto:mick.tim...@gmail.com
 wrote:   I'm not using Eclipse for this
course, but I've
 used IBM's Rad  Eclipse a  lot over the years. I
don't
 think it'll be problem to do the course using  either
of
 those IDE's, just make sure when you submit your homework as a
 WAR  file that you include the source also (there should
be
 a checkbox on the WAR  file creation window). 
 Luck 
 MickOn Wed, Feb 18, 2009 at 3:11 PM,
Karl
 karlk...@yahoo.com mailto:karlk...@yahoo.com
wrote: 
  Hey folks,  I know this tutorial
recommends the use of
 NetBeans as the IDE for the  course, but I've been
using
 RAD for quite some time now. So:  1) Are others using
 Eclipse for this course and find it easy to translate 
the
 instructions from one IDE (NetBeans) to the other (Eclipse)
 or,  2) for ease of ramp up, just use NetBeans and get
to
 it g !   ~Karl 




 






  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] NetBeans vs. Eclipse/RAD, etc...

2009-02-18 Thread Karl
Hey folks,
I know this tutorial recommends the use of NetBeans as the IDE for the course, 
but I've been using RAD for quite some time now. So:
1) Are others using Eclipse for this course and find it easy to translate the 
instructions from one IDE (NetBeans) to the other (Eclipse) or,
2) for ease of ramp up, just use NetBeans and get to it g !

~Karl



  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: NetBeans vs. Eclipse/RAD, etc...

2009-02-18 Thread Karl
RAD isn't really free. In fact, it can be really expensive. RAD is Eclipse + 
IBMs additions to the open source product. While you can get an evaluation copy 
of RAD (or any of the other convoluted Eclipse based packages that IBM offers), 
I'm sorry I added RAD to the subject line, I should have simply asked about 
Eclipse.

regards,
Karl

--- On Wed, 2/18/09, Manjula Srinivas talk2manj...@gmail.com wrote:
From: Manjula Srinivas talk2manj...@gmail.com
Subject: [java ee programming] Re: NetBeans vs. Eclipse/RAD, etc...
To: ruchir.pan...@gmail.com
Cc: mick.tim...@gmail.com, karlk...@yahoo.com, 
java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Wednesday, February 18, 2009, 5:25 PM

For a long time I had been think to explore a bit about RAD, Can
anyone give me the link to download RAD for free.
Any documents to use the same will be helpful as well.

Thanks in advance,
Manjula

On Wed, Feb 18, 2009 at 4:30 PM, ruchir pandit ruchir.pan...@gmail.com
wrote:
 Hi Mick,
I am also using IBM RAD. I don't see any issue here. The only issue
is it
 consumes more memory than Eclipse so make sure that RAM supports this. 
Let
 us know if you run into any issue.
  Thanks,
  Ruchir

 On Wed, Feb 18, 2009 at 12:36 PM, Mick Timony
mick.tim...@gmail.com wrote:

 I'm not using Eclipse for this course, but I've used IBM's
Rad  Eclipse a
 lot over the years. I don't think it'll be problem to do the
course using
 either of those IDE's, just make sure when you submit your
homework as a WAR
 file that you include the source also (there should be a checkbox on
the WAR
 file creation window).

 Luck
 Mick


 On Wed, Feb 18, 2009 at 3:11 PM, Karl karlk...@yahoo.com
wrote:

 Hey folks,
 I know this tutorial recommends the use of NetBeans as the IDE for
the
 course, but I've been using RAD for quite some time now. So:
 1) Are others using Eclipse for this course and find it easy to
translate
 the instructions from one IDE (NetBeans) to the other (Eclipse)
or,
 2) for ease of ramp up, just use NetBeans and get to it g
!

 ~Karl







 






  
--~--~-~--~~~---~--~~
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 group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---