Hello,
And make sure that in struts-config.xml you set a type to "submit":
mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On
Behalf Of peeter brunch
Sent: Monday, December 14, 2009 1:35 AM
To: j2ee passion
Subject: [java ee programming] Lab 4205_Strutsbasics hom
Hello Stepan,
Try to set names in exactly how they are defined in
attributes:
Regards,
Moria.
-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.c
Hi Fernando,
If you will look into the homework assignment again,
It says that you should have two .jsp files and two separate .java files
(one of them will be named HobbyBean.java. In this file you will create
HobbyBean class and setters and getter for hobby).
Then you will set a value as
Hi Fernando,
You probably should add a new .java file JDBCSamples-->Source
packages-->New-->MyOwnJDBCProgram.java;
inside it you will create both tables (CD and Location) and insert rows
into them.
Regards,
Moria.
From: fernando pardo [mailt
Hi Fernando,
Try this instead:
"(LOCATION_ID int NOT NULL, " +
"LOCATION varchar(40), " +
"primary key(LOCATION_ID))";
I think you should declare constraints ( and primary key in one of them)
in the end, after all fields already defined ...
Regards,
M
Hi Fernando,
Have you tried this??
createLocation = "create table LOCATION " +
"(LOCATION_ID int NOT NULL, " +
"LOCATION varchar(40), " +
"primary key(LOCATION_ID))";
Regards,
Moria.
From: fernando pa
Hello all,
Let me repeat my - I am REALLY stuck with the homework :-(
The question about the 4018 j2ee - websecurity homework.
The homework requires
1. Add the following set of concrete username/password
(principals) and concrete groups to the file-based security realm
through th
Hello,
I have question about the 4018 j2ee - websecurity homework.
The homework requires
1. Add the following set of concrete username/password
(principals) and concrete groups to the file-based security realm
through the admin console of GlassFish App Server - DONE
2. Modi
Hi,
I think it is kind of typo.
I could not find place where and what I should change in index.jsp code,
so I left it as it is.
Not sure that I am right, more comments will be helpful.
Regards,
Moria.
From: java-ee-j2ee-programming-with-passion@go
Hi Sparky,
There is a continue of the thread:
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
Victor
Sent: Thursday, October 08, 2009 10:06 AM
To: 'Java EE (J2EE) Programming with Passion!'; derez...@yaho
[mailto:gomezmarcos...@gmail.com]
Sent: Thursday, October 22, 2009 12:06 PM
To: Moria Shebsovich
Cc: ingsopor...@gmail.com;
java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: Re: [java ee programming] Re: LAB 4004
Hi, i have just done this homework.
I did the following:
- add the link as
Hi Fernando,
I am working on this assignment too.
I modified scope of mybean to session and changed setName() as
suggested.
I added link in response.jsp
After
This return logic back to index.jsp. At this point I don't have any idea
how to modify form that it wil
Hi Diego,
Try this as you should first get session and then get servlet context for this
session:
evt.getSession().getServletContext().log("contextInitialized() method is
invoked");
Regards,
Moria.
-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mail
Hello,
1. Yes, this is all what had to do when strings are the same ignoring
case - test pass, string ARE equal under this condition.
2. You should look into next scenario in the homework when two strings
are not equal: next compare String name1 ="passion" and String name2 =
"beaut
Hello,
This is very well explained in lab 4001 in paragraph (1.4) Add a Servlet
to the application.
Go through screens and you will see that you can manage what should run
first with right click on your project, select Properties->Run and set
name on needed file (in our case default servlet
Hi Diego,
Try to reboot your system, might help...
Moria.
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On
Behalf Of diego rangel
Sent: Monday, October 05, 2009 1:09 PM
To
Hello,
I think you messed up with 2 examples.
Look into hello1 example - there is no forward page at all.
Change the index.jsp of hello1 such that @include will contain your middle.jsp:
<%...@include file="middle.jsp" %>
Now from middle.jsp invoke response.jsp (I also included "passion" string
Hello,
You are receiving this error because you call add() method to class
instead of to instantiated object when your method add () is not static
and must be called to an instance.
Try this:
HorizontalPanel row = new HorizontalPanel();
public void Crow()
{
row.add(edit
Hello,
you should create proper parent class and establish hierarchy where
child class will extend its parent something like that:
public class Example1 {
private String ex;
public Example1( ) {
}
public Example1( String ex) {
this.ex = ex;
}
public String getE
Hi, I think this is good explanation:
Question:
What is the difference between servlet and Java Server Pages? Which is
preferred?
Answer:
Servlets and Java Server Pages are complementary APIs, both providing a means
for generating dynamic Web content. A servlet is a Java class implemen
20 matches
Mail list logo