[java ee programming] Re: Java statement structure...

2009-09-09 Thread Artashes Hovasapyan
You can cheeck it out here:
http://java.sun.com/javase/6/docs/api/java/util/ResourceBundle.html

-- 
Regards,
Artashes Hovasapyan


2009/9/8 p. stephen wille p.stephenwi...@yahoo.com

 Does anyone know what [ResourceBundle] is, such as a data type, object,
 class, or other, and how  to identify it?  Aside from a brief explanation,
 I'd like to know the correct way to identify this thing, that is, it's
 correct label.

 This is from slide 59 of Servlet Basics PDF.

 HttpSession session = request.getSession(true);
 ResourceBundle messages =
 (ResourceBundle)session.getAttribute(messages);



  stephen wille  |   
 p.stephenwi...@yahoo.comhttp://pstephenwille.com/ZipRadius/


 --
 *From:* Mihai DINCA mihai.di...@free.fr
 *To:* java-ee-j2ee-programming-with-passion@googlegroups.com
 *Cc:* srilax...@yahoo.com
 *Sent:* Monday, September 7, 2009 11:33:02 AM
 *Subject:* [java ee programming] Re: HELP XML FILE FOR EXCERSISE1

 Hi, Srilaxmi.

 Just a sugestion: Open in NetBeans the file you want to execute (servlet or
 JSP file). Then execute it using Shift + F6. This action normally opens the
 (default) browser and displays in it the very file you selected. The URL
 displayed in the browser is the one you can type manually to open the file.

 If your server is configured to turn to another TCP/IP port than 8080 or if
 there is some problem in the xml file, then you will see the server
 configuration in the URL displayed by your browser.

 --
 Hope it Helps
 mihai



 Srilaxmi Seetharamachar a écrit :

   HELLO,
 Below is the web.xml screen shot of my excersise1.I have modified
 web.xml file as in the lab work to  MyOwnJsp.jsp The screen shot is below.

  When I run the project the browser will open as  servelet file.It will not
 open MyOwnJsp.jsp file  as per the lab work.
 (http://localhost:8080/MyFirstWebApp/MyOwnServelet)

 Please help...
 Thank you..


 ?xml version=1.0 encoding=UTF-8?
 web-app version=2.5 
 xmlns=http://java.sun.com/xml/ns/javaee;http://java.sun.com/xml/ns/javaeexmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;http://www.w3.org/2001/XMLSchema-instancexsi:schemaLocation=http://java.sun.com/xml/ns/javaee
 http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
 
 servlet
 servlet-nameMyOwnServelet/servlet-name
 servlet-classmyownpackage.MyOwnServelet/servlet-class
 /servlet
 servlet-mapping
 servlet-nameMyOwnServelet/servlet-name
 url-pattern/MyOwnServelet/url-pattern
 /servlet-mapping
 session-config
 session-timeout
 30
 /session-timeout
 /session-config
 welcome-file-list
 welcome-fileMyOwnJsp.jsp/welcome-file
 /welcome-file-list
 /web-app






 


--~--~-~--~~~---~--~~
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: HTTP Monitor problem

2009-09-09 Thread Jerry

Same question here using NetBeans 6.7.1 on Ubuntu.

Jerry

On Sep 9, 4:13 am, Henry Ramos rhen...@gmail.com wrote:
 Hello everybody:

 I need help with using the HTTP Monitor in the NetBeans IDE Quick
 Start Guide for Web Applications II. I've turn it on at
 WindowDebuggingHTTP Server Monitor, and enabled it at
 ToolsServersEnable HTTP Monitor, but when I run the application, it
 doesn't work. It just appears empty.

 I'm using Netbeans 6.7.1 IDE. Have I missed one step? Please help me.

 Thank you very much,

 Henry Ramos

--~--~-~--~~~---~--~~
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] Lab 4006 homework

2009-09-09 Thread Alfredo Torres

Hi,

  I am working on the lab 4006 homework, I have everithing aparently fine.

    Person person = new Person(Alfredo,Torres);
    sce.getServletContext().setAttribute(person, person);

  I have the person object then the name then the firstname and then
the lastname (I can see it in the debug mode)

 When i call   c:out value=The person first names is:
${person.name.firstName}/ in the page appear Alfredo

 but when i try to display ${person.name.lastName} i receive thie error:

The class 'org.apache.taglibs.standard.examples.beans.Name' does not
have the property 'lastName'.

Why anyone can help me on this??
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: HTTP Monitor problem

2009-09-09 Thread Payne

Do you restart AppServer? It is usually necessary to restart
AppServer.

On 8. Sep., 20:13 h., Henry Ramos rhen...@gmail.com wrote:
 Hello everybody:

 I need help with using the HTTP Monitor in the NetBeans IDE Quick
 Start Guide for Web Applications II. I've turn it on at
 WindowDebuggingHTTP Server Monitor, and enabled it at
 ToolsServersEnable HTTP Monitor, but when I run the application, it
 doesn't work. It just appears empty.

 I'm using Netbeans 6.7.1 IDE. Have I missed one step? Please help me.

 Thank you very much,

 Henry Ramos

--~--~-~--~~~---~--~~
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] Lab 4002: unable to name and create new projects from the Tomcat distribution...

2009-09-09 Thread p. stephen wille
Attempting to create a new 'Servlet Example', I'm unable to name the project 
with the error  'Project Name is not a valid folder name.'   
The Description box states - A set of servlet examples that come from the 
Tomcat distribution. They can  be deployed to any server.  
I can name and create other projects, such as 'Web Jpa', and 'Jsf Jpa', but not 
the Tomcat ones. 

Is anyone else having this issue?  Do I need to install some Tomcat files, or 
other files?





 stephen wille  |   p.stephenwi...@yahoo.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?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Build Failed

2009-09-09 Thread Dhwani Patel
I am so glad to see that it works fine when i started working today,

But not sure what was the problem. I guess it was giving me that if i got
already one project session running and i tried another project ??

Thank you all for your time to help me!

On Tue, Sep 8, 2009 at 11:40 PM, miga migat...@gmail.com wrote:




 On 9 sep, 03:41, Dhwani Patel swami.learningj...@gmail.com wrote:
  Hello all,
 
  I was working with Netbeans nicely but i dont know what did i changed [
  think not anything :(  ] that leads now to build failed error while
 running
  any project. I can build it successfully, test it also. But when i hit
 Run
  for any project it gives me following error message :
 
  deploy?path=C:\Users\Dhwani\Desktop\Javapassion - J2EE\Homework\Sample
 
 Projects\servletadv\samples\hello2\build\webname=hello2force=truepropert
 ies=keepSessions=true
  failed on GlassFish V3 Prelude
  C:\Users\Dhwani\Desktop\Javapassion - J2EE\Homework\Sample
  Projects\servletadv\samples\hello2\nbproject\build-impl.xml:545: The
 module
  has not been deployed.
  BUILD FAILED (total time: 40 seconds)
 
  When i click on the build-impl.xml it shows me below line
 
  nbdeploy clientUrlPart=${client.urlPart} debugmode=false
  forceRedeploy=${forceRedeploy}/
 
  not sure how to resolve it
  Can anyone help me please ?
 Not sure, but I would try to see if there is any web application
 deployed on the server, and if true, I would undeploy it.

 



-- 
Dhwani Patel

--~--~-~--~~~---~--~~
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] New to J2EE Programming with Passion.

2009-09-09 Thread rajames429

Group,

I am new to this course. I have installed NetBeans 6.7.1 (complete)
and I have used the IDE for several years (off-and-on). I use the
current NetBeans for a school that I attend.

I have read the FAQ and I do not see a list of software applicatrions
that I need for the course. Is this because NetBeans 6.7.1 is all that
I need?

I am used to having to download the J2EE platform. Do I need to do
this or is some form of it installed with NetBeans ?

I run Windows XP on this development machine.

I have the following F/OSS installed:
Apache Ant (v1.7.0), Apache Maven (v2.0.8), Apache Tomcat (v6.0.18)
Glassfish Server ( glassfish-v2, glassfishv2ur2, glassfish-v3-prelude,
sges-v3-prelude)
Hibernate (v3.2)
JDK (v1.6.0_14)
JavaFX SDK (v1.2)
MySQL (v5.10.38)
NetBeans (v6.7.1) -- I downloaded and installed the ALL package
Spring Framework (v2.5)

These are installed and configured to run on my system.

Do I need to download and install any other software for this class ?

Thank you,
rajames429

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---