You could also consider using Torque. I believe it will generate a schema
from an existing database that will allow you build a set of data aware
objects. It also some good classes for working directly with XML. I wrote
a simple Struts plugin to work with Torque. It's not as cool as Hibernate
b
PostGraduate is still in development, WEB-INF is mapped from the IDE.
Anyway, tried the request.getContextPath() on other pages with forms,
works well.
-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 6:31 PM
To: Struts Users Mailing List
Two things come to mind:
1. Do you want an icon that will show up in a browser when a user accesses
your application/site? If so, you need to do something else -- the
part of the servlet spec seems to indicate that it is for GUI tools (like
your app server's management console) rather than for br
Hi,
What is the "proper" Struts way to implement create/update pages in the
following scenario.
You've got a Customer Form bean with the following properties:
- First Name
- Last Name
- List of PhoneNumber Beans
A PhoneNumber bean with these properties:
- Country Code
- Area Code
- Number
- De
You can give the submit button different value, with the same property
Then you validate it in your ActionClass and mapping it in
struts-config.xml
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 06, 2003 2:43 AM
To: [EMAIL PROTECTED]
Subject: How to
>It's works, but for my boolean properties modified by checkboxes, struts
>needs to reset these properties before changing them. With my modification,
>they stay activated even if I uncheck them. So my solution is now a
problem.
>How can I solve these 2 problems with only one solution?
http://jak
Hi, I work on a struts site who administer my company suppliers. So the goal
of the site is to modify suppliers settings. I want to make the supplierForm
object in my session scope and dont let struts reset him after each action.
To make this, I added a property named permanent to my form. And in
Hi,
I want to use a script variable as a key for mapped property access.
I am trying to render an options list of provinces based on the current country id
defined in my form bean.
First I define it with
This seems to work ok as
<%="CountryId:"+currentCountryId%> is displaying the correct v
Ok, let's say that I would like to translate system's specific URLs (i.e.
D:\Tomcat\webapps\foo\foo\bar.jsp and so on...) into web-context specific
URLs (i.e. http://myServer/foo/foo/bar.jsp). Well, if I immagine to replace
D:\Tomcat\webapps with http://myServer things seem quite easy. My first
qu
I am trying to customize the icon my webapp is using by adding
path-to-icon
in my web.xml file, but nothing happens. What am I overlooking?
Regards,
BTJ
Wes>> I accomplished Form based auth by defining a security constraint in web.xml for
the Action path.
SecurePages
Security constraint for Admin
/do/secure/*
POST
GET
Cal
http://www.calandva.com/
Johan>> I use the default Tomcat 5.0.9 jk2.properties - which defines nothing allowing
all the defaults to be used. Then in the Tomcat server.xml you need to enable jk2.
The workers2.properties in Apache 2.0.45 is where any real changes are made. Here is
the top part. I use a /d
Thanks Ted,
As always your advice was most helpful!!!
The iBATIS DB layer package is great, though I'd rather stay with Scaffold
version for DAO.
BTW, some of the scaffold links on your site (husted.com) are currently not
working.
Noam
-Original Message-
From: Ted Husted [mailto:[EMAI
Hi,
I fixed it.
It was becuase the method getList() was a staic method.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi gurus,
I got a simple bean below.
public class Company {
private static ArrayList list;
private int id;
private String name;
static{
list = new ArrayList();
list.add(new Company(0,""));
list.add(new Company(1,"MS"));
list.add(new Company(2,"SUN"
15 matches
Mail list logo