[java ee programming] Reload and unload servlet

2009-02-25 Thread Biljana Biljana
Hi!   I have question about servlet. When we have to reload  and  unload servlet? I understood that we are doing that  when we work with threads, only that, but why, and when ? Which changes are seekig that action with servlet,and how we reload and unload servlet?   Regards, Biljana  

[java ee programming] Servlet Advanced

2009-02-26 Thread Biljana Biljana
Hi! Is it only my problem? Why in Lab -4005 I can't see picture , many of them, almost all? How I can see I that I am doing exactly what they saying to do.   Regards,     --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[java ee programming] Servlet Advanced2

2009-02-26 Thread Biljana Biljana
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

[java ee programming] Hello2 run

2009-02-26 Thread Biljana Biljana
I delete filters, because can' t  wait the ansswer, and somthign changed. I add myOwnEventListener, and changed everything, like they sad, and try to run hello2 project. The output was in title Sun GlassFish and was writteg this: HTTP Status 503 - type Status report message descriptionThe

[java ee programming] Lab-4005

2009-02-27 Thread Biljana Biljana
Hi! I add listener, and i try to run hello2, It is activated GlassFish2 V2 server which cant found service() method in request, someone said, server is owerloaded, so i turned out my NetBean IDE, and started again. But this is didn't solve the problem. I think that is problem with selected

[java ee programming] Lab 4005

2009-02-27 Thread Biljana Biljana
Hi! Am I only here? My program cant find source code for HttpSessio, is it ok? And my created session dont suport addAttribute method, onli setAttribute method, and removedAttribute metod, hwo can removed when I couldn't add? What wrong is it?    

[java ee programming] Continue LAB 405

2009-02-28 Thread Biljana Biljana
This is was report: HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.18   when I run hello2,after I add Tomcat6.0 server in NetBean IDE, and change name of server in hello2 propertis, I attached report of tomcat when

Fw: [java ee programming] Continue LAB 405

2009-03-01 Thread Biljana Biljana
I solve the problem, I just couldn't see, the trouble was in implemetacion  of listener's funcions --- On Sat, 2/28/09, Biljana Biljana biljana_b...@yahoo.com wrote: From: Biljana Biljana biljana_b...@yahoo.com Subject: [java ee programming] Continue LAB 405 To: J2EE Passion Group java-ee-j2ee

Fw: [java ee programming] Re: Setup of Glassfish in Netbeans 6.5

2009-03-03 Thread Biljana Biljana
Hi hog! To use Glass Fish like server you have to set some system variables: Path, which you edit and add path where you installed JSDK on your computer, JAVA_HOME path where you installed jdk or beter jsdk  and J2EE_HOME path for folder where you are installed J2EE server which is in your

[java ee programming] Same LAB 4004

2009-03-03 Thread Biljana Biljana
Hi! I use HelloWeb from which we use in Lab 4011, the result is same.And seems to me that and content is the same. Is it possible? What is yor experience?   Regards, Biljana --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[java ee programming] LAB 4006

2009-03-04 Thread Biljana Biljana
Hi! I add new jva class in tha package ...examples.bean, and seems to me that is the sama like other classes in that package. But I Netbean IDE can't see that new class in the other... examples.startup package where is the ... examples.bean package is imported. I try to move this new class i

[java ee programming] Tag libraries

2009-03-05 Thread Biljana Biljana
Hi! I try to do lab for custom tag, I can't reach to that page so I us egoogle and found NetBean 4.0 Tutorial for Tag Libraries, and there is instructio how to Addlibraries, and I add, but that properties was changed for every open proects in my NetBean IDE, nothing wouldn't work proprietli, so

[java ee programming] LAB 1020

2009-03-17 Thread Biljana Biljana
Hi! I have a problem with LAB-1020, i just don't know which of JDK I have to download: JDK 6Update12,  JDK 6 Update 12 with JEE, JDK  6 Update 12 with NetBean IDE 6.5, JRE or JDK 5.0 ,6 or1.4.2, or Java SE JDK Souce Code. Which one, I just dont know? Maybe the last one but description is very

[java ee programming] LAB1020 Java Doc

2009-03-18 Thread Biljana Biljana
Hi!   I add zip file in Java Platform, first I download JDK6 Documentacion ,  change platform in to JDK1.6default where I add doc zip file, and Everything works, but when I done right click on Statement and pick up Show Javadoc, the Net Bean IDE the message: Canot perform Show Javaoc here! What

[java ee programming] Troble with program in JDBC

2009-03-18 Thread Biljana Biljana
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

[java ee programming] Re: JSP 2.0 Simple Tag Handler and Tag Files

2009-04-09 Thread Biljana Biljana
Hi! It is the same JSP Example in NetBean IDE like that in Tomcat JSP Example, only with Glass Fish serverom. Open some folders under Sample when you crate New Project in NetBean IDE and you will found it, just  look carefully. --- On Wed, 4/8/09, miga migat...@gmail.com wrote: From: miga

[java ee programming] Re: Please can anybody help me solve this Problem with graph

2009-04-13 Thread Biljana Biljana
Hi! Ua.. This is tipical example of Servlet Controlled Action, this is for Struts. Simple form to choose action, two input jsp, but also must know Numerical Mathematics for , I think, but I am not sure, Njutn polynomial, create simle Java funcions which will give you result. Good practis for

[java ee programming] LAB-4215

2009-04-14 Thread Biljana Biljana
Hi!   I saw that we dont have example pictures in lab exercise, or in homework. But how we know that our program is good?   Regards, Biljana --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Java EE (J2EE)

[java ee programming] Re: LAB-4215

2009-04-14 Thread Biljana Biljana
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,

[java ee programming] Dynamic Action Form in Struts

2009-04-15 Thread Biljana Biljana
Hi!   In Lab 4205 isn't exercise for DynaActionForm, I am  very conffused about that, and some example about DynaActionForm wil be great help, of cours with code explanations.  What about you people?   Regards, Biljana   --~--~-~--~~~---~--~~ You received

[java ee programming] LAB 4108

2009-04-24 Thread Biljana Biljana
Hello everybody!   I have a problem in Homework in Lab-4108. I just cant find how to display attribute, beacause  for UIComponent comp, comp.getAttributes() return MapString,Object m object,  so I try funcion toString(), it just wrote map to function getAttributeMethod, I try value() funcion 

[java ee programming] Re: JSF tags homework

2009-05-07 Thread Biljana Biljana
Hello! you have value that point in some UserNumberBean property like newNumber, that property have get and set method,  you need one new numberItems too,or simplier looke what is done in  LAB exersise with birth data, take a good look and that will explain everything to you. Yes you have to

Fw: [java ee programming] Lab 4126

2009-05-10 Thread Biljana Biljana
, 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

[java ee programming] Homework in Lab 4320

2009-05-14 Thread Biljana Biljana
Hello everyone!   I have doubt. How that output screen have to look?   Delete methoh have to be part of table like this: List of Persons currently in Database   ID  LastName FirstName Function 4   someone1 someone1first    

[java ee programming] Homework in lab 4203

2009-05-15 Thread Biljana Biljana
This is my error message when I try to delete one user from person table: HTTP Status 500 - type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException:

[java ee programming] Exercise 2 in LAB 3421

2009-05-18 Thread Biljana Biljana
Hello! I have some problems with ORINheritanceSINGLE_TABLE, I try to create my own Web Application, and I have done everythin like they said. But when I run project the project started to run, wasn't deployed, so I Start Java DB, but the running was continued, and continued, so I click Stop

[java ee programming] Re: 4119_jsfbookstore aint running

2009-05-21 Thread Biljana Biljana
Hello! You may didn't notice, but for this projects, in tuturial, You need Java Application Server, this is  correct name, not Glass Fish, you can find them on the page for downloading Glass Fish. Or maybe try change server usin Properties, but I think this is not work on Glass Fish, or Tomcat.

[java ee programming] LAB 4322

2009-05-21 Thread Biljana Biljana
Helo! This is some misunderstand! This is written in exercise:   Browse down to LAB_UNZIPPED_DIRECTORY/jsfshaledialog/samples directory.  Windows: If you unzipped the 4131_jsfshaledialog.zip file under C:\ directory, the directory to which you want to browse down should be

[java ee programming] Trouble with Hibernate

2009-05-26 Thread Biljana Biljana
When I run one written by my self Hibernate projekt, written in all rules, this message occured:   The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space BUILD FAILED (total time: 46 seconds) This occured too when I run one

[java ee programming] Re: Regarding Hibernate query Home work.

2009-05-29 Thread Biljana Biljana
Hello! I done this homework. Query by example was tha problem to me to. I soved in this way, in created Example prExample, I excludeProperty(price), and only after that it start to work. I don't know why. Does anybody have other solutions?   Regards, Biljana --- On Tue, 5/19/09, mak pandian

[java ee programming] Re: org.hibernate.LazyInitializationException ERROR

2009-05-31 Thread Biljana Biljana
Maybe I am stupid, but I don't understend why you have lazyInitializacion, you use some join? This is doesn't appear in EventDao? They use only ona table. Accordingly what you want to show and what your HQL query look like you use diferent fetch. But this is not good explain to me , so  just   

[java ee programming] Homework in Lab-4913

2009-05-31 Thread Biljana Biljana
Hello everyone! I do all changes in SpringInjectionInjectRef. But when I run program I got this message:   31.05.2009. 18.26.44 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from file [C:\Documents and

Fw: [java ee programming] Homework in Lab-4913

2009-06-01 Thread Biljana Biljana
Hello! I wrote in beans.xml beans bean id=myaddress autowire=byType class=BookwormOracle/ bean id=address class=Address/   bean id=injectRef class=InjectRef   property name=myaddress     ref local=myaddress/ /property     /bean /beans   ... then in wrote that class

Re: Fw: [java ee programming] Homework in Lab-4913

2009-06-01 Thread Biljana Biljana
Hello!     I also notice that in zipped folder for lab no proect name SpringInjectionRef just SpringInjectionInjectRef . But content and result of running is the same I think. So I have copy of this one I done homework.   Regards, Biljana       --- On Mon, 6/1/09, Biljana Biljana biljana_b

[java ee programming] Lab 4916

2009-06-03 Thread Biljana Biljana
Hello! I have to trouble with lab spring and hiberanate. When I run project and add libraries, and jar files like they said, NetBean noticed that there isn't Java DB Driver, so I added, run it again and this was showen:       INFO: building session factory Initial SessionFactory creation

[java ee programming] Re: Lab 4916

2009-06-04 Thread Biljana Biljana
, Biljana Biljana biljana_b...@yahoo.com wrote: Hello! I have to trouble with lab spring and hiberanate. When I run project and add libraries, and jar files like they said, NetBean noticed that there isn't Java DB Driver, so I added, run it again and this was showen:       INFO: building

[java ee programming] Re: Struts 2 - Indexed properties

2009-06-05 Thread Biljana Biljana
I don't know to much with s: ... tags, but I know how to do in usually jsp pages. I created one page with form where I add new car, or what ever, this form's action is activated one servlet which will add new car in list, this servlet at the end will dispatched to some jsp page you want. I so

[java ee programming] Re: Regarding JPA Basics Lab-HomeWork.

2009-06-05 Thread Biljana Biljana
Hi Mark!   this problem occured to everyone if you searche in groupe mail list. They said that we can't use remove() method, you must in delete servlet have sql statement which will delete person in database that you want to delete.   regards, Biljana --- On Fri, 6/5/09, aks.it...@gmail.com

[java ee programming] Re: Clarification of Session, Response in JSP pages

2009-06-05 Thread Biljana Biljana
Hi! take a look your if, and you redirect, you user not null . If you want to go to index.jsp, just change in form where is your Back button that does't go to welcome page, or make if examination in that page in what option you want t go to welcome, in what you want to go to index page, this

[java ee programming] Re: Regarding Spring-MVC Homework...

2009-06-16 Thread Biljana Biljana
Hello everyone!   I have same problem.How to include response.jsp when and only when username is input, because dispatcher servlet which we use move control to another page, not include page. Can  response.jsp be written like index.jsp with that Hello message, but this will be appear every time

[java ee programming] Re: HibernateUtil not Working (3513_hibernatestepbystep.zip)

2009-06-16 Thread Biljana Biljana
Hello! You must write what is written in that red line! Maybe you use some not deffined value, or not import classes not create database, not start driver, not add some jar file --- On Fri, 6/12/09, muhiuddin muhiud...@yahoo.com wrote: From: muhiuddin muhiud...@yahoo.com Subject: [java

[java ee programming] homework in Spring MVC

2009-06-16 Thread Biljana Biljana
Hello!   I rewrite hello1-homework, but when I run it I got this message:   HTTP Status 404 - type Status report message descriptionThe requested resource () is not available. Sun GlassFish Enterprise Server v2.1 In server Glass Fish V2 was written:   While redeploying, trying to stop the

[java ee programming] Re: homework in Spring MVC

2009-06-16 Thread Biljana Biljana
But when I run springMVCSimpleFormControll project my NetBean IDE run good. --- On Tue, 6/16/09, Biljana Biljana biljana_b...@yahoo.com wrote: From: Biljana Biljana biljana_b...@yahoo.com Subject: [java ee programming] homework in Spring MVC To: J2EE Passion Group java-ee-j2ee-programming

[java ee programming] Re: homework in Spring MVC

2009-06-17 Thread Biljana Biljana
that we can displey same  tag like in list one page, because this response.jsp isn't tied to Controller. So I add been useCommand, but this is stupid because this is not usual bean. So what to do?   Regards, Biljana     --- On Tue, 6/16/09, Biljana Biljana biljana_b...@yahoo.com wrote: From