Problem with No getter method

2003-08-26 Thread David Bolsover

Hi all

I have a FormBean that defines a number of attributes:

...
private boolean complete = false;
private boolean warranty = false;

public boolean isComplete(){
return complete;
}

public boolean isWarranty(){
return warranty;
}

//setter methods
// other methods
...


In my jsp:

1 this works fine:


2 this throws a no getter method exception


3 this also works fine


Why does 2 throw an exception???


db



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Date fields?

2003-08-14 Thread David Bolsover
Alex

Generally accepted best practice is to use only String and boolean types in your
formBeans.

However the problem you have identified is a very common one and there are
probably as many ways of solving as there are of skining a cat.

At the simplest, you might want to use somthing like
java.text.DateFormat df = java.text.DateFormat.getDateInstance();
try{
java.util.Date myDate = df.parse(myFromBean.getMyDateString());

}

BUT there are problems - users have a nasty habit of entering invalid date
formats - so I usually enforce a fixed format in the text input by using some
suitable javascript date picker


db

-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 14:14
To: 'Struts Users Mailing List'
Subject: Date fields?


Hmm, I am a bit confused about Date fields

I have a field in my form bean of java.util.Date type.
I put struts  tag to capture the input from the browser.
When I submit the request I get the following exception:
java.lang.IllegalArgumentException: argument type mismatch

It seems that BeanUtils is unable to recognize the date field. Is there
a way to let it know that the String in this particular field needs to
be converted to java.util.Date following certain format? I was wondering
if I can do it without creation of an extra string field, which I would
convert to java.util.Date manually and assign the result to the real
filed?

Alex.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Disaster Recovery

2003-07-14 Thread David Bolsover
Hi all

Totally off-topic - my apologies - but I'm desparate - I need to draft some
guidelenes urgently - and I just know that the pros that read this list will
have done all this many times before.

I have to prepare a disaster recovery plan for the IT system of an electronics
manufacturing company and need to put together a draft very quickly.

Does anyone have a plan / draft / guidelenes for prep of a plan they can let me
read and plagiarise?

Advance thank to all helpfu contributors.

David Bolsover


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: GenericDataSource

2003-07-04 Thread David Bolsover
Nico /Steve

Thanks for the prompt replies - glad I stuck with GenericDataSource rather than
trying out the commons-dbpc offerings!

db

-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: 04 July 2003 12:15
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: GenericDataSource


Struts 1.1 has dependencies to some commons projects. First 1.1 pre-release of
Struts used commons-dbcp for the
DataSource functionnality in replacement of GenericDataSource .

Waiting for this commons to get stable before releasing 1.1 final, Struts
commiters agreed to go back to
GenericDataSource because commons-dbcp looked very unstable.

Struts-legacy has been created to include this class outside of Struts core as
DefaultDataSource have been deprecated :
Future Struts version will set the  "type" attribute to mandatory,
so you will have to set your selected
DataSource (that can be commons-dbcp, and lot's of us use container pool service
and JNDI to get a DataSource).

Nico.



>
> Can someone explain why GenericDataSource was moved to lagacy?
>
> I have been using it successfully as a JINI DataSourse - have others
experienced
> problems? - if so, what problems?
>
> db
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



GenericDataSource

2003-07-04 Thread David Bolsover

Can someone explain why GenericDataSource was moved to lagacy?

I have been using it successfully as a JINI DataSourse - have others experienced
problems? - if so, what problems?

db


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Webapp Security?

2003-07-03 Thread David Bolsover
The "who sees what" problem is one I faced some time ago - and whilst I would
have liked to use CMA / Filters, it simply was not a good fit for the
application - each user had to have a range of different permissions based on
one/more customer codes, one/more product codes and user role
admin/company/customer/supplier - all of which had to be configurable for the
individual user.

I ended up writing my own application security manager - when the user logs in,
his permissions are loaded from DB and then checked before any action is
performed - with appropriate errors if a violation is detected.

db

-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 19:13
To: 'Struts Users Mailing List'
Subject: RE: Webapp Security?


If you want to give user's dynamic permissions at runtime, you could add a
filter on top of container managed authentication (CMA).  CMA is nice b/c
you can use any authenticate with LDAP, a database (my example uses MySQL),
or a flat file - or even an NT Domain.

You'll probably have to setup some sort of system that defines "who can see
what" - so you'll eventually (probably) end up implementing some sort of
roles/groups - unless you're planning on checking for individual usernames
or some such attribute before allowing access.

Tomcat's security constraint stuff is the same thing as CMA.

HTH,

Matt

-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:54 AM
To: Struts Users Mailing List
Subject: Re: Webapp Security?


Is it based on using security restraints and having all your users set into
groups in the tomcat-users.xml file?  If so our problem is we don't want to
have users based into groups but want to give permissions to users
individually to many different things.. and we want to store our users in a
database rather than tomcat's xml file.. if I am mistaken on how this works
please correct me =)  (I havn't actually looked at it, I've just looked at
tomcat's security restraint stuff before)
-David

- Original Message -
From: "Raible, Matt" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 11:47 AM
Subject: RE: Webapp Security?


> How about using container managed security with tomcat's realms?  It works
> great for me.
>
> Here's an example app if you're interested: http://tinyurl.com/fuvq
>
> HTH,
>
> Matt
>
> -Original Message-
> From: David Erickson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 02, 2003 11:27 AM
> To: Struts Mailing List
> Subject: Webapp Security?
>
>
> Just curious how others have gone about protecting the resouces within
their
> webapp.. in our personal setup we would like to control access to every
> resource if possible, we have our own custom login page that sets session
> variables, and pulls the data from the database.
>
> We can authenticate people with code in each of the actions, but nothing
is
> preventing someone from directly going to a jpg or a jsp file or anything
of
> the like.  What I thought about doing was subclassing the tomcat
connectors,
> the default, the jsp one, and the struts one and then authenticating each
> request.. but that adds a lot of overhead.  Anybody have any other good
> ideas?  We'd like to stick with just tomcat 4.1.24... no apache (no
> .htaccess).. what is everyone else implementing?
> -David
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: org/apache/struts/legacy/GenericDataSource error

2003-07-02 Thread David Bolsover
Assuming that you are using the Struts 1.1 relaese, you need to make sure the
contents of struts-legacy.jar are in your classpath.

db

-Original Message-
From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 15:50
To: [EMAIL PROTECTED]
Subject: org/apache/struts/legacy/GenericDataSource error


I am getting this error when I try access my action:

java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource

But I perceived that this class don't exist inside the struts.jar. Where is
this class ? What Can I do to resolve this problem ?

Thanks

_
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: accessing VO by next view...

2003-06-20 Thread David Bolsover
Typically, the VO is used to populate a collection( eg ArrayList - Vectors not
usually used) of FormBeans and this is saved in some HttpServletRequet scope -
most frequently request scope - although for 'User' type data it is often
convenient to store this in session scope.

Once you have your collection of FormBeans in scope, you use the Struts (and/or
JSTL) tag libraries in the DetailPage.jsp to access the fields of the FormBeans

db


-Original Message-
From: Rajat Nayer [mailto:[EMAIL PROTECTED]
Sent: 20 June 2003 09:49
To: Struts Users Mailing List
Subject: accessing VO by next view...


Hi!!

I am a newbie to struts.

I want to validate my undertsanding of the basic
Struts framework viz a viz the VO issue that i will
explain thereafter.

My understanding of the flow using struts and EJB is
as follows:

Browser -> ActionServlet -> populates FormBean and
instantiates the Action Class (based on
struts-config.xml entries)->calls EJB-> calls DAO->
accesses DB.

The DAO creates a VO that is passed back to the EJB
which in turn passes it back to the Action class.

Now, How is this VO data used by the next view (JSP)
defined. What is the mechanism?

For eample, in page1.html I have an id which is passed
all the way to the DAO. The DAO fetches the data from
the DB based on this ID and returns a collection (
maybe a vector of objects/resultset). Now how does the
next page i.e. the DetailPage.jsp get this data and
how to use this to show it in a tabular form.

I know it is a very basic question.. would appreciate
an easy to understand(newbie context) answer.

Thanks in advance,
Rajat



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
Adam

Thanks - I'll check this out - but a question - you may be able to answer.

In my application, the forwarded-to jsp is the result of a call to
retrieveDataAction.

The image embedded in the page is as a result of a call to createimageAction -
which returns null - will setting the nocache property in the controller handle
this situation correctly?

David

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 19 June 2003 15:16
To: Struts Users Mailing List
Subject: Re: Image cache problem - solved


Struts 1.1 will do this for you automatically if you set the following
in your struts-config.xml


 
 
   

David Bolsover wrote:
> Remke
>
> Thanks
>
> I was already setting:
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Pragma","no-cache");
> In the jsp containing the image to solve the problem of page caches.
>
> What caught me out was that this had to do this for the image also - as I had
> just done before your mail came in!
>
> In my createimageAction I now have:
>
> OutputStream sos = response.getOutputStream();
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Pragma","no-cache");
> response.setContentType("image/jpeg");
>  write image to sos
> sos.close();
> 
> return null;
>
> Problem solved :-)
>
> David
>
>
>
> -Original Message-
> From: Remke Rutgers [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2003 13:24
> To: 'Struts Users Mailing List'
> Subject: RE: Image cache problem
>
>
> Hi David,
>
> I think it has nothing to do with browser versions, I think this is only
> caused by caching settings. You must realize that caching can occur both in
> browser cache (configure this using Tools->Internet
> Options->General->Temporary Internet Files->Settings) and in proxy server
> cache. You should force your createimage.do to be non cachable. (Instruct
> proxy servers and browsers to always retrieve a fresh version)
> You can achieve this by setting a HTTP header:
> response.setHeader("Cache-Control","no-cache");
> see the javadocs for more on the setHeader method of the response object.
>
> See http://www.mnot.net/cache_docs/ for a very good tutorial on caching.
>
> Remke
>
>
> -Oorspronkelijk bericht-
> Van: David Bolsover [mailto:[EMAIL PROTECTED]
> Verzonden: donderdag 19 juni 2003 13:51
> Aan: Struts User
> Onderwerp: Image cache problem
>
>
> Hi all
>
> I have been using struts for some time now but a new problem has come up:
>
> I use a form to select some options needed retrieve some data required to
> generate a graph.
>
> For the sake of clarity, I'll call this retrieveDataAction.
>
> retrieveDataAction gets the data and places it into session scope under key
> 'GRAPHDATA' the user is then forwarded to displaydata.jsp.
>
> displaydata.jsp contains the following (simplfied):
>
> 
>
> 
>
> 
>
> The createimageAction retrieves the GRAPHDATA from session scope, generates
> a
> gif image and writes it to response.OutputStream(), closes the stream and
> returns null.
>
> The problem I have is that at least one client (using IE 5) finds that the
> same
> image is always presented even though he has requested some different data.
> I
> have not been able to reproduce the problem using an IE 6 client - does
> anyone
> know if this is an IE 5 'feature' and - is there a solution?
>
> David Bolsover
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Image cache problem - solved

2003-06-19 Thread David Bolsover
Remke

Thanks

I was already setting:
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
In the jsp containing the image to solve the problem of page caches.

What caught me out was that this had to do this for the image also - as I had
just done before your mail came in!

In my createimageAction I now have:

OutputStream sos = response.getOutputStream();
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setContentType("image/jpeg");
 write image to sos
sos.close();

return null;

Problem solved :-)

David



-Original Message-
From: Remke Rutgers [mailto:[EMAIL PROTECTED]
Sent: 19 June 2003 13:24
To: 'Struts Users Mailing List'
Subject: RE: Image cache problem


Hi David,

I think it has nothing to do with browser versions, I think this is only
caused by caching settings. You must realize that caching can occur both in
browser cache (configure this using Tools->Internet
Options->General->Temporary Internet Files->Settings) and in proxy server
cache. You should force your createimage.do to be non cachable. (Instruct
proxy servers and browsers to always retrieve a fresh version)
You can achieve this by setting a HTTP header:
response.setHeader("Cache-Control","no-cache");
see the javadocs for more on the setHeader method of the response object.

See http://www.mnot.net/cache_docs/ for a very good tutorial on caching.

Remke


-Oorspronkelijk bericht-
Van: David Bolsover [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 19 juni 2003 13:51
Aan: Struts User
Onderwerp: Image cache problem


Hi all

I have been using struts for some time now but a new problem has come up:

I use a form to select some options needed retrieve some data required to
generate a graph.

For the sake of clarity, I'll call this retrieveDataAction.

retrieveDataAction gets the data and places it into session scope under key
'GRAPHDATA' the user is then forwarded to displaydata.jsp.

displaydata.jsp contains the following (simplfied):







The createimageAction retrieves the GRAPHDATA from session scope, generates
a
gif image and writes it to response.OutputStream(), closes the stream and
returns null.

The problem I have is that at least one client (using IE 5) finds that the
same
image is always presented even though he has requested some different data.
I
have not been able to reproduce the problem using an IE 6 client - does
anyone
know if this is an IE 5 'feature' and - is there a solution?

David Bolsover


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Image cache problem

2003-06-19 Thread David Bolsover
Hi all

I have been using struts for some time now but a new problem has come up:

I use a form to select some options needed retrieve some data required to
generate a graph.

For the sake of clarity, I'll call this retrieveDataAction.

retrieveDataAction gets the data and places it into session scope under key
'GRAPHDATA' the user is then forwarded to displaydata.jsp.

displaydata.jsp contains the following (simplfied):







The createimageAction retrieves the GRAPHDATA from session scope, generates a
gif image and writes it to response.OutputStream(), closes the stream and
returns null.

The problem I have is that at least one client (using IE 5) finds that the same
image is always presented even though he has requested some different data.  I
have not been able to reproduce the problem using an IE 6 client - does anyone
know if this is an IE 5 'feature' and - is there a solution?

David Bolsover


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: embedding multiple parameters and associated values in a

2003-06-17 Thread David Bolsover
take a look at the jstl  tag - it can accept multiple  tags.

db

-Original Message-
From: Giampiero De Ciantis [mailto:[EMAIL PROTECTED]
Sent: 17 June 2003 18:44
To: Struts User Mailing List
Subject: embedding multiple parameters and associated values in a



I am trying to use an  item to submit some data, but I need to
send the value of 2 parameters. How do I assign multiple parameters within
an  tag?

 

Thanks

 

-Gp



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Virus warning

2003-06-10 Thread David Bolsover
Moral: Keep you AV software up to date!

db

-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: 10 June 2003 15:45
To: Struts Users Mailing List
Subject: RE: Virus warning


me too.

Brandon Goodin

-Original Message-
From: Robert Kovacs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 8:18 AM
To: Struts Users Mailing List
Subject: Re: Virus warning


Yup me too ... a few secs ago.

good ole NAV


- Original Message -
From: "Adolfo Miguelez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 4:02 PM
Subject: Re: Virus warning


> I run in the same issues last weekend with BugBear virus and after passing
> Norton it removed me a trojan from the HD. Be careful.
>
> Adolfo.
>
> >From: Kevin Robair <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Virus warning
> >Date: Tue, 10 Jun 2003 06:59:14 -0700 (PDT)
> >
> >Hi all,
> >
> >FYI
> >
> >Looks like someone who was or is on this list has a
> >virus/worm, as I just got the following email in my
> >inbox (Sent to me, not struts-user) with an attached
> >.xls file with the Bugbear virus (as scanned by
> >Yahoo's Norton Anti-virus)
> >
> >BTW, I was not on this list April 01, and did not
> >participate in the thread referenced below, so anyone
> >could get this.
> >
> >I tried to email the originator privately, but it
> >bounced.
> >
> >-Kevin
> >
> >Message content follows:
> >--
> >
> >From: <[EMAIL PROTECTED]>
> >Subject: RE: [log4j]
> >
> >yup. no problems...
> >
> >-Original Message-
> >From: 
> >Sent: April 01, 2003 11:37 AM
> >To: [EMAIL PROTECTED]
> >Subject: [log4j]
> >4
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT]Credit card processing

2003-04-01 Thread David Bolsover
I use worldpay

I suggest you look at their Junior guide first

http://support.worldpay.com/downloads/results.php?id=47


If that looks good then check out the Pro Guide - complete with Java API


http://support.worldpay.com/downloads/results.php?id=48


db

-Original Message-
From: P Dunham [mailto:[EMAIL PROTECTED]
Sent: 01 April 2003 03:14
To: [EMAIL PROTECTED]
Subject: [OT]Credit card processing


Hi all,

Anyone here have recommendations on credit card processing
services? As well as any resources for implementing credit card processing
with struts/java.

Thank you,

Philip Dunham



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts-el book

2003-03-30 Thread David Bolsover
You might try the O'Reilly JavaServer Pages - reasonably good treatment of
JSTL (not struts-el) - if you are already familiar with struts taglibs this
book should give you the extra knowledge you need.

db

-Original Message-
From: Ruben Pardo [mailto:[EMAIL PROTECTED]
Sent: 30 March 2003 18:52
To: Struts Users Mailing List
Subject: Struts-el book



Hi everybody!
 Is there any book that explain in detail struts-el and JSTL? I'm searching
in Struts in action by ted husted, Programming Jakarta Struts by chuck
cavaness, and Mastering Jakarta struts by james goodwill, but I  don't find
anything.
Any suggestion?



-
Yahoo! Messenger
Nueva versión: Super Webcam, voz, caritas animadas, y más
#161;Gratis!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Writing excel compatible output

2003-03-30 Thread David Bolsover
We are all used to writing output to make html tables and with little effort
we can fool our browser into treating these as excel (mime type
application/vnd.ms-excel) but I now want to embed formulae into my response.

Does anyone know of generic taglibs that will enable me to write execl
compatible xml output?

db


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Tablib

2003-03-29 Thread David Bolsover
Excellent piece of work - congratulations to all concerned.

db

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: 29 March 2003 06:02
To: Struts Users List
Subject: [ANN] Tablib


I just commited a new project by Mohan Kishore
<[EMAIL PROTECTED]>.  He developed and contributed this (very cool
IMHO) new build target.  It allows us to generate 2 new types of taglib
documentation.

* TaglibDoc
This is a JavaDoc-like set of html and css files for browsing the
taglib documentation.  Here's what this target does (I ran this
about 15 minutes ago):

  http://struts.sourceforge.net/struts-atlanta/taglibdoc/

 
* TaglibReport 
This target will generate a grid-like view of the taglibs and their
attributes so that you can see every tag in a typical package side
by side.  This helps when comparing which tags implement a certain
attribute, by allowing you to view them side by side and not have to
look up each tag by hand. (also about 15 minutes ago)

  http://struts.sourceforge.net/struts-atlanta/taglibreport/


Thank you Mohan, I, for one, will definitely take advantage of this.


-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] New York Struts Group - Manchester UK

2003-03-25 Thread David Bolsover
New York a bit far for me on a regular basis

Any interest in somthing similar in Manchester UK - has distinct benefit of beter beer 
=:o)

db

-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
Sent: 25 March 2003 21:45
To: Struts Users Mailing List
Subject: [ANN] New York Struts Group


Vic pushed into creating a group (thx vic for taking the plunge)
http://groups.yahoo.com/group/struts_NYC

I have created two polls one for how often monthly, bi-monthly, once a
quarter, and another for the day of the week.  Once we have those down we
can choose the actual date, and location. Depending on how big the group is
i think i can find a spot for a group under 20-25 people.

Daniel Jaffa
- Original Message -
From: "Jimmy Emmanual" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 3:30 PM
Subject: RE: New York City Struts Group


> I would love to also...
> Jimmy
>
> Jimmy
> x2723
>
>
> -Original Message-
> From: Elio Bonazzi [mailto:[EMAIL PROTECTED]
> Sent: March 25, 2003 3:32 PM
> To: Struts Users Mailing List
> Subject: RE: New York City Struts Group
>
>
> I would love to participate in it.
> Elio
>
> -Original Message-
> From: Michelle Harris [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 3:25 PM
> To: Struts Users Mailing List
> Subject: RE: New York City Struts Group
>
>
> I'd be in for it.
>
> Thanks,
> Michelle Harris
>
> -Original Message-
> From: Daniel Jaffa [mailto:[EMAIL PROTECTED]
> Sent: Tue 3/25/2003 15:21
> To: Struts Users Mailing List
> Cc:
> Subject: New York City Struts Group
>
>
>
> How many people would be intrested in the formation of a New York
> City
> Struts User group.
> If Atlanta GA, New Jersey can have one so should we.
>
> Daniel Jaffa
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Wanted: struts-calendar

2003-02-27 Thread David Bolsover
cool

thnx

> -Original Message-
> From: Raible, Matt [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2003 20:14
> To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
> Subject: RE: Wanted: struts-calendar
> 
> 
> #2 on this page is my favorite:
> 
> http://www.mattkruse.com/javascript/calendarpopup/
> 
> > -Original Message-
> > From: David Bolsover [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 27, 2003 1:10 PM
> > To: Struts User
> > Subject: Wanted: struts-calendar
> > 
> > 
> > Does anyone know of a good pop-up style calendar that will 
> > work with struts  > 
> > Ideally I need somthing that will support the notion of locales.
> > 
> > 
> > 
> > db 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wanted: struts-calendar

2003-02-27 Thread David Bolsover
Does anyone know of a good pop-up style calendar that will work with struts 

RE: [Q] BEAN SCOPE

2003-02-26 Thread David Bolsover
Are you explicitly putting wigadminwizardform into session scope in 
OMInterfaceInfoAction?

db

> -Original Message-
> From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2003 07:51
> To: Struts Users Mailing List
> Subject: Re: [Q] BEAN SCOPE
> 
> 
> man i have attached my struts-config.xml in my privious mails
> check the attachment
> 
> Chetan
> - Original Message -
> From: "du Plessis, Corneil C" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 26, 2003 1:13 PM
> Subject: RE: [Q] BEAN SCOPE
> 
> 
> > What does you struts-config look like? The form bean and action mapping
> > entries.
> >
> > -Original Message-
> > From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
> > Sent: 26 February, 2003 09:34
> > To: Struts Users Mailing List
> > Subject: Re: [Q] BEAN SCOPE
> >
> >
> > OH yeh ... they r all in same webapps folder and are having refferences in
> > same WEB-INF web.xml and struts-config.xml files.
> >
> > Any changes required in my struts-config ?
> >
> >
> > btw, how is world cup going at ur end :)  r u planning to watch
> > India-England match :)
> >
> > - Original Message -
> > From: "du Plessis, Corneil C" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 26, 2003 12:50 PM
> > Subject: RE: [Q] BEAN SCOPE
> >
> >
> > > It may be a silly question but are these actions in the same web
> > > application?
> > >
> > > -Original Message-
> > > From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
> > > Sent: 26 February, 2003 08:47
> > > To: Struts Users Mailing List
> > > Subject: Re: [Q] BEAN SCOPE
> > >
> > >
> > > Yep, I have session scope in both action mappings
> > > I have attached my struts-config along with this mail.
> > >
> > > btw in my jsp i have form bean saying
> > >
> > > JSP 1
> > > 
> > >
> > > JSP 2
> > > 
> > >
> > >
> > > now, when I call jsp1 the bean is getting created
> > > but when I move to jsp 2 , again new bean is created.
> > >
> > > And thatz the problem area.
> > >
> > > Thanks
> > > Chetan
> > > - Original Message -
> > > From: "du Plessis, Corneil C" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, February 26, 2003 12:05 PM
> > > Subject: RE: [Q] BEAN SCOPE
> > >
> > >
> > > > Did you put scope=session on both action mappings?
> > > >
> > > > -Original Message-
> > > > From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
> > > > Sent: 26 February, 2003 08:31
> > > > To: Struts Users Mailing List
> > > > Subject: [Q] BEAN SCOPE
> > > >
> > > >
> > > > Hi,
> > > > I am trying to figure out what can be the problem in my
> > struts-config
> > > > from yday,
> > > > will anyone tell me what can be the problem if, I am putting
> > > scope="session"
> > > > in my action-mapping
> > > > and trying to access same formbean from two different actions.
> > > >
> > > > Once the bean is created, it should be there for the session, and when
> I
> > > > move to next jsp and call another action it should use same bean
> rather
> > > than
> > > > creating a new one.
> > > >
> > > > I know itz creating new bean, coz I have put default constructor in my
> > > > formbean and am printing System.out.printing() through constructor.
> > > >
> > > >
> > > > Regards
> > > > Chetan
> > > > ___
> > > > |
> > > > | The trouble with being punctual
> > > > |  is that nobody's there to appreciate it.
> > > > |
> > > > |
> > > > |___
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > __
> > > >
> > > > Disclaimer and confidentiality note
> > > >
> > > >
> > > > Everything in this e-mail and any attachments relating to the official
> > > business of
> > > > Standard Bank Group Limited is proprietary to the company. It is
> > > confidential, legally
> > > > privileged and protected by law. Standard Bank does not own and
> endorse
> > > any other content.
> > > > Views and opinions are those of the sender unless clearly stated as
> > being
> > > that of Standard Bank.
> > > >
> > > > The person addressed in the e-mail is the sole authorised recipient.
> > > Please notify the sender
> > > > immediately if it has unintentionally reached you and do not read,
> > > disclose or use the content
> > > > in any way.
> > > >
> > > > Standard Bank can not assure that the integrity of this communication
> > has
> > > been maintained nor
> > > > that it is free of errors, virus, interception or interference.
> > > >
> > > > __
> > > >
> > >
> > > __
> > >
> > > Disclaimer and confidentiality note
> > >
> > >
> > > Everything in this e-mail and any attachments relating to the official
> > business of
> > > Standard Bank Group Limited is proprietary to the company. It is
> > confidential, l

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread David Bolsover
Agreed - but in the UK we wouldn't stop at 117v  - 240v minimum :).

db

> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: 25 February 2003 15:22
> To: 'Struts Users Mailing List'
> Subject: RE: Reporting an Exception message in a JSP.
> 
> 
> I've always found electric shock to be effective.  There's nothing like that
> ol' 117v/60Hz AC wake-up call to let a user know not to do that again!
> 
> Seriously, you can add a returned exception to the errors array in the
> Action class, then display it with .
> 
> Mark
> 
> -Original Message-
> From: ROSSEL Olivier [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 25, 2003 10:03 AM
> 
> what's the nicest way to show to the user the error message that I get from
> my SQLException?
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Microsoft][ODBC SQL Server Driver]Communication link failure

2003-02-24 Thread David Bolsover
I would certainly suggest you check out alternative drivers; the JdbcOdbcDriver is not 
recommended
for production use.

Ideally, you should look for a type 4 driver that supports at least JDBC API V 2.0 - 
try the M$
driver it's free!



db

> -Original Message-
> From: Murray, Mark [mailto:[EMAIL PROTECTED]
> Sent: 24 February 2003 09:04
> To: '[EMAIL PROTECTED]'
> Subject: [Microsoft][ODBC SQL Server Driver]Communication link failure
>
>
> Hi all,
>
> I'm having a problem reconnecting to a database after a number of hours of
> inactivity or of the database times out for any length of time.
>
> java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Communication link
> failure
>
> My datasource definition reads as follows:
>
> 
>autoCommit="false"
>   description="database1"
>   key="db1"
>   minCount="2"
>   maxCount="4"
>   driverClass="sun.jdbc.odbc.JdbcOdbcDriver"
>   url="jdbc:odbc:database1"
>   user="auser"
>   password="apassword" />
>autoCommit="false"
>   description="database2"
>   key="db2"
>   minCount="2"
>   maxCount="4"
>   driverClass="sun.jdbc.odbc.JdbcOdbcDriver"
>   url="jdbc:odbc:database2"
>   user="anotheruser"
>   password="anotherpassword"/>
> 
>
> I've tried adding autoReconnect to the datasource definition, either as a
> property or as part of the url, but this has no effect, other than to cause
> errors when the config is being parsed.  The Java application server we're
> using is SAP's J2EE engine (formerly known as In-Q-My)
>
> Is there another way to force a reconnect? A different driver set perhaps?
>
> any help would be appreciated
>
> Mark
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Naming of tags odd!!!!

2003-02-21 Thread David Bolsover

I have found some odd behaviour using the struts-el tags

I have this declaration:

<%@ taglib uri="/tags/struts-html-el" prefix="html-el" %>

in the page I use the tags as: 

in the page I use the tags as: 


struts-el and tomcat 4.0

2003-02-21 Thread David Bolsover
Hi all

I am having some problems with some jsp's that use the struts-el tags - they run fine 
under Tomcat
4.1.12 but refuse to compile under 4.0.

I seem to recall reading somewhere that there are come config changes needed to use 
struts 1.1 under
Tomcat 4.0 -- but I can't find the references now - so does anyone know the 
cause/solution to this
problem.

Thanks in anticipation

db

The following is a very small extract from the servletexception:

The failure occurs near the first use of an html-el:hidden tag


[ServletException in:/tiles/userupdatebody.jsp] Unable to compile class for JSP An 
error occurred at
line: 19 in the jsp file: /tiles/userupdatebody.jsp Generated servlet error: 
C:\Program Files\Apache
Tomcat 4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:261: Invalid 
expression statement.
_jspx_th_html-el_hidden_0.setPageContext(pageContext); ^ An error occurred at line: 19 
in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:262: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setParent(_jspx_th_html_form_0); ^ An error occurred at 
line: 19 in the
jsp file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache 
Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:263: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setName("rows"); ^ An error occurred at line: 19 in the jsp 
file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:264: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setProperty("username"); ^ An error occurred at line: 19 in 
the jsp file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:265: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setValue("${rows.UserName}"); ^ An error occurred at line: 
19 in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache 
Tomcat 4.0


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Dynamic Forwards Offsite

2003-02-20 Thread David Bolsover
Micael

You might try this:
StringBuffer sb = new StringBuffer();
sb.append("http://www.somewhere.com/message";);
response.sendRedirect(sb.toString());
return null;

db


> -Original Message-
> From: Micael [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2003 21:30
> To: Struts Users Mailing List
> Subject: RE: Dynamic Forwards Offsite
> 
> 
> Thanks for responding, however, I try the following:
> 
> 
>  StringBuffer sb = new StringBuffer();
>  sb.append("http://www.somewhere.com/message";);
>  ActionForward forward = new ActionForward(sb.toString(), false);
>  return forward;
> 
> or:
>  StringBuffer sb = new StringBuffer();
>  sb.append("http://www.somewhere.com/message";);
>  ActionForward forward = new ActionForward(sb.toString(), true);
>  return forward;
> 
> and I get:
> 
> 
> type Status report
> 
> message /application/http://www.somewhere.com/message
> 
> description The requested resource 
> (/application/http://www.somewhere.com/message) is not available.
> 
> com
> 
> At 04:08 PM 2/20/03 -0500, you wrote:
> >The javadoc for ActionForward state you can use an absolute URI for the path
> >parameter.  I've never tried it though.
> >
> > > -Original Message-
> > > From: Micael [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 20, 2003 3:47 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Dynamic Forwards Offsite
> > >
> > >
> > > How does one do a dynamic forward offsite, e.g.
> > > "http://www.somewhere.com/index.htm";, within the context of the struts
> > > framework?  This does not work with ActionForward, apparently,
> > > because the
> > > forwards there have a context of the application root in the
> > > container.  I
> > > know how to do these with html, of course.  I know, for example,
> > > how to use
> > > an action forward to a jsp page which will then forward to another
> > > website.  I need to know, if possible, how to do this within the struts
> > > framework.
> > >
> > > Also, if we get by that aspect, the address to forward to must be
> > > dynamic.  Thanks for any assistance.
> > >
> > > I have tried four books and the struts user archives without
> > > being able to
> > > find the answer to this.
> > >
> > > Thanks.
> > >
> > >
> > > LEGAL NOTICE
> > >
> > > This electronic mail  transmission and any accompanying documents contain
> > > information belonging to the sender which may be confidential and legally
> > > privileged.  This information is intended only for the use of the
> > > individual or entity to whom this electronic mail transmission
> > > was sent as
> > > indicated above. If you are not the intended recipient, any disclosure,
> > > copying, distribution, or action taken in reliance on the contents of the
> > > information contained in this transmission is strictly
> > > prohibited.  If you
> > > have received this transmission in error, please delete the
> > > message.  Thank you
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> LEGAL NOTICE
> 
> This electronic mail  transmission and any accompanying documents contain 
> information belonging to the sender which may be confidential and legally 
> privileged.  This information is intended only for the use of the 
> individual or entity to whom this electronic mail transmission was sent as 
> indicated above. If you are not the intended recipient, any disclosure, 
> copying, distribution, or action taken in reliance on the contents of the 
> information contained in this transmission is strictly prohibited.  If you 
> have received this transmission in error, please delete the message.  Thank 
> you  
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-el and tomcat 4.0

2003-02-20 Thread David Bolsover
Hi all

I am having some problems with some jsp's that use the struts-el tags - they run fine 
under Tomcat
4.1.12 but refuse to compile under 4.0.

I seem to recall reading somewhere that there are come config changes needed to use 
struts 1.1 under
Tomcat 4.0 -- but I can't find the references now - so does anyone know the 
cause/solution to this
problem.

Thanks in anticipation

db

The following is a very small extract from the servletexception:


[ServletException in:/tiles/userupdatebody.jsp] Unable to compile class for JSP An 
error occurred at
line: 19 in the jsp file: /tiles/userupdatebody.jsp Generated servlet error: 
C:\Program Files\Apache
Tomcat 4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:261: Invalid 
expression statement.
_jspx_th_html-el_hidden_0.setPageContext(pageContext); ^ An error occurred at line: 19 
in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:262: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setParent(_jspx_th_html_form_0); ^ An error occurred at 
line: 19 in the
jsp file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache 
Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:263: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setName("rows"); ^ An error occurred at line: 19 in the jsp 
file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:264: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setProperty("username"); ^ An error occurred at line: 19 in 
the jsp file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:265: Invalid expression 
statement.
_jspx_th_html-el_hidden_0.setValue("${rows.UserName}"); ^ An error occurred at line: 
19 in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache 
Tomcat 4.0


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] Modeling tools

2003-02-11 Thread David Bolsover
No wonder you stopped drinking

> -Original Message-
> From: Karim Saloojee [mailto:[EMAIL PROTECTED]]
> Sent: 11 February 2003 12:40
> To: Struts Users Mailing List
> Subject: Re: [OT] Modeling tools
>
>
> Although my drinking days are over, I have found the best wines to be the
> cheapest ones - more *BANG* for your buck...
>
> - Original Message -
> From: "Diego" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, February 11, 2003 1:55 PM
> Subject: RE: [OT] Modeling tools
>
>
> > Aren't wines from La Rioja from Argentina?
> >
> > -Original Message-
> > From: Manuel Montoro [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 11, 2003 4:07 AM
> > To: Struts Users Mailing List
> > Subject: Re: [OT] Modeling tools
> >
> >
> > My two cents. You have to try the spanish red wines from La Rioja,
> > Ribera del Duero, Priorato, etc. They are in many cases superior to
> > french ones (IMHO).
> > Of course, the Jerez wine is superb and the sweets ones (Malaga,
> > for examples) don't have anything similar in the whole world.
> >
> > Regards
> >
> >
> > On 10 Feb 2003 at 23:08, alexj wrote:
> >
> > > I will try this one ;) , I heard some Australian wine are pretty good
> to.
> > > (but I can't understand how English guy can drink warm beer lol)
> > >
> > > - Original Message -
> > > From: "Mark Galbreath" <[EMAIL PROTECTED]>
> > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > > Sent: Monday, February 10, 2003 8:59 PM
> > > Subject: RE: [OT] Modeling tools
> > >
> > >
> > > The best California wines in my long flirtation with the nectar are
> > anything
> > > from Cakebread Cellars, and any cabernet sauvignon (Bordeaux grape) from
> > the
> > > Russian River Valley.  These vineyards truly rival the best the French
> > have,
> > > and you don't have to get upset drinking them because the growers
> support
> > > getting rid of Suddam Insane.
> > >
> > >
> > > Mark Galbreath
> > > Principal Consultant
> > > Workflow Process Engineering and Systems Integration
> > > http://www.QAT.com
> > > 410-703-367 / 800-799-8545
> > > "Never attribute to malice that which can be adequately explained by
> > > stupidity."  ~Hanlon's Razor
> > >
> > >
> > > -Original Message-
> > > From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, February 10, 2003 2:53 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: [OT] Modeling tools
> > >
> > >
> > > To name a few at my house, but I agree that French wines are better. But
> > > California is getting close.  And Australia is also getting close.
> > >
> > > Diamond Creek 1985 VH Cabernet Sauvignon, , Beringer 1997 Private
> Reserve
> > > Cabernet Sauvignon, Opus One 1999 Opus One
> > >
> > >
> > >
> > > > > But we are catch up quickly, just look at the quality of Californian
> > > > >wines, they sucked in the 80's and now that are almost as
> > > tasty
> > > > > as French wines.
> > > >
> > > > I don't think you can "compare" with nice french wines (or you have
> > > > try only bad french wine) ;) Let's drink a Mouton Rotschild, Pétrus,
> > > > Chateau Margaux 
> > > >
> > > > >
> > > > >
> > > > > Mark Galbreath
> > > > > Principal Consultant
> > > > > Workflow Process Engineering and Systems Integration
> > > > >
> > > > > http://www.QAT.com
> > > > > 410-703-367 / 800-799-8545
> > > > >
> > > > > "Never attribute to malice that which can be adequately explained by
> > > > > stupidity."  ~Hanlon's Razor
> > > > >
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, February 10, 2003 11:38 AM
> > > > > To: Struts Users Mailing List
> > > > > Subject: RE: [OT] Modeling tools
> > > > >
> > > > >
> > > > > And we all know that in the U.S. that there is no such thing as a
> > > > > good
> > > > beer!
> > > > > :-P
> > > > >
> > > > > >-Original Message-
> > > > > >From: Robert McIntosh [mailto:[EMAIL PROTECTED]]
> > > > > >Sent: Monday, February 10, 2003 10:27 AM
> > > > > >To: Struts Users Mailing List
> > > > > >Subject: Re: [OT] Modeling tools
> > > > > >
> > > > > >
> > > > > >I agree, especially for collaboration. A whiteboard is a good
> > > > > >developer's best friend (short of a good beer)...
> > > > > >
> > > > > >- Robert
> > > > > >
> > > > > >Chappell, Simon P wrote:
> > > > > >
> > > > > >>It's called a whiteboard (or greaseboard if you fixate about
> > > > > >not refering to colours when describing inanimate objects) and it
> > > > > >does a better job of what I use Rose for than Rose does.
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>>-Original Message-
> > > > > >>>From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> > > > > >>>Sent: Monday, February 10, 2003 9:30 AM
> > > > > >>>To: 'Struts Users Mailing List'
> > > > > >>>Subject: RE: [OT] Modeling tools
> > > > > >>>
> > > > > >>>
> > > > > >>>There is no alternative to Rose.
> > 

RE: jbuilder8 and struts: "missing message key" error

2003-02-08 Thread David Bolsover
When you create the .properties file, normally you would place it in with all
your other .java files

JB8 will only put the .properties file in with the compiled classes (where it
needs to be) when you rebuild the project.

I can't count the number of times I have edited the .properties and run my
project only to get the "missing message key" error - but just get into the
habit of doing a rebuild.


db


> -Original Message-
> From: Khalid K. [mailto:[EMAIL PROTECTED]]
> Sent: 08 February 2003 17:57
> To: 'Struts Users Mailing List'
> Subject: RE: jbuilder8 and struts: "missing message key" error
>
>
> Had as similar problem...
>
> If you change the Resource_en.properties,
> You have to "touch" the corresponding jsp that uses that particular key,
> otherwise you get a
> "missing key" errorso
>
> 1.  make changes to your property file
> 2.  open xyz.jsp and make a small modification and save it (this forces
> the jsp file to recompile and pickup the latest keys from property file)
> 3. restart your container
>
> It should pickup the changes
>
> Try it
>
> Khalid
>
>
> -Original Message-
> From: miguel angel rojas aquino
> [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 08, 2003 8:47 AM
> To: Struts Users Mailing List
> Subject: Re: jbuilder8 and struts: "missing message key" error
>
>
> Mark Galbreath wrote:
>
> >You could also consider throwing JBuilder away and using JDeveloper.
> >It's free, too.
> >
> >http://www.oracle.com/start/jdevelopereap/intro.html?src=855007&Act=105
> >
> >Mark
> >
> >already done that, even searching a little i've found that i'm not the
> >only one with that problem, somebody else sugested looking ath the
> >locale settings, so i've messed with those, but none seems to work,
> even
> >i've created several properties for the languages i suspect my machine
> >has setted, but no results :(
> >
> unfortunately i can't do that, my bosses have buyed jb8 yesterday, and
> anyway i prefer emacs/ant ;) but my bosses think it would be better to
> use jb8 for a shorter development time
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Approaches to security

2003-02-05 Thread David Bolsover
Hi all

I am presently in the process of refactoring an existing struts application for a new 
client.

Because users will access the application following a redirect from the clients main 
web site where the user will log in
to access 'myAccount' information, my client is understandably reluctant to have a 
secondary login to the struts
application.  This restriction prohibits me from using container managed security.  As 
a consequence, I have to use
application managed security.  At present, I am considering the following:

User is redirected from main web site to struts app with:

http:///StrutsApp/login.do?username=

I propose that the redirect have (at least) the following parameters:

[EMAIL PROTECTED]
time=
validation=

I will know the time off the request so I can reject any that are say more than 24 
hours old.
I will also be able to calculate the validation hash value - (mechanism known only to 
me and main web site server.)
I would welcome any comments on the above - is it at least moderately secure?

Given that I can use the above (or a modification) to provide access to the struts app 
I can then associate individual
users with access privileges and, the customer accounts they are entitled to view - 
but this raises another issue - are
there any generally accepted patterns for enforcing security - 'Customer' users should 
only be able to view accounts to
which they have been granted access - but 'Admin' users should have rights to all 
accounts.  Previously, using container
managed security, I have been able to make use of the user 'role' to manage some 
aspects of security - but can I do this
with application managed security?

Any advice, hints, tips would be most welcome.

David Bolsover
E: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: j_security_check with LogonAction

2003-01-31 Thread David Bolsover
Hi

I think the solution to this is to make LoginAction.do a protected resource.

Any attempt to access LoginAction.do will cause your login page to be displayed and 
following sucessful authentication,
you can complete the action in LoginAction.do - including forwards to your chosen page.

db

> -Original Message-
> From: MarwanSalam <[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]]
> Sent: 31 January 2003 00:06
> To: [EMAIL PROTECTED]
> Subject: j_security_check with LogonAction
>
>
> Hi,
>
> I am trying to use j_security_check Servlet to authenticate users
> from a login.jsp. However, if I do this, I will not be able to take
> advantage of LogonAction class where I need to set certain session
> and request attributes. If I submit the logon form to LogonAction, I
> can forward the request from LogonAction to j_security_check but the
> request object will stay there and I can not forward again using
> mapping.findForward("success") to a different page since the response
> is already commited at that point.
>
> Is there a way to work around this?
>
> Marwan
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Auto execution of an action on page display

2003-01-29 Thread David Bolsover
I'm not sure I understand the question but..

I needed to have a dynamically created image inserted into a graph.jsp

I solved the problem using 

Then the action mapped to "createImage.do" can do anything you want without 
influencing the loading of the main
graph.jsp.

I write my image to the graph.jsp using - in my CreateImageAction:

OutputStream os = response.getOutputstream;
response.setContentType("image/jpeg");
.. write to os stream...
os.close
return null;

Works a treat - the page loads and as it does so, an action is performed - but goes 
nowhere other than to write an image
to the OutputStream.

Would a modification of the above help solve the problem?

db

> -Original Message-
> From: Howard Roark [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2003 18:50
> To: [EMAIL PROTECTED]
> Subject: Re: Auto execution of an action on page display
>
>
> Two follow-on questions to the suggestion:
>
> 1) Will this initial servlet be able to hand over
>control to Struts for all other actions?
>
> 2) Should the ActionServlet itself be extended to
>accomplish these actions, or does a separate
>servlet make more sense?  TIA.
>
> HR
>
> Date: Wed, 29 Jan 2003 13:27:19 -0500
> To: 'Struts Users Mailing List'
> <[EMAIL PROTECTED]>
> From: "Pani, Gourav" <[EMAIL PROTECTED]>
> Subject: RE: Auto execution of an action on page
> display
> Message-ID:
> <[EMAIL PROTECTED]>
>
> have you considered setting it up as a servlet instead
> and do a load on
> startup in web.xml?
>
> -Original Message-
> From: Howard Roark
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 1:28 PM
> To: [EMAIL PROTECTED]
> Subject: Auto execution of an action on page display
>
> I'm a newbie to Struts, and would like to know if its
> possible for Struts to automatically execute an Action
> upon the display of the initial page?  I would like to
> avoid having the user click on something to initiate
> certain user-specific house-keeping tasks, if
> possible.  TIA.
>
> HR
>
> P.S. Initiating this action as part of the Login
> action
> is not possible, since this application does not
> require
> the use of a login process.
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] Obscure Computer Languages

2003-01-29 Thread David Bolsover
Smalltalk was (is) gr8! oop at its best.
Sadly never really took off.

db

> -Original Message-
> From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
> Sent: 28 January 2003 16:52
> To: Struts Users Mailing List
> Subject: RE: [OT] Obscure Computer Languages
> 
> 
> Hmmm, ok, let's dig into the memory here for the "icky" stuff:
> 
> Forth
> POP-11/POPLOG
> Smalltalk
> RPG/400
> 
> There are a ton of others, but those are the weirdest.
> 
> 
> >-Original Message-
> >From: James Turner [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, January 28, 2003 10:42 AM
> >To: 'Struts Users Mailing List'
> >Subject: [OT] Obscure Computer Languages
> >
> >
> >> From: Jacob J. Hookom [mailto:[EMAIL PROTECTED]] 
> >> Sent: Tuesday, January 28, 2003 11:24 AM
> >> To: Struts Users Mailing List
> >> Subject: Re: [OT] Synchronizing Session Objects
> >> 
> >> 
> >> LISP - Lots of InSignifigant Parens
> >> 
> >> Prolog is where it's at :-)
> >
> >Don't go there man...
> >
> >Not only was I once fluent in Prolog (How to shoot yourself in the foot
> >with Prolog: You look down and see a hole in your foot, and from that
> >infer that the gun was fired), but I have at one time or another
> >programmed in APL (it's all Greek to me), PL/1, OS/VS1 on a 370, and
> >SNOBOL (with it's compiler SPITBOL), not to mention such museum pieces
> >as WATFOR, Fortran II, and PDP-8 assembler.
> >
> >I get stranger things than Prolog in my breakfast serial.
> >
> >James Turner
> >Owner & Manager, Black Bear Software, LLC
> >[EMAIL PROTECTED]
> >
> >Author: 
> >MySQL & JSP Web Applications: 
> >Data Driven Programming Using Tomcat and MySQL
> >ISBN 0672323095; Sams, 2002
> >
> >Co-Author: 
> >Struts Kick Start
> >ISBN 0672324725; Sams, 2002
> >
> >Forthcoming:
> >JavaServer Faces Kick Start 
> >Sams, Fall 2003
> >
> >
> >> -Original Message-
> >> From: Jacob J. Hookom [mailto:[EMAIL PROTECTED]] 
> >> Sent: Tuesday, January 28, 2003 11:24 AM
> >> To: Struts Users Mailing List
> >> Subject: Re: [OT] Synchronizing Session Objects
> >> 
> >> 
> >> LISP - Lots of InSignifigant Parens
> >> 
> >> Prolog is where it's at :-)
> >> 
> >> 
> >> - Original Message -
> >> From: "Chappell, Simon P" <[EMAIL PROTECTED]>
> >> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >> Sent: Tuesday, January 28, 2003 10:16 AM
> >> Subject: RE: [OT] Synchronizing Session Objects
> >> 
> >> 
> >> Not something to admit in public!
> >> 
> >> Actually, I really enjoyed learning POP-11 back at 
> >> university. Ahh, those were the days.
> >> 
> >> >-Original Message-
> >> >From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> >> >Sent: Tuesday, January 28, 2003 10:14 AM
> >> >To: 'Struts Users Mailing List'
> >> >Subject: RE: [OT] Synchronizing Session Objects
> >> >
> >> >
> >> >I actually taught myself Scheme (the MIT version) on the 
> >> Macintosh in 
> >> >the early 90s  :-)
> >> >
> >> >-Original Message-
> >> >From: James Turner [mailto:[EMAIL PROTECTED]]
> >> >Sent: Tuesday, January 28, 2003 10:35 AM
> >> >>
> >> >> LISP boy is correct, and I brought this subject up about a 
> >> year ago 
> >> >> and Craig answered pretty definitively - try a search on 
> >> >> "synchronization" in the archive:
> >> >
> >> >LISP Boy?  Do I get the power to warp men's minds using my 
> >> LISPParens? 
> >> >Can I self-modify code in a single bound?  Does this make me the 
> >> >sidekick of SchemeMan?
> >> >
> >> >Holy PDL Stack Overflow, SchemeMan!
> >> >
> >> >
> >> >
> >> >--
> >> >To unsubscribe, e-mail:
> >> 
> >> For additional commands, e-mail: 
> >>  [EMAIL PROTECTED]>
> >> 
> >> 
> >> --
> >> To 
> >> unsubscribe, e-mail: 
> >> 
> >> For additional commands, e-mail: 
> >>  [EMAIL PROTECTED]>
> >> 
> >> 
> >> --
> >> To 
> >> unsubscribe, e-mail:   
> >> 
> >> For additional commands, e-mail: 
> >>  [EMAIL PROTECTED]>
> >> 
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently

2003-01-29 Thread David Bolsover
I'm feeling really left out of this - who the heck is Naveen.Dhotre? - but given the 
junk mail he/she is causing -

+1



db

> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2003 14:29
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> 
> 
> Bullshit.  Check out the dates of her vacation.
> 
> +5 1/2
> 
> -Original Message-
> From: Quentin.Cope [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 29, 2003 6:15 AM
> To: Struts Users Mailing List
> Subject: RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> 
> 
> -1
> 
> {
> 
> It wouldn't be nice to come back from holiday, no matter how long, and find
> the entire struts community wants rid of you ;-)   
> 
> }
> 
> -Original Message-
> From: Simon Kelly [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2003 10:59
> To: Struts Users Mailing List
> Subject: Re: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> 
> 
> Haven't got a clue who Naveen is, but I am a sheep  B+4
> - Original Message -
> From: "Ronald Mathies" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 29, 2003 11:56 AM
> Subject: Re: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> 
> 
> > +3
> > - Original Message -
> > From: "K.Viswanathan" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, January 29, 2003 11:58 AM
> > Subject: Re: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> >
> >
> > > +2
> > >
> > > - Original Message -
> > > From: "PILGRIM, Peter, FM" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List (E-mail)"
> <[EMAIL PROTECTED]>
> > > Sent: Wednesday, January 29, 2003 4:06 PM
> > > Subject: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently
> > >
> > >
> > > > Naveen is just like Aerosmith always on "permanent vacation". Can 
> > > > we not help to alleviate her suffering. Can I get witness on this?
> > > >
> > > > +1 from me.
> > > >
> > > > --
> > > > Peter Pilgrim,
> > > > Struts/J2EE Consultant, RBoS FM, Risk IT
> > > > Tel: +44 (0)207-375-4923
> > > >
> > > >
> > > > 
> > > >   Visit our Internet site at http://www.rbsmarkets.com
> > > >
> > > > This e-mail is intended only for the addressee named above. As 
> > > > this e-mail may contain confidential or privileged information, if 
> > > > you are not the named addressee, you are not authorised to retain, 
> > > > read, copy or disseminate this message or any part of it. The 
> > > > Royal Bank of Scotland plc is registered in Scotland No 90312 
> > > > Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
> > > >  Regulated by the Financial Services Authority
> > > > **
> > > > **
> > > >
> > > > --
> > > > ---
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Centura JDBC Driver

2003-01-22 Thread David Bolsover
Has anyone used the Centura JDBC driver in a  ?

Environment: Tomcat 4.1.18

For exceptions thrown see attached.

A mysql datasource in the same struts-config.xml works fine.

Any ideas?

db 
SEVERE: Initializing application data source centura

java.sql.SQLException: Cannot create JDBC driver of class 
'com.centurasoft.java.sqlbase.SqlbaseDriver' for connect URL 
'jdbc:sqlbase://localhost:2155/VMFG'

at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:541)

at 
org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:381)

at 
org.apache.struts.util.GenericDataSource.setLogWriter(GenericDataSource.java:345)

at 
org.apache.struts.action.ActionServlet.initApplicationDataSources(ActionServlet.java:942)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)

at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)

at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)

at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)

at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)

at org.apache.commons.digester.Digester.endElement(Digester.java:1036)

at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)

at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:222)

at 
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595)

at 
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:748)

at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)

at 
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:957)

at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)

at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)

at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)

at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)

at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)

at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)

at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)

at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)

at org.apache.catalina.core.StandardService.start(StandardService.java:497)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)

at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

at org.apache.catalina.startup.Catalina.process(Catalina.java:180)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflec

RE: db connection pool question

2003-01-21 Thread David Bolsover
It is always possible to load a 'DBServlet' throuh the web.xml


somthing like:

Comments welcome!!!

db


database
com.nomogen.demosite.db.DataAccess

  password
  secret


  maxCount
  10


  jdbcURL
  jdbc:mysql://localhost/nomogen


  user
  admin


  description
  nomogen


  minCount
  5


  driverClass
  org.gjt.mm.mysql.Driver

1
  


package  com.nomogen.demosite.db;


import  javax.servlet.http.HttpServlet;
import  java.sql.*;
import  javax.servlet.ServletException;
import  org.apache.struts.util.GenericDataSource;
import  java.util.*;


public class DataAccess extends HttpServlet {
private GenericDataSource dataSource = null;
private String description;


public void init() throws ServletException {
dataSource = new GenericDataSource();
dataSource.setAutoCommit(true);
dataSource.setDescription(getInitParameter("description"));
dataSource.setDriverClass(getInitParameter("driverClass"));
dataSource.setMaxCount(Integer.parseInt(getInitParameter("maxCount")));
dataSource.setMinCount(Integer.parseInt(getInitParameter("minCount")));
dataSource.setPassword(getInitParameter("password"));
dataSource.setUrl(getInitParameter("jdbcURL"));
dataSource.setUser(getInitParameter("user"));
description = getInitParameter("description");
try {
dataSource.open();
getServletContext().setAttribute("dataSource", dataSource);
System.out.println(description + " Connection Pool Open");
Pool.init(dataSource);
}
catch (Exception ex) {
ex.printStackTrace();
throw  new ServletException("Unable to open datasource");
}
}

   
public void destroy() {
try {
dataSource.close();
System.out.println(description + " Connection Pool Closed");
}
catch (Exception e) {
e.printStackTrace();
}
}
}

package  com.nomogen.demosite.db;

import  java.sql.SQLException;
import  java.sql.Connection;
import  javax.sql.DataSource;


public class Pool {
  private DataSource ds;
  private static Pool mySelf;

 
  public Pool (DataSource ds) {
this.ds = ds;
  }

 
  public static void init (DataSource ds) {
mySelf = new Pool(ds);
  }

 
  public static Pool getInstance () {
if (mySelf == null) {
  throw  new IllegalStateException("Pool not initialized");
}
return  mySelf;
  }

 
  public Connection getConnection () throws SQLException {
return  ds.getConnection();
  }
}

> -Original Message-
> From: Bradley G Smith [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2003 19:17
> To: Struts Users Mailing List
> Subject: RE: db connection pool question
> 
> 
> 
> I believe you can define data sources in server.xml for tomcat at least,
> and make them available for multiple applications. But I have not done that
> yet (using Oracle connection pool classes).
> 
> Brad
> 
> 
> 
>  
>
>   david chan 
>
>   <[EMAIL PROTECTED]>   
>   hoo.com> cc:   
>
>Subject: RE: db connection pool 
>question  
>   21-01-03 09:43 
>
  Please respond   
  
>   to "Struts Users   
>
>   Mailing List"  
>
>  
>
>  
>
> 
> 
> 
> 
> With the use data-sources in Struts-config.xml, How
> can I get the data-source in my initServlet that will
> be loaded during startup of tomcat (or websphere)? My
> initServlet will do one time loading of some data from
> Oracle database and store them into application scope
> and shared by different session. There are a couple of
> things need to be sure:
> 
> 1) struts datasource should be setup first (does
> setting servlet loading sequence in web.xml, i.e.
> ActionServlet will load first, then is my initServlet
> etc...)
> 2) how to get the datasource from initServlet?
> 3) In general, I would like to

RE: [OT] mail List

2003-01-20 Thread David Bolsover
Doh...

Should have looked harder before I started asking silly questions.

Jakarta James...


Sorry.

db


> -Original Message-
> From: David Bolsover [mailto:[EMAIL PROTECTED]]
> Sent: 20 January 2003 10:12
> To: Struts Users Mailing List
> Subject: RE: [OT] mail List
> 
> 
> Hmm..  Problem...
> 
> Seems like ezmlm is unix only - I don't have unix - W2K server only.
> 
> Would be nice to lave java based list manager - is there one?
> 
> db
> 
> > -Original Message-
> > From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]]
> > Sent: 20 January 2003 10:05
> > To: Struts Users Mailing List
> > Subject: Re: [OT] mail List
> > 
> > 
> > I think it is the ezmlm program. That's what is says on the welcome 
> > message.
> > 
> > David Bolsover wrote:
> > > Hi
> > > 
> > > Sorry about off topic - but this seems like a good place to ask.
> > > 
> > > Does anyone know what software is used to manage this mail list?
> > > 
> > > Is it open source? - can I get a copy? etc..
> > > 
> > > Thx
> > > 
> > > David Bolsover
> > > 
> > > --
> > > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: [OT] mail List

2003-01-20 Thread David Bolsover
Hmm..  Problem...

Seems like ezmlm is unix only - I don't have unix - W2K server only.

Would be nice to lave java based list manager - is there one?

db

> -Original Message-
> From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]]
> Sent: 20 January 2003 10:05
> To: Struts Users Mailing List
> Subject: Re: [OT] mail List
> 
> 
> I think it is the ezmlm program. That's what is says on the welcome 
> message.
> 
> David Bolsover wrote:
> > Hi
> > 
> > Sorry about off topic - but this seems like a good place to ask.
> > 
> > Does anyone know what software is used to manage this mail list?
> > 
> > Is it open source? - can I get a copy? etc..
> > 
> > Thx
> > 
> > David Bolsover
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




[OT] mail List

2003-01-20 Thread David Bolsover
Hi

Sorry about off topic - but this seems like a good place to ask.

Does anyone know what software is used to manage this mail list?

Is it open source? - can I get a copy? etc..

Thx

David Bolsover

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




OT [Year End]

2002-12-31 Thread David Bolsover
I know it's not Friday and frivolous messages are generally reserved for that
one day...

I have no religious faith - but in the best traditions of pagan festivals
everywhere, I intend to celebrate the Year End in the usual English fashion...
Family, friends & neighbours a few pints and a curry.

Best wishes and a prosperous New Year to all fellow strutters.

David


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: embedding dynamic text in value of text field

2002-12-23 Thread David Bolsover
Hi

I'm sure there must be a better way but I have used code like this to solve
similar problem:

<% String temp = ((cast.to.object.type)pageContext.getAttribute("foo",
pageContext.PAGE_SCOPE)).getUserName(); %>


db

> -Original Message-
> From: Richard Doust [mailto:[EMAIL PROTECTED]]
> Sent: 23 December 2002 20:53
> To: [EMAIL PROTECTED]
> Subject: embedding dynamic text in value of text field
>
>
> Hi.
> I have a form that wants to get the initial value for a  field
> from a property of a bean associated with a different form on the page.
> I have tried this:
> "/>
> and this:
> 
> but obviously these won't work because, in the latter case, EL isn't being
> processed in the attributes of the struts tag.
> Does anyone know how I could do this?
> Thanks,
> Rich
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tokens - a simple explanation wanted

2002-12-06 Thread David Bolsover
Hi

Can anyone assist with a simple explanation of how Tokens work and their
application within the Struts framework?

I have read the docs and looked at the examples but still have problems
understanding how (or if) Tokens solve the problem that arises when a user uses
the browser back button and then re-submits a form for a second time.

db


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




odd behaviour form beans?

2002-12-04 Thread David Bolsover

I have seen some odd behaviour relating to initial capital letters

I have the following on a jsp:


Note the capital P


Note the lower case f

In the corresponding Actionform:

private String pCBSerial = "";
private String function1 = "";


public String getPCBSerial(){
return this.pCBSerial;
}

public String getFunction1(){
return this.function1;
}

The above works fine but if I change the jsp to  as would be normal, I get an exception No getter method for property
pCBSerial of bean org.apache.struts.html.BEAN.

What is going on?

struts 1.1b2
Tomcat 4.0.3

db






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [ANN] Best and Worst Development Practices -- Training in NYC and DC

2002-12-03 Thread David Bolsover
I thought this was meant to be a forum for peer to peer help not for commercial
adverts.

db

> -Original Message-
> From: John Menke [mailto:[EMAIL PROTECTED]]
> Sent: 03 December 2002 20:56
> To: struts-user
> Subject: [ANN] Best and Worst Development Practices -- Training in NYC
> and DC
>
>
> Increase Your Struts Productivity - Attend the BaseBeans Public Struts
> Training
>
> We have a 11 hour public class in DC and in NYC in January. If you sign up
> soon the price is $145. The regular price is $275 and it goes up as we
> approach the date due to capacity planning.
>
> This class is taught by baseBeans Engineering, the company voted to have the
> best hands on training class by JDJ for their "Fast Track to Struts" class.
>
> Get your training from the #1 trainer with a money back guarantee
>
> You will pay $50 to register and be billed the balance. Upon registration,
> you will be shipped a CD that contains the tools needed for the class, such
> as an IDE, App. Server, some sample working source code, Struts, etc.
>
> Follow this link to register:  http://64.253.60.21/do/classReservation
>
> At the training, we will cover Struts, Java Server Faces, JDO, DAO,
> JDBC,etc.
>
> A pre-requisite for attendance is some Struts knowledge or at least Servlet
> and SQL knowledge. This class is targeted at tech leads. Bring your
> questions and receive practical advice from the baseBeans team.
>
> You can FedEx a check or a PO for the balance to BaseBeans.
>
> Prior paid students and clients are free for this class, as always, but we
> need to know you are coming.
>
> Hope to see you there,
>
> JOHN
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Security roles with Struts

2002-12-03 Thread David Bolsover
Make sure you look at the logic taglib



very useful :-)

db



> -Original Message-
> From: Michael Lee [mailto:[EMAIL PROTECTED]]
> Sent: 03 December 2002 17:54
> To: Struts Users Mailing List
> Subject: Re: Security roles with Struts
> 
> 
> for container managed roles struts actions act just like all http request
> that the container can intercept.
> in the web.xml
>   
> Secure Something
> 
>   Admin Resources
>   /admin/*
> 
> 
>   Admin
> 
> 
>   Secure all data
>   NONE
> 
>   
> 
> What this does is lock down all requests to the /admin/ directory to users
> of Admin role.
> You can do the same with actions by putting in the url pattern using
> wildcards or the action itself.
> for example;
>   /admin/addUser.do
> 
> - Original Message -
> From: "Elena Neroslavskaya" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 03, 2002 11:05 AM
> Subject: Security roles with Struts
> 
> 
> > Hello all,
> > I have succeeded to configure DB security realm for JBoss container it
> works
> > for simple JSP solution,
> >
> > Bu I have problems to make it work with Struts !
> >
> > Could anybody please be so kind and post here an example
> > how to configure Struts to use Container Managed Roles.
> >
> > And post here your web.xml ans struts-config.xml ?
> >
> > Thank you very much
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Emails

2002-12-03 Thread David Bolsover
Nice idea

I have a similar async job that does a series of searches of the internet before
sending results as an email.

Jobs are posted to a db and dealt with in sequence - this means that the action
can complete quickly while the lengthy task of compiling the email works in the
background.

db

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich
> Sent: 03 December 2002 22:27
> To: [EMAIL PROTECTED]
> Subject: Re: Emails
>
>
> One thing to consider. if you like MVC.
>
> What I do is save e-mail to an e-mail table in DB.
> Then I have a console async process in a cron job select all e-mail that
> was not flaged as sent.
>
> (I also do RSS same way).
>
> It just works better form me this way.
>
> .V
>
> VEDRE, RANAPRATAP REDDY wrote:
> > sending a mail from struts action is no different from sending a mail from
> > any HttpServlet.
> >
> > u can use JSTL mail library if u want to do it in jpp , but the best option
> > would be to use JavaMail API as u want inside a servlet.
> >
> > -rana.
> >
> >
> >
> > -Original Message-
> > From: Wendy Cameron [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 03, 2002 4:42 PM
> > To: Struts Users Mailing List (E-mail)
> > Subject: Emails
> >
> >
> > How do you send an email from inside a servlet using the struts framework?
> >
> > Does anyone know of some sample code etc? or a good tutorial?
> >
> > Regards Wendy
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
>
>
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: HTTP Status 500

2002-11-29 Thread David Bolsover
I could open it using TC4.1.7 - don't know what t is supposed to do though

http://loaclhost:8080/wileystruts

db

> -Original Message-
> From: Paul Kavanagh [mailto:[EMAIL PROTECTED]]
> Sent: 29 November 2002 19:48
> To: Struts Users Mailing List
> Subject: HTTP Status 500
> 
> 
> Hi there,
> 
> I'm trying to get the attached Struts webapp (from Chapter Three of
> Mastering Struts) working with Tomcat
> 4.1.12. My understanding is that I should be able to just drop the attached
> (unzipped of course)
> into a webappname/ folder and then be able to access it via
> http://localhost/webappname. Is this
> correct ?
> 
> When I try however, I get get this error:
> 
> HTTP Status 500 - No Context configured to process this request
> 
> 
> type Status report
> message No Context configured to process this request
> description The server encountered an internal error (No Context configured
> to process this
> request) that prevented it from fulfilling this request.
> 
> 
> Apache Tomcat/4.1.12-LE-jdk14
> 
> I have all the struts jars in WEB-INF/lib.
> 
> I know this is probably something dumb and config-related on my behalf. I
> appreciate the help.
> 
> Thanks in advance,
> -Paul
> 
> ps I've removed the Struts Jars from the zip, but they are in WEB-INF/lib
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Dynamic forward problem

2002-11-20 Thread David Bolsover
Hi all

I posted this one a few days back but got no response - so I thought I would
have another go - I'll try an improved explanation of the problem.

I need to generate a dynamic forward to an action/script (I have no control over
implementation) on a remote server.

A typical URL for the forward looks like:

"http://www.somesite.com/actionpath?customer=Joe Bloggs&address=Address line 1
Address line 2 Address line 3"

The problem is that the receiving site requires that new line characters in of
the address string are encoded as "
" (the HTML entity for ASCII 10, the new
line character).

If I were to use an on page form, I could generate the required behaviour by
coding like:

http://www.somesite.com/actionpath"; method="POST">


-- rest of form--

But I don't want to use a form!!  I want to use a dynamic forward

Something like:

StringBuffer sb = new StringBuffer();
sb.append("http://www.somesite/actionpath?";);
sb.append("&customer=" + customer.getName());
sb.append("&address=" + customer.getAddress());
etc..
ActionForward forward = mapping.findForward("success");
forward.setPath(sb.toString);
forward.setRedirect(true);
mapping.addForward(forward);
return forward;

If I try to encode the new line in the above, the forward fails at the first new
line character.

Any ideas please?

David


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to Redirect ???

2002-11-18 Thread David Bolsover

Hi all

For what it is worth.

This works in an Action:

Good for building dynamic forwards

StringBuffer sb = new StringBuffer();
sb.append("http://www.someurl/actionpath?";);
sb.append("&customer=" + customer.getName());
sb.append("&address=" + customer.getAddress());

etc..

ActionForward forward = mapping.findForward("success");
forward.setPath(sb.toString);
forward.setRedirect(true);
mapping.addForward(forward);

return forward;

> -Original Message-
> From: Kris Schneider [mailto:[EMAIL PROTECTED]]
> Sent: 18 November 2002 17:47
> To: Struts Users Mailing List
> Subject: Re: How to Redirect ???
> 
> 
> Another thought is that you could still use a  element to define an 
> external resource:
> 
> 
>   http://www.yahoo.com"/>
>   http://www.sun.com"/>
> 
> 
> Then, in an Action:
> 
> ActionForward yahoo = mapping.findForward("external.yahoo");
> response.sendRedirect(response.encodeRedirectURL(yahoo.getPath()));
> 
> Never tried it, but seems like it should work. Just understand that those 
> forwards can't be used by the standard Struts machinery.
> 
> Quoting Brian Hickey <[EMAIL PROTECTED]>:
> 
> > Wolfgang,
> > 
> > Redirect outside of an app can be done a number of ways.
> > 
> > One suggestion:
> > 
> > Map your redirect to a class that creates the forwardURL.
> > Put the forwardURL into request scope.
> > Create a JSP that does nothing but the redirect. Map to it in
> > struts-config.
> > use the jsp:usebean and  tag to perform the external
> > redirect.
> > 
> > The advantage of this method is logging which can be done in the class and
> > you have no context other than what you specify in the 
> > tag.
> > 
> > 
> > Brian
> > 
> > 
> > 
> > - Original Message -
> > From: "Kris Schneider" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Monday, November 18, 2002 11:58 AM
> > Subject: Re: How to Redirect ???
> > 
> > 
> > > That's not what the contextRelative attribute means. Here's the snippet
> > from
> > > the 1.1 DTD:
> > >
> > > contextRelative  Set this to "true" if, in a modular application, the
> > path
> > >  attribute starts with a slash "/" and should be
> > considered
> > >  relative to the entire web application rather than the
> > module.
> > >  Since Struts 1.1.
> > >  [false]
> > >
> > > The redirect attribute only determines if RequestDispatcher.forward or
> > > HttpServletResponse.sendRedirect is used. In either case, the path
> > attribute is
> > > always either module-relative or context-relative.
> > >
> > > I think you'll have to use something like
> > HttpServletResponse.sendRedirect
> > > directly in your Action to redirect outside your app's context.
> > >
> > > Quoting "Trieu, Danny" <[EMAIL PROTECTED]>:
> > >
> > > > Isn't there is a contextrelative attribute in the  tag where
> > you
> > > > can set to 'true'?
> > > >
> > > > -Original Message-
> > > > From: wolfgang [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, November 18, 2002 8:15 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: How to Redirect ???
> > > >
> > > >
> > > > Hi there,
> > > >
> > > > I wanna make users redirect(not forward) to http://www.yahoo.com , but
> > > > cannot make it...
> > > >
> > > > I added the following elements in the struts-config.xml
> > > >
> > > > 
> > > >   http://www.yahoo.com"; redirect="true" />
> > > > 
> > > >
> > > > and the following code in the execute method of the Action class.
> > > >
> > > > return mapping.findForward("finish");
> > > >
> > > > but It doesn't work.
> > > > Struts attempts to make users redirect to the
> > > > "/test_webapp/http://www.yahoo.com"; where /test_webapp is the name of
> > my
> > > > web
> > > > application.
> > > >
> > > > How can I make it ??
> > > >
> > > > Thanks in advance.
> > > >
> > > > wolfgang-
> > > >
> > > >
> > > > --
> > > > wolfgang <[EMAIL PROTECTED]>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > 
> > > > For additional commands, e-mail:
> > > > 
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > 
> > > > For additional commands, e-mail:
> > > > 
> > > >
> > >
> > >
> > > --
> > > Kris Schneider 
> > > D.O.Tech   
> > >
> > > --
> > > To unsubscribe, e-mail:
> > 
> > > For additional commands, e-mail:
> > 
> > >
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > 
> > For additional commands, e-mail:
> > 
> > 
> 
> 
> -- 
> Kris Schneider 
> D.O.Tech   
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional comm

Dynamic Forward

2002-11-15 Thread David Bolsover

Hi all

I have a problem with a dynamic forward - can anyone assist?

The url of the forward is generated by:

StringBuffer sb = new StringBuffer();
sb.append("http://www.someurl/actionpath?";);
sb.append("&customer=" + customer.getName());
sb.append("&address=" + customer.getAddress());

etc..

ActionForward forward = mapping.findForward("success");
forward.setPath(sb.toString);
forward.setRedirect(true);
mapping.addForward(forward);

return forward;


The forward above works fine - but - the receiving URL requires that newlines in
the address part of the forward have to be encoded with "
" - with the above
scheme this does not seem to be possible - any ideas?



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Action takes long time to complete

2002-11-13 Thread David Bolsover
Hi all

I have an action that takes a very long time to complete.

Advice please - how do I forward to a new page before the tasks the action has
started have completed?

db


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Struts Web App Challenging user with BASIC Auth

2002-03-07 Thread David Bolsover

Satish

Have you added the necessary realm to the Tomcat server.xml file?

David Bolsover

"Satish Jeejula" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> Hi All,
> 
> I have a web application using struts running under apache\tomcat3.3
> configuration. I want to make this app challenge the user  using HTTP BASIC
> Auth scheme. 
> 
> The admin context that comes with tomcat does implement this. But the admin
> is not using struts.
> 
> I have added security-constraint element to my web.xml file for my
> application. But still it does not challenge me?
> 
> Is there anything else that I need to configure for the application using
> struts to challenge??
> 
> Any pointers that will lead me to a solution.
> 
> Any help is appreciated.
> 
> Thanks,
> Satish
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Novell Bordermanager

2002-02-06 Thread David Bolsover

Hi all

I have a struts application hosted on a W2K server running Apache/Tomcat.

The application runs fine for most uses - but I have one user who is
accessing application from a system protected by bordermanager. For this
user, the pages do not refresh correctly (old pages are returned) despite
hitting refresh in the browser.  I am not certain but I think this might be
a bordermanager issue - has anyone else seen this problem? I have little
experience of bordermanager and am not certain this is the problem - Any
other ideas on what could be causing difficulty?  I have not yet tried
setting the appropriate response headers (no-cache etc.) but this does seem
difficult - would I have to alter all the action methods??

All advice welcome.

David

David Bolsover

E: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Using CSS with struts jsp's

2002-01-24 Thread David Bolsover

Hi

Why is everyone making this so difficult?



works fine!

David Bolsover

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2002 02:48
To: Struts Users Mailing List
Subject: Using CSS with struts jsp's




Hi,
I am trying to use CSS with my JSP pages but CSS does not seem to be
reachable.  It works when I bring up the jsp's by themselves but when
invoked through an action, the page does not display with correct fonts.

The jsp code I am using is:
___
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-form-1.0"; prefix
="form" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0"; prefix
="bean" %>



 
 
 
  
 

__

Thanks for any pointers.
- Nitish




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Page reload problem

2002-01-05 Thread David Bolsover

Hi all

I have a problem reloading a page in a frameset

Here is the issue:

I am using JDBCRealm Form based authentication
Frame1 contains a number of struts-menus within 
 tags etc.
Frame2 contains the /formlogin.jsp page which is presented to the user
following a request to /login.do

When the user is successfully authenticated, the action mapping updates
Frame2 with the welcomeback.jsp page.

All the above works fine.

Now the problem:

How do I force a reload of Frame1 so as to show the appropriate menu without
the user having to refresh the page?

I think I need a mechanism to force a reload of Frame1 when Frame2 is
updated with welcomeback.jsp but I am unsure how to do this.

Any help?

David Bolsover

E:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




FORM Authentication to Realm

2001-12-11 Thread David Bolsover

Hi all

Can anyone help with these problem?

Problem 1

I would like to be able to use the Tomcat JDBCRealm features in concert with
struts - the problem is this - how can I provide a hypertext link in an
e-mail I send to users that will allow users to log into my struts webapp
without having to manually type the j_username and j_password into the web
browser.  I'm sure that this should be simple but the solution eludes me.  I
would like to use the JDBCRealm features because of the good facilities this
provides for controlled access to privileged data.

Here is the form I'm using:



userID
Password





Problem 2

Once authenticated into the JDBCRealm, how can I then 'automatically' pass
the user into my struts webapp - extracting username (perhaps remoteUser
info) as I go?



David Bolsover
T:+44(0)1614276920
F:+44(0)1614276922
M:07773428118
E:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Menu

2001-12-02 Thread David Bolsover

Hi all

I'm looking for a 'menu' for use in a struts based webapp - I quite like the
one used by jsptags.com - does anyone know where to find source code for
such an item? - I'm lazy & don't want to write fron start if I can avoid it!


David Bolsover
T:+44(0)1614276920
F:+44(0)1614276922
M:07773428118
E:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: QUESTION : JBuilder5 + Struts1.0

2001-12-02 Thread David Bolsover

Better as Borland that question.

My personal suspicion is that it is because they (Borland) would like you to
buy JB6.

David Bolsover
T:+44(0)1614276920
F:+44(0)1614276922
M:07773428118
E:[EMAIL PROTECTED]

> -Original Message-
> From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]]
> Sent: 02 December 2001 17:23
> To: [EMAIL PROTECTED]
> Subject: QUESTION : JBuilder5 + Struts1.0
>
>
> Why JBuilder5 doesn't support Struts without opentools
> ?
>
> thank
>
> ___
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Courrier : http://courrier.yahoo.fr
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: DB connection pool

2001-11-28 Thread David Bolsover

Hi

The solution I use is to use a WEB.xlm configured servlet to establish a
connection pool as follows:

-snip-
public class DataAccess extends HttpServlet {
private GenericDataSource dataSource = null;
private String description;

public void init() throws ServletException {
dataSource = new GenericDataSource();
dataSource.setAutoCommit(true);
dataSource.setDescription(getInitParameter("description"));
dataSource.setDriverClass(getInitParameter("driverClass"));

dataSource.setMaxCount(Integer.parseInt(getInitParameter("maxCount")));

dataSource.setMinCount(Integer.parseInt(getInitParameter("minCount")));
dataSource.setPassword(getInitParameter("password"));
dataSource.setUrl(getInitParameter("jdbcURL"));
dataSource.setUser(getInitParameter("user"));
description = getInitParameter("description");
try {
dataSource.open();
getServletContext().setAttribute("dataSource", dataSource);
System.out.println(description + " Connection Pool Open");
Pool.init(dataSource);  //Note init Pool object
}
catch (Exception ex) {
ex.printStackTrace();
throw  new ServletException("Unable to open datasource");
}
}

public void destroy() {
try {
dataSource.close();
System.out.println(description + " Connection Pool Closed");
}
catch (Exception e) {
e.printStackTrace();
}
}
-snip-

I then use a Pool object to get connections to the database

-snip-
public class Pool {
  private DataSource ds;
  private static Pool mySelf;

  public Pool (DataSource ds) {
this.ds = ds;
  }

  public static void init (DataSource ds) {
mySelf = new Pool(ds);
  }

  public static Pool getInstance () {
if (mySelf == null) {
  throw  new IllegalStateException("Pool not initialized");
}
return  mySelf;
  }

  public Connection getConnection () throws SQLException {
return  ds.getConnection();
  }
}
-snip-

Then in my Action methods:

-snip-
Pool pool = Pool.getInstance();
  Connection con = null;
  try {
con = pool.getConnection();
UserDAO ud = new UserDAO(con); // or any DAO you need
-snip-

This way the Action methods know nothing of the servlet or the database.

I see no reason why you could not have multiple (slightly different)
DataAccess servlets for each of the required database connections.

David Bolsover
T:+44(0)1614276920
F:+44(0)1614276922
M:07773428118
E:[EMAIL PROTECTED]

> -Original Message-
> From: Arnaud Héritier [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2001 14:59
> To: 'Struts Users Mailing List'
> Subject: RE: DB connection pool
>
>
> Yes I understand and It is what I done in my application.
>
> I retreive datasources from actions and passes it to my DAO.
>
> This response was for Tom who asked how to declare several data-sources
>
> > -Message d'origine-
> > De: Otavio C. Decio [SMTP:[EMAIL PROTECTED]]
> > Date:   mercredi 28 novembre 2001 15:32
> > À:  Struts Users Mailing List
> > Objet:  Re: DB connection pool
> >
> > Yes, I know, but I don't want my DAO to know anything about
> Actions. I like
> > Tom Lister's idea, to simply pass the datasorce to the DAO.
> >
> >  Thanks!
> >
> > Otavio
> > - Original Message -
> > From: "Arnaud Héritier" <[EMAIL PROTECTED]>
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 28, 2001 9:36 AM
> > Subject: RE: DB connection pool
> >
> >
> > In your struts-config.xml you declare all your connections pool :
> >
> > 
> > 
> > 
> > ...
> > 
> > 
> > 
> > ...
> > 
> > 
> > 
> > ...
> > 
> > 
> >
> > Then in your Action classes you retreive your connections like this :
> >
> > DataSource myDataSource1 = servlet.findDataSource("db1");
> > Connection myConnection1 = myDataSource1.getConnection();
> >
> > DataSource myDataSource2 = servlet.findDataSource("db2");
> > Connection myConnection2 = myDataSource2.getConnection();
> >
> > Arno
> >
> > > -Message d'origine-
> > > De: Tom Lister [SMTP:[EMAIL PROTECTED]]
> > > Date: mercredi 28 novembre 2001 15:14
> > > À: 'Struts Users Mailing List'
> > > Objet: RE: DB connection pool
> > >
> > > Does anyone know how to work with 

RE: If someone is interested

2001-11-16 Thread David Bolsover

Yes please

Code please - good work 

David Bolsover
T:+44(0)1614276920
F:+44(0)1614276922
M:07773428118
E:[EMAIL PROTECTED] 

> -Original Message-
> From: Yuriy Zubarev [mailto:[EMAIL PROTECTED]]
> Sent: 15 November 2001 21:45
> To: [EMAIL PROTECTED]
> Subject: If someone is interested
> 
> 
> Hello colleagues,
> 
> I've been developing a web app for myself and since
> it's not the first app using Struts I attempted
> to solve some general issues by providing some interfaces,
> custom tag and generic actions. More specifically I'm talking
> about tables, you know that questions about navigation,
> sorting, formatting and so on...
> 
> To see what's done already, point your browser to
> http://english.yuriy-zubarev.com
> 
> And if my work raises some interest among people,
> I'll beautify the code (if there is no big load in the office) 
> and share it (with one of the purposes to get feedbacks
> and criticism).
> 
> Best of luck,
> Yuriy Zubarev
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Good secure-ID solution? (Key FOB)

2001-10-20 Thread David Bolsover



Hi
 
You 
might take a look at Microchip products www.microchip.com - secure data 
products
 
David
 
David 
BolsoverT:+44(0)1614276920F:+44(0)1614276922M:07773428118E:[EMAIL PROTECTED] 


  -Original Message-From: Bryan Field-Elliot 
  [mailto:[EMAIL PROTECTED]]Sent: 20 October 2001 
  15:07To: [EMAIL PROTECTED]Subject: OT: Good 
  secure-ID solution? (Key FOB)Hi, I apologize for 
  this being off topic, but while this has nothing to do with Struts, still I 
  think this is a list where I might find knowledgable people with good info. 
  I'm looking for a good, cheap secure ID card or ID KeyFob solution, 
  which I can integrate with my Struts application. The device(s) are 
  just cards or keychain devices, with an LCD display. The LCD display shows a 
  8-digit number, and this number changes to some other pseudo-random value 
  every 60 seconds. It's a password, good for one minute. On the server side, 
  you've got some code running which maps a username to a 60-second password 
  (algorithmically), and authenticates the user thus. RSA has great 
  devices, and they're around $60 each which is fine with me. However, they want 
  you to buy and run their server-side software as well. I'm not into that -- 
  I'd just rather have a simple standardized algorithm and implement my own 
  server-side checking (tied into my own database etc) within my Servlet 
  classes, rather than run some 3rd party software on my server. Does 
  anyone know of such a thing? Thanks, Bryan 



Tomcat 4

2001-10-04 Thread David Bolsover


Using TC3.2.1 I was able to view all request parameters on the system.out
stream.

Does anyone know how to configure TC4 to provide this data?


David Bolsover
1 Stephouses,
Hollywood Lane,
Mellor,
Stockport,
Cheshire,
SK6 5LR

Tel: +44(0)161 427 6920
Fax: +44(0)161 427 6922
Mobile : +44 07773428118
E-Mail : [EMAIL PROTECTED]
Web: http://www.bolsover.com




email security problem - any solutions ?

2001-10-03 Thread David Bolsover

Hi all

This is definitely off topic for struts - but since I am implementing a new
application using the struts framework - and I know there are lots of clever
struts users out there - here goes:

I have an action class that automatically fires off e-mails to the traders
telling them of orders received by the site - problem is - I would like to
be able to include customer credit card data in the mail - but it needs to
be secure - only readable by intended recipient - any ideas?  I could simply
send a mail and then have the trader visit the site to collect the credit
card data but this seems clumsy - must be a better simple solution.



David Bolsover
1 Stephouses,
Hollywood Lane,
Mellor,
Stockport,
Cheshire,
SK6 5LR

Tel: +44(0)161 427 6920
Fax: +44(0)161 427 6922
Mobile : +44 07773428118
E-Mail : [EMAIL PROTECTED]
Web: http://www.bolsover.com




JBuilder5, Tomcat4(b7), Struts

2001-09-10 Thread David Bolsover

Hi all

After much work - and considerable help from this group, I managed to get up
and running with JB5, Tomcat3.2.1 and Struts1.0. - I can happily develop
within the JB5 environment and be confident that the app will work when
deployed on TC3.2.1.

But - I would now like to move to TC4.x (b7 is latest and looks good
candidate for release) Problem is - how to get this to work with JB5 &
struts.  I know that this is a little off topic - but this group is MUCH
more active than the JB newsgroups and generally much more helpful.

All hints and tips gratefully received.

David Bolsover




RE: Configuration problem

2001-08-30 Thread David Bolsover

Devon

oops - just a typo when I sent the mail - but still the problem has gone
away - and I don't know why.

thanks for time and effort

david

> View source shows  href="http://www.foo.com";> foo.com

I assume you mean

http://www.foo.com";> foo.com

Without the close bracket on "". If this is what View Source
is showing, then your browser is receiving the correct HTML.
In other words, it isn't a problem with your server/jsp/struts
configuration.

Devon




BEGIN:VCARD
VERSION:2.1
N:Bolsover;David;Paul;Mr.
FN:David Paul Bolsover
ORG:Bolsover.Com
TITLE:Consultant
NOTE:V card info
TEL;WORK;VOICE:+44 (0) 1614276922
TEL;HOME;VOICE:+44 (0) 1614276920
TEL;CELL;VOICE:+44 07773428118
TEL;WORK;FAX:+44 (0) 1614276922
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;1 Stephouses =0D=0AHollywood Lane=0D=0AMellor;Stockport;Cheshire;SK6 5LR;U=
nited Kingdom
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:1 Stephouses =0D=0AHollywood Lane=0D=0AMellor=0D=0AStockport, Cheshire SK6 5=
LR=0D=0AUnited Kingdom
URL:
URL:http://www.bolsover.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010228T193131Z
END:VCARD



RE: Configuration problem

2001-08-29 Thread David Bolsover

Devon

View source shows  href="http://www.foo.com";> foo.com

Now the strangest thing - the problem has gone away  - and I don't think I
changed anything of significance - very odd - I wonder if this could be an
ie6 thing?

david


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2001 10:49
To: [EMAIL PROTECTED]
Subject: RE: Configuration problem


> I have a link on a jsp page to an external site :   href="http://www.foo.com";> foo.com

When you have this page in your browser and do a "View
Source" is that really what you see?

Devon






Configuration problem

2001-08-29 Thread David Bolsover

Hi

I will confess from the start that this is not really a struts problem but I
am sure that members of the group will have seen this before and know the
solution.

I have a link on a jsp page to an external site :  http://www.foo.com";> foo.com

The problem is that when I browse to the page containing this link
(http://127.0.0.1/demosite/index.jsp) the browser insists on attempting to
find http://127.0.0.1/www.foo.com  which as you would expect returns a 404

Configuration is
W2K
Apache 1.3.20
Tomcat 3.2.1

david




RE: Struts w/JBuilder 5

2001-07-30 Thread David Bolsover

Following the thread concerning Struts/JB5 I thought that I should chuck in
my own thoughts - JB5 is great for debugging but - boy does it take some
effort to set up - I am sure that there must be a simpler way of getting it
all to hang together but here's my technique:

1 File|NewProject
Project Wizard step 1
Project name "strutsconfig" or whaterver you want
Project for defaults "(Default project)"
Root path "C:/jbuilder5/jakarta-tomcat-3.2.1/webapps" does not have to be
this but I think it is useful to be able to test project outside of JBuilder
and this is the default JB install structure
Project directory name "strutsconfig" - JBuilder will do this for you.
Source Directory name "WEF-INF/src"
Backup Directory name "WEB-INF/bak"
Document directory name "WEB-INF/doc"
Output directory name "WEB-INF/classes"
Check Project directory is parent to source and output directories.

Project Wizard step 2
Add struts.jar to Required Libraries (you have got the struts download
havn't you).
If you have not already configured the struts library you can do this later
and add the library through the project properties dialogue.

Project Wizard step 3
whatever you want

Finish


2 File|New Class
The only reason for using the class wizard at this point is to create the
directory stucture under
"C:/jbuilder5/jakarta-tomcat-3.2.1/webapps/strutsconfig"
Just create any class - Untitled1 will do nicely - you can delete it later.
Use your usual package names eg: com.foo.struts.strutsconfig
Uncheck all the options.
OK

3 Project|Make Project "strutsconfig" - whatever you called your project

4 Switch to Explorer and browse to:
"C:/jbuilder5/jakarta-tomcat-3.2.1/webapps/strutsconfig

If everything has gone according to plan you should have the following
directory structure:

\strutsconfig
 +WEB-INF
  +classes
  | +com
  |  +foo
  |   +struts
  |+strutsconfig
  +src
+com
 +foo
  +struts
   +strutsconfig


5 Add a new folder named "lib" under /strutsconfig/WEB-INF

strutsconfig
 +-WEB-INF
  +classes
  | +com
  |  +foo
  |   +struts
  |+strutsconfig
  |
  +src
  | +com
  |  +foo
  |   +struts
  |+strutsconfig
  +lib

6 From the struts distribution, copy struts.jar into
/strutsconfig/WEB-INF/lib

7 From the struts distribution, copy the various .tld files you will be
referencing into /strutsconfig/WEB-INF for the sake of this demo copy at
least struts-bean.tld and struts-html.tld

8 Back to JBuilder
File|New|Web Application
Name "strutsconfig"
Directory "C:/jbuilder5/jakarta-tomcat-3.2.1/webapps/strutsconfig
Check the Generate WAR box
OK


9 struts-config.xml goes in \strutsconfig\WEB-INF directory
  web.xml goes in \strutsconfig\WEB-INF directory
  resouce.properties file goes in
\strutsconfig\WEB-INF\classes\com\foo\ and make sure it is correctly
referenced in the web.xml file!!
  .tld's go in \strutsconfig\WEB-INF directory
  .jsp go in root (or path from) \strutsconfig

10 This is the fun part
   Now you have your basic struts app - just a couple of jsp's and you are
ready to run
   Use Project|Make project
   Then "Web Run your chosen .jsp


   In the messages view you will doubtless get lots of info but the first
line should be somthing like:

   C:\jbuilder5\jdk1.3\bin\javaw -classpath
"C:\jbuilder5\jakarta-tomcat-3.2.1\lib\webserver.jar;C:\jbuilder5\jakarta-to
mcat-3.2.1\lib\jasper.jar;C:\jbuilder5\jakarta-tomcat-3.2.1\lib\parser.jar;C
:\jbuilder5\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jbuilder5\jakarta-tomcat-3.
2.1\lib\servlet.jar;C:\jbuilder5\extras\jakarta-struts-1.0\lib\struts.jar;C:
\jbuilder5\lib\webserverglue.jar;C:\jbuilder5\extras\jakarta-struts-1.0\lib\
struts.jar;C:\jbuilder5\extras\jakarta-struts-1.0\lib\jdbc2_0-stdext.jar;C:\
jbuilder5\jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jbuilder5\extras\ecs-1.4.1
\ecs-1.4.1.jar;C:\jbuilder5\extras\ecs-1.4.1\lib\jakarta-regexp-1.2.jar;C:\j
builder5\extras\ecs-1.4.1\lib\xerces-1.2.2.jar;C:\jbuilder5\lib\jdsserver.ja
r;C:\jbuilder5\lib\beandt.jar;C:\jbuilder5\lib\dx.jar;C:\jbuilder5\jdk1.3\de
mo\jfc\Java2D\Java2Demo.jar;C:\jbuilder5\jdk1.3\jre\lib\i18n.jar;C:\jbuilder
5\jdk1.3\jre\lib\jaws.jar;C:\jbuilder5\jdk1.3\jre\lib\rt.jar;C:\jbuilder5\jd
k1.3\jre\lib\sunrsasign.jar;C:\jbuilder5\jdk1.3\lib\dt.jar;C:\jbuilder5\jdk1
.3\lib\tools.jar"  org.apache.tomcat.startup.Tomcat -config
C:\jbuilder5\jakarta-tomcat-3.2.1\webapps\opsdemo3\conf\server8080.xml

(horrid isn't it)

   Further down the messages you should have somthing like:

   Classpath according to the Servlet Engine is:
C:\jbuilder5\jakarta-tomcat-3.2.1\webapps\opsdemo3\WEB-INF\classes;C:\jbuild
er5\jakarta-tomcat-3.2.1\we

JBuilder

2001-07-08 Thread David Bolsover

Hi

I'm looking to develop a struts based database portal using JBuilder Pro 5
as my development environment - does anyone have any experience of this
combination and if so, any hints ant tips on configuration would be helpful.

cheers

David Bolsover

E-Mail : [EMAIL PROTECTED]
Web: http://www.bolsover.com