[java ee programming] getting problem in struts.

2009-09-16 Thread aryan
Hi every one, I am new in struts.I am working in simple struts program in which am sending data from jsp form to form bean. i have written getter and setter method and some validation. while executing it is giving following error, javax.servlet.jsp.JspException: No getter method for property lastn

[java ee programming] Re: Bookstore1 DB error...

2009-09-16 Thread diegosouza.br
Hello! When you run bookstore1, it uses the bookstore.jar to connect to the Data Source specified in persistence.xml. See the libraries in your bookstore1 project, then right click the bookstore.jar and click "open project". Expand the META-INF node and verify the persistence.xml. I think it's po

[java ee programming] Re: use bean problem

2009-09-16 Thread diegosouza.br
Besides the "apache 5 for server" he's probably talking about the Apache Tomcat because the Apache HTTP server is still in version 2. Anyway, if he's not running the files inside the Web Container, he must spend some time reading the basic documentation / lessons. On Sep 16, 5:56 pm, Victor Luti

[java ee programming] Bookstore1 DB error...

2009-09-16 Thread p. stephen wille
Anyone know anything about this issue? Per the instructions on p.97, I've added [jdbc/BookDB]. I also populated the database with an sql file I found [..\javaeetutorial5\examples\common\sql\javadb]. However, I get the error message below when I run [bookstore1]. Exception [EclipseLink-4002]

[java ee programming] Homework 4015

2009-09-16 Thread Robert Worrall
Ok, I am missing something here, I have no idea what I am supposed to do in this homework. Do I decare a table in index.jsp which is then displayed in response.jsp or is the name submitted meant to be added to the table when submit is pressed and the updated table is displayed in response.jsp?

[java ee programming] Re: LAb 4205

2009-09-16 Thread Alfredo Torres
Hi, I found the error as usual, The problem is: These methods have been deprecated since Struts 1.2, use ActionMessage and ActionMessages instead Source: http://forums-beta.sun.com/thread.jspa?messageID=9883787 Hope this help others Alfredo On 16 sep, 12:37, Alfredo Torres wrote: > Hi, >

[java ee programming] Re: use bean problem

2009-09-16 Thread Victor Lutin
To execute a JSP/Servlet, you will need a JSP Container ... That I know, Apache (httpd) isn't a JSP Container, instead Apache (httpd), you must use "Apache Tomcat", by example. maybe help you this. On Wed, Sep 16, 2009 at 12:14 PM, diegosouza.br wrote: > > Does it show any error message? > You

[java ee programming] Re: use bean problem

2009-09-16 Thread diegosouza.br
Does it show any error message? You don't follow the good practices in Java when you code. Class names shoud be capitalized. Another point is that in general we don't work with Scriptlets like you did. It's usually done inside a Servlet and then it redirect / dispatch to the .jsp. On Sep 16, 2:5

[java ee programming] LAb 4205

2009-09-16 Thread Alfredo Torres
Hi,   I am on Exercise 1: Build and run "struts-submit-solution" sample application when i load the project on the samples directory there is a class that is not there the "ActionError". Is there something i need to install extra in netbeans 6.7?? When i create a web project from 0 with the

[java ee programming] Ex 3 question

2009-09-16 Thread Nitram76
Hello! Exercise 3 says "... Before forwarding, it should add another String type parameter called myparameter with value "Passion!" to the request object..." Is it ok to do it this way: or is it meant differently? --~--~-~--~~~---~--~~ You received this mess

[java ee programming] jsf how to control

2009-09-16 Thread merve t
hello, i want to do something with jsf that i can do with servlets. what i want to do is below: there is two inputtext textboxes and a button on a page(login.jsp). when i write something in tetboxes and push the button, if the text in the textboxes alright then goto wellcome.jsp page, or if content

[java ee programming] Re: No Add Button

2009-09-16 Thread vodkhang
Are you sure you have problem? I have tried to test on my netbean and I do not see any problem. The button is shown in my computer On Sep 16, 9:31 am, javaquestion wrote: > The "Add" button doesn't show in my computer, however, this code work > on some other computer. > > import java.awt.*; > im