Re: [OT] FWIW

2003-03-18 Thread struts list
Take your bickering to another list.  This list is for Struts 
discussions, not political discussions.

Rasputin wrote:

* P Dunham [EMAIL PROTECTED] [0353 15:53]:

 

The evidence is right in front of you but you choose to no believe it or
invalidate it with stupid, misguided conspiracy theories. 
   

What evidence? We haven't seen any. The inspectors have said there's
no evideence of a nuclear threat.
 

It's a good
thing president bush is not afraid to take responsibility and protect
this country, something democrats are obviously afraid of doing.
   

Iraq is no threat to the US, never has been, never will be.
Missiles with a 90 mile range can't even reach Israel, never mind the US.
 

Many mothers were crying September 11th. 
   

That was bin Laden, not Iraqis. Remember him?
He's still out there because Bush is wasting everyone's time on Iraq.
 

Many mothers were crying when
Saddam Hussein released chemical weapons on and killed many of his own
people.
   

That was Halabja, the anniversary was yesterday when Bush made
his speech. He didn't even bother to mention it.
Rumsfeld and Cheney ought to remember, they were the people who sold
him the gas.
You think these mothers will be happy when the bombs fall and kill
their grandkids?  Saddam won't give a shit cos he'll be in his bunker.
Because of this stupid war, the UN, NATO, the European Union and now the 
UK government are falling apart. Korea is about to kick off and how we
you turn round and tell them not to act unilaterally when the US
happily brand entire countries cowards because they wondered what the
rush to war was?

But none of that matters because Saddam is a nasty man?

Grow up. Just because your president has a mental age of six doesn't
mean the entire country has to stop thinking.
Get back in touch when you've elected a proper leader.

(Sorry to spam the list. Why does the reply-to get set, anyway?)

 

-Philip

-Original Message-
From: Slobodan Kasterovic [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 18, 2003 9:27 AM
To: 'Struts Users Mailing List'
Subject: AW: [OT] FWIW

   

Do I believe we must go to war to protect our country from another
attack like 9/11? Yes. 
 

To protect - YES.

But this is not protection !

This is again the World. This is punishment without evidence. This is
aggression. This makes more terrorists. This is (practical) without
allies.
This makes Bush  CO be lousy with cash. This makes more/many Mothers
and
Wifes crying. This is wrong way !!!
Kasterovic Slobodan

-- -Ursprungliche Nachricht-
-- Von: James Higginbotham [mailto:[EMAIL PROTECTED]
-- Gesendet: Dienstag, 18. Marz 2003 16:03
-- An: Struts Users Mailing List; Wankers
-- Betreff: RE: [OT] FWIW
-- 
-- 
-- Mark,
-- 
-- Some interesting information for digestion:
-- 
-- From a reputable source, BBC, regarding Iraq torturing children:
-- 
-- http://news.bbc.co.uk/2/hi/world/from_our_own_correspondent/
2058253.stm

Iraq training the terrorists (PBS Frontline):

http://www.pbs.org/wgbh/pages/frontline/shows/gunning/interviews/khodada
.html
http://www.nytimes.com/auth/login?URI=http://query.nytimes.com/search/ar
ticle-page.htmlOQ=resQ3D9B01EED81E39F93BA35752C1A9679C8B63 (requires
registration - NY Times)
Or, links to Iraq for 9/11, which is essentially a declaration of war as
the bombing on Pearl Harbor was:
http://www.observer.co.uk/focus/story/0,6903,591439,00.html

Not trying to start a flame war, just presenting some facts that are not
commonly presented in some media forums.. Do I want to go to war? No..
Do I believe we must go to war to protect our country from another
attack like 9/11? Yes. 

James

   

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 18, 2003 7:38 AM
To: struts; Wankers
Subject: [OT] FWIW

http://www.bretzelforbush.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]
-
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: Strutsaction on different WebApps

2003-03-18 Thread struts list
I had the same problem.  For this reason, I do not use the struts 
html:base tag.  Instead I created my own (seen below in scriptlet form):

base href=%
   String rurl = request.getRequestURL().toString();
   String context = request.getContextPath();
   int pathstart = 8;
   if (context != null  context.length()  1)
   {
   pathstart = rurl.indexOf(/, rurl.indexOf(context) + 1);
   }
   else
   {
   pathstart = rurl.indexOf(/, pathstart);
   }
   out.print(rurl.substring(0, pathstart + 1)); % 
This allows me to deploy my .war in various contexts within the same server.

-M Williamson

Kjellaug Johansen wrote:

Maybe I didn't explain my problem good enough...

The name of my application is WebApp. This name is similar for both the
production server and the test server. The servername (if you understand
what I mean by that term) on the testserver is www.mycomp.com/test, and the
servername on the productionserver is www.mycomp.com.
You suggested to deploy the test-application under a different name (i.e.
test-WebApp), but the problem is that I can't have the same servername for
the test- and production server. See? It's ok to have different
application-names, but the servername have to be different, because there
are in fact two different servers on two different machines.
It seems like Struts thinks the servername is www.mycomp.com even if I'm
working on the testserver with the servername www.mycomp.com/test. Why is
this a problem in Struts?
I hope this explanation was clear to you... I appreciate any response on
this problem :-)
Kjellaug

- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Kjellaug Johansen [EMAIL PROTECTED]
Cc: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 14, 2003 4:14 PM
Subject: Re: Strutsaction on different WebApps
 

Sorry that no one helped you, but let's take this back to the list.

How are you planning to do this?
What is the name of your application?  test or WebApp
Are you familiar with Request Path Elements?
You should read the servlet spec (section 4.4).  That will give you a good
understanding of why the approach you've described is giving the results
   

you
 

didn't expect.

My only suggestion to you is to deploy your WebApp under a different name
rather that trying to nest it under some directory.
I wouldn't recommend running your test server as your production box, but
   

if
 

you have no choice, try naming your test application as test-WebApp and
deploy it right beside WebApp.
That would give you this:
www.mycomp.com/WebApp
www.mycomp.com/test-WebApp
...I think you'll start seeing the behavior you expect.

--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/


- Original Message -
From: Kjellaug Johansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 14, 2003 5:39 AM
Subject: Strutsaction on different WebApps
I've posted this on struts-user mail archive, but there haven't been any
response, so I hope you could help me! I hope you have some time to look
   

at
 

my problem. Thanks! :-)

I have two servers running webapps, one for production:
www.mycomp.com/WebApp and one for testing: www.mycomp.com/test/WebApp
When I work on the production server there are no problems, but when I
   

work
 

on the test-server and try to call a Struts-action (i.e.
www.mycomp.com/test/WebApp/user/saveUser.do), I'm getting redirected to
   

the
 

production-server. The 'test' part in the URL for the test-server is
   

ignored
 

and I'm getting redirected to www.mycomp.com/WebApp/user/saveUser.do.

The struts-config on the testserver looks like this:
action path=/user/saveUser
   type=com.mycomp.web.user.SaveUserAction
   name=user
   scope=request
   input=/jsp/user/editUser.jsp
/action
The action call in the jsp file on the testserver looks like this:
... action = /user/saveUser.do
My questions are:
Doesn't Struts manage an extra level (test) between the serverroot
(www.mycomp.com) and the webapp name (WebApp)? Are there any
   

config-settings
 

I can do to solve this?

Kjellaug.



   



-
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: Declarative exception handling

2002-09-27 Thread Juan Alvarado \(Struts List\)

Charles:

Thanks for your help on this. I don't think I made myself clear in terms of
what I need.

What I need is not only the message I have stored possibly in a resources
file, but also the output of say exception.toString() in the message too. As
I am seeing it, I can't find a way to do that but I am hoping I am wrong.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Charles McClain [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 6:03 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Declarative exception handling


Juan:

Yes.  I cribbed some code from the Struts example app that was reworked
for Struts 1.12b.  It appears below:

logic:messagesPresent
ul
html:messages id=error
libean:write name=error//li
/html:messages
/ulhr
/logic:messagesPresent

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 5:43 PM
To: Struts
Subject: Declarative exception handling


Does anyone know of a way to include the exception message in the body
of an error page one has declared in the global-exceptions section of
struts-config.xml

EX:

 !-- Global Exceptions --
  global-exceptions
exception  key=general.exception
type=java.lang.Exception
path=/admin/failure.jsp/
  /global-exceptions

I want to be able to display the exception message in /admin/failure.jsp

I did not find anything on the archives on this.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [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]




Declarative exception handling

2002-09-26 Thread Juan Alvarado \(Struts List\)

Does anyone know of a way to include the exception message in the body of an
error page one has declared in the global-exceptions section of
struts-config.xml

EX:

 !-- Global Exceptions --
  global-exceptions
exception  key=general.exception type=java.lang.Exception
path=/admin/failure.jsp/
  /global-exceptions

I want to be able to display the exception message in /admin/failure.jsp

I did not find anything on the archives on this.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Validator and depends element

2002-09-24 Thread Juan Alvarado \(Struts List\)

Does anyone know if the validator can be configured in such a way that if
you have two radio buttons on a page and a text box, to only validate the
contents of the text box when only a particular radio button is checked.

Ex:

Two radio buttons A  B and Textbox C. If B is checked then I want to
validate the contents of C. Otherwise I don't want to validate anything.

If anyone has an example of something like this, I would appreciate it if
you'd get back with me.

Thanks

JDA


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




RE: Validator and depends element

2002-09-24 Thread Juan Alvarado \(Struts List\)

If you don't mind, when you get a chance can you post the details involved
in this. I'm sure I along with many others will find this useful.

Thanks a lot.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Chilukuri, Pratap N Mr CONT USAREC
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 1:59 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator and depends element


You got to write a custom validation method in validation-rules.xml file to
handle this kind of cross validation. Let me know if you need this in
detail..

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 1:15 PM
To: Struts
Subject: Validator and depends element


Does anyone know if the validator can be configured in such a way that if
you have two radio buttons on a page and a text box, to only validate the
contents of the text box when only a particular radio button is checked.

Ex:

Two radio buttons A  B and Textbox C. If B is checked then I want to
validate the contents of C. Otherwise I don't want to validate anything.

If anyone has an example of something like this, I would appreciate it if
you'd get back with me.

Thanks

JDA


--
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: iPlanet and Struts 1.02 problem

2002-08-19 Thread Juan Alvarado \(Struts List\)

Jason:

I had the same problem and I finally gave up. What I did is I put my
application in a context and everything from there worked fine.

If anyone else can shed some light on this, I would greatly appreciated.
Otherwise the context solution is the way to go I think.

iPlanet web serve and their support is WORTHLESS!!!

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Jason Muse [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 1:32 PM
To: '[EMAIL PROTECTED]'
Subject: iPlanet and Struts 1.02 problem


I have exhausted the message board(s) and online resource.

Problem with an extra slash /  being added to the front of my form action
and links, examples
from little app i wrote and struts-example app:

Example 1:  form name=panelForm method=POST
action=//do/panelForm;jsessionid=
Example 2:  href=//do/editRegistration;jsessionid=

This causes an issue by trying to call http://do/PanelForm;

Server: iPlanet Web Server 6.0 SP2
Struts: 1.02 binary release

Not sure where to go from here.  Is there an iPlanet setting or something?
I have tried MANY
different settings in the struts-config.xml and web.xml, for example, tried
using /do/* method, but
it seems to do the same thing.  Even the /do.* adds an extra
http://PanelForm.do..

Here are some files if you need to look at them:

--[ clipping from struts-config.xml
]
action path=/panelForm
  type=com.jason.struts.PanelAction
  name=panelForm
  scope=request
  input=/panelform.jsp
  validate=true
forward name=success path=/do/success.jsp/
forward name=failure path=/do/panelForm /

/action

--[  clipping from web.xml
]---
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/do/*/url-pattern
  /servlet-mapping


--[  clipping from panelform.jsp
]--

html:form action=/panelForm




--
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]




struts error page

2002-08-01 Thread Juan Alvarado \(Struts List\)

I have set up in my tomcat configuration for any 404 errors to be handled by
a struts action.

error-page
error-code404/error-code
location/do/error404Handler/location
/error-page

What I need to trap from this action is the page the user originally
requested. When I do request.getURI(), that just gives me the name of the
action.

I am bound to the Servlet 2.2 API so I cannot use the
request.getRequestedURL() method.

What's the use of handling the 404 error within the web application if you
can't determine the page the user requested.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Slightly off-topic

2002-07-30 Thread Juan Alvarado \(Struts List\)

I am working on a struts app and need to accomplish the following...

Can anyone tell me (if they know) what I have to do to capture the page the
user requested.

Example:
I have in my web.xml:
error-page
error-code404/error-code
location/error404/go.jsp/location
/error-page

In my go.jsp I want to retrieve the url the user requested. Since I am bound
to the 2.2 API, I can't call request.getRequesURL(). So I looked at the
source for that method and used it in my page.

StringBuffer url = new StringBuffer();
String scheme = request.getScheme();
int port = request.getServerPort();
if (port  0)
port = 80; // Work around java.net.URL bug

url.append(scheme);
url.append(://);
url.append(request.getServerName());
if ((scheme.equals(http)  (port != 80))
|| (scheme.equals(https)  (port != 443))) {
url.append(':');
url.append(port);
}
url.append(request.getRequestURI());
out.print(The URL requested was  + url.toString());

My problem is that the result of the above code gives me the name of the
error handler page (http://www.somewebsite.com/error404/go.jsp), when in
reality I need the page the user requested.

Ex: http://www.somewebsite.com/hadhfad.html (Doesn't exist)
internally tomcat forwards to /error404/go.jsp. In that page is where I need
to retrieve the URL the user
requested(http://www.somewebsite.com/hadhfad.html). But with the code above
I get http://www.somewebsite.com/error404/go.jsp.

Does anyone know how to accomplish this with the servlet 2.2 API.

Thanks


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Commons

2002-07-29 Thread Juan Alvarado \(Struts List\)

Folks can someone tell me where the API documentation for DBCP is?? 

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

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




Struts Vs. Sun J2EE Compliance and Design Patterns

2002-07-25 Thread Juan Alvarado \(Struts List\)

Hello folks:

Recently I had a discussion with an ex-colleague of mine regarding struts. I
explained to him that it's an awesome framework and that it has everything
for developing web applications using MVC.

His response was something to the effect of I'm sure struts is great but we
are very happy with our architecture here and that it has all the benefits
of struts and that they are 100% J2EE compliant and sun pattern compliant
and blah blah blah He also made it a point to point out that his
architecture is just J2EE and no third party libraries.

I tried telling him that struts was all J2EE also and that it was written in
pure java. His response was that it was a third party package on top of
J2EE. He then tried to tell me what patterns he uses for his architecture
and those consisted of: Service to Work, with Servlet Front Strategy,
Displatcher in Controller Strategy, and JSP View Strategy, Value Objects,and
Data Access Objects.

I tried to tell him that all that was nice and dandy, but with struts he
could use all those patterns with struts and in the process save himself a
ton of time in developing his application(s). Basically this was his
response:

 I'm just against anything other than the base stuff. I don't like reallying
on any pieces that are from other parties or that put layers on top of
Java... to be honest, I'm just not interested. I'm sure that many of the
people on there will have lots to say about why struts is great, but I
already looked into it, along with all other options, and saw no benefits
beyond adopting J2EE and Sun's core J2EE patterns. There isn't anything
struts does that our architecture now doesn't do, and it doesn't do it any
easier, so why would I bother?

So my question is as follows... Isn't this person wrong in saying that
struts puts layers on top of Java and that struts doesn't do anything easier
than his sun based architecture?? If that was the case, why aren't we using
his architecture/framework?? I mean as far as I know, sun doesn't have
anything close to what struts is, and if truth be told, aren't they(Sun)
using at least one of the struts creators for their own Java Server Faces
framework.

I would love to hear what the community's reaction to these comments are.

Sorry for the long post, but I think this one was worth it.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Struts Vs. Sun J2EE Compliance and Design Patterns

2002-07-25 Thread Juan Alvarado \(Struts List\)

Hello folks:

Recently I had a discussion with an ex-colleague of mine regarding struts. I
explained to him that it's an awesome framework and that it has everything
for developing web applications using MVC.

His response was something to the effect of I'm sure struts is great but we
are very happy with our architecture here and that it has all the benefits
of struts and that they are 100% J2EE compliant and sun pattern compliant
and blah blah blah He also made it a point to point out that his
architecture is just J2EE and no third party libraries.

I tried telling him that struts was all J2EE also and that it was written in
pure java. His response was that it was a third party package on top of
J2EE. He then tried to tell me what patterns he uses for his architecture
and those consisted of: Service to Work, with Servlet Front Strategy,
Displatcher in Controller Strategy, and JSP View Strategy, Value Objects,and
Data Access Objects.

I tried to tell him that all that was nice and dandy, but with struts he
could use all those patterns with struts and in the process save himself a
ton of time in developing his application(s). Basically this was his
response:

 I'm just against anything other than the base stuff. I don't like reallying
on any pieces that are from other parties or that put layers on top of
Java... to be honest, I'm just not interested. I'm sure that many of the
people on there will have lots to say about why struts is great, but I
already looked into it, along with all other options, and saw no benefits
beyond adopting J2EE and Sun's core J2EE patterns. There isn't anything
struts does that our architecture now doesn't do, and it doesn't do it any
easier, so why would I bother?

So my question is as follows... Isn't this person wrong in saying that
struts puts layers on top of Java and that struts doesn't do anything easier
than his sun based architecture?? If that was the case, why aren't we using
his architecture/framework?? I mean as far as I know, sun doesn't have
anything close to what struts is, and if truth be told, aren't they(Sun)
using at least one of the struts creators for their own Java Server Faces
framework.

I would love to hear what the community's reaction to these comments are.

Sorry for the long post, but I think this one was worth it.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Multiple Message Resources

2002-06-27 Thread Juan Alvarado \(Struts List\)

If you have the following in your struts-config.xml:

message-resources parameter=ApplicationResources/
message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/

how do you access the second one from an action or a JSP???

MessageResources messages = getResources(request);

Returns only the first one.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Multiple message resources

2002-06-18 Thread Juan Alvarado \(Struts List\)

If you have the following in your struts-config.xml:
message-resources parameter=ApplicationResources/
  message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/

how do you access the second one from an action???

MessageResources messages = getResources(request);

Returns only the first one.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Multiple MessageResources

2002-06-18 Thread Juan Alvarado \(Struts List\)


If you have the following in your struts-config.xml:
message-resources parameter=ApplicationResources/
  message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/

how do you access the second one from an action???

MessageResources messages = getResources(request);

Returns only the first one.

Thanks in advance
**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Servlet Reload problem

2002-06-14 Thread Juan Alvarado \(Struts List\)

Folks I know this isn't exactly a struts question 100%, but since I am using
struts with my application I think the question is somewhat relevant to this
list. I looked through both archives (Struts/Tomcat) and I didn't find an
answer to my question.

I am using tomcat 4.03 and I would like to NOT have to restart tomcat every
time I make a change to a servlet. I find myself having to restart every
time I put a modified servlet in WEB-INF/classes and it is very annoying.
Can anyone tell me what is the exact setting needed in tomcat to make this
happen.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Problem with PropertyUtils.copyProperties(...

2002-06-12 Thread Juan Alvarado \(Struts List\)

I am using a DynaActionForm:
form-bean name=userForm
   dynamic=true
   type=org.apache.struts.validator.DynaValidatorForm 
   form-property name=id type=java.lang.String/
   form-property name=firstName type=java.lang.String/
   form-property name=lastName type=java.lang.String/
   form-property name=dispatch type=java.lang.String/
/form-bean

I want to perform the following in my action:
 DynaActionForm f = (DynaActionForm)form;
   User user = new User();
 try{
PropertyUtils.copyProperties(user, f);
}
catch(Exception e){...}

My user object is composed as follows:
package ob.users;

public class UserDTO {

private String firstName;
private String lastName;
private Integer id;

public java.lang.String getFirstName() {
return firstName;
}
public Integer getId() {
return id;
}
public java.lang.String getLastName() {
return lastName;
}
public void setFirstName(java.lang.String value) {
firstName = value;
}
public void setId(Integer value) {
id = value;
}
public void setLastName(java.lang.String value) {
lastName = value;
}
}

And I keep on getting Error creating DTO -- java.lang.NoSuchMethodException:
Unknown property 'class'

I am relatively new using the bean utils package and I didn't find anything
in the archives. Can anyone tell me what I'm doing wrong.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: 1.1 Deployment Bug?- Iplanet Web Server

2002-06-11 Thread Juan Alvarado \(Struts List\)

Roy:

Try the struts-example with the version of iPlanet you are using. I have
been unable to run the Struts 1.1 example in iPlanet 6 SP 2. If you search
this list you will see some of the postings I submitted in regard to this
problem. Unfortunately, no one had a solution for the problems.

Please let me know if you are able to get it to work.

Good luck

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Roy Truelove [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:27 AM
To: Struts Users Mailing List
Subject: Re: 1.1 Deployment Bug?- Iplanet Web Server


what's happening here : _menu_jsp.java:102 ? does IPlanet give you access to
the generated JSP source?

-Roy

- Original Message -
From: Rajesh Kalluri [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 9:12 AM
Subject: RE: 1.1 Deployment Bug?- Iplanet Web Server


 Struts 1.0.x works fine on my Iplanet Web server (Which is more like
tomcat
 3.2+). But i cannot get the example from Struts 1.1 to work on Iplanet
(IWS
 6.0 SP2 ). Here is the stack trace.

  Internal error: Unexpected error condition thrown (unknown exception,no
 description), stack: java.lang.ExceptionInInitializerError   at
 _jsps._layouts._menu_jsp._jspService(_menu_jsp.java:102)   at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)   at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)   at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:247)   at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
 ava:237)   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)   at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)   at

com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
 etRunner.java:897)   at

com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
 065)   at

com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
 r.java:959)   at
 com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
 Method)   at

com.iplanet.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatc
 her.java:93)   at

org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:408)
 at

org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
 va:757)   at
 org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:369).

 The people at iplanet support would not care as they claim its not their
 problem (to support external frameworks).

 Of course they need to wake up.

 Any one seen this issue?


 Regards
 Raj.

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 10, 2002 7:28 PM
 To: Struts (E-mail)
 Subject: 1.1 Deployment Bug?


 Is there a known issue with deploying 1.1 apps in any servlet/Web
container?
 1.02 deploys just find in the WEB-INF/lib directory, but 1.1 is causing
the
 class loader to throw ClassNotFoundException.  We have found this to be
true
 in Tomcat 4.01, JRun 3.1 and WebLogic 6.1SP2.  If a work-around exists,
 where is the documentation?

 Mark


 --
 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: North Atlanta Struts Users Group - Request for comments

2002-05-25 Thread Juan Alvarado \(Struts List\)

Rick:

Give me your boss's email address. I will be glad to email her with a
reality check

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 25, 2002 10:25 AM
To: Struts Users Mailing List
Subject: Re: North Atlanta Struts Users Group - Request for comments


On Saturday, May 25, 2002, 2:33:08 AM, James Mitchell wrote:

JM Specifically, this is targeted for the area of North Atlanta, GA.
(Perimeter
JM Mall area)

What day of the week would you think about having this? I know
Saturday isn't the ideal time, but being I'm in
south Florida and would have to drive up and stay over night, I
could drive up on a Friday after work and leave on Saturday after
the big hoopla.

Too bad I couldn't talk my boss into paying for my travel and day
off. Never would happen since my boss told me and the other
developer that MCV architecture (yes, that's what she called
it..not MVC ) is too confusing and she wants us to magically make
full blown web applications using the wizards in JDeveloper so
that any person off the street could come in and fill our shoes.
Nice huh? ( plug.. anyone out there hiring in the Southeast
region?:)




--

Rick

mailto:[EMAIL PROTECTED]

The difference between a man and a boy is, a boy wants to grow up to
be a fireman, but a man wants to grow up to be a giant monster
fireman.
  -Jack Handey


--
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]




PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)

Folks I know this is not that relevant to this list, but I am somewhat
desperate and after looking everywhere, the last place I could turn to is
this list.

My problem is the following. I deployed a web app in iPlanet web server 6
and i've put my .properties files in WEB-INF/classes of my app. The
following code generates me a missing resource exception:

try{
ResourceBundle res = ResourceBundle.getBundle(Trivia.properties);
Enumeration keys = res.getKeys();

while( keys.hasMoreElements() ){
out.println( (String)keys.nextElement() + BR);
}
}
catch(Exception e ){
out.print(There is AN Exception  + e.toString() );
}

java.util.MissingResourceException: Can't find bundle for base name
Trivia.properties, locale en_CA

As you can see the locale in the system is set to en_CA. However my file is
called Trivia.properties. I have always been under the impression that if it
doesn't find the file for the proper locale it tries to look for a default
file name such as in my case Trivia.properties. I have tried renaming the
file to Trivia_en_CA.properties with no luck.

ANy help with this is greatly appreciated.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)

Yes, I tried that and there is already a posting about the same problem I am
having. No reply though!!! To anyone who listens, I would highly recommend
you NEVER go with iplanet. It is worthless. I am not just saying it because
of this particular problem. We've had many others

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:38 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!


Did you try:

http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC
ATEGORY_0=_24UCATEGORY_S=0

?  iPlanet is now the Sun ONE Application Server.

Mark

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:20 PM

Folks I know this is not that relevant to this list, but I am somewhat
desperate and after looking everywhere, the last place I could turn to is
this list.

My problem is the following. I deployed a web app in iPlanet web server 6
and i've put my .properties files in WEB-INF/classes of my app. The
following code generates me a missing resource exception:

--
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: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)

I'ts okay man don't worry about it. One thing you should know about iPlanet
is: Don't use it :)

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:46 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!


Sorry, dude...just trying to help.  I don't know a thing about iPlanet.

Mark

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:37 PM

Yes, I tried that and there is already a posting about the same problem I am
having. No reply though!!! To anyone who listens, I would highly recommend
you NEVER go with iplanet. It is worthless. I am not just saying it because
of this particular problem. We've had many others

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:38 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!


Did you try:

http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC
ATEGORY_0=_24UCATEGORY_S=0

?  iPlanet is now the Sun ONE Application Server.

Mark

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:20 PM

Folks I know this is not that relevant to this list, but I am somewhat
desperate and after looking everywhere, the last place I could turn to is
this list.

My problem is the following. I deployed a web app in iPlanet web server 6
and i've put my .properties files in WEB-INF/classes of my app. The
following code generates me a missing resource exception:

--
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: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)

Folks I apologize. After looking at my own code carefully I realized my
mistake:

ResourceBundle res = ResourceBundle.getBundle(Trivia.properties);

Shoud be:

ResourceBundle res = ResourceBundle.getBundle(Trivia);

Again I apologize to all those people who responded and offered help.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:44 PM
To: Struts Users Mailing List
Subject: RE: PLEASE HELP!!!


I'ts okay man don't worry about it. One thing you should know about iPlanet
is: Don't use it :)

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:46 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!


Sorry, dude...just trying to help.  I don't know a thing about iPlanet.

Mark

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:37 PM

Yes, I tried that and there is already a posting about the same problem I am
having. No reply though!!! To anyone who listens, I would highly recommend
you NEVER go with iplanet. It is worthless. I am not just saying it because
of this particular problem. We've had many others

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:38 PM
To: 'Struts Users Mailing List'
Subject: RE: PLEASE HELP!!!


Did you try:

http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC
ATEGORY_0=_24UCATEGORY_S=0

?  iPlanet is now the Sun ONE Application Server.

Mark

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:20 PM

Folks I know this is not that relevant to this list, but I am somewhat
desperate and after looking everywhere, the last place I could turn to is
this list.

My problem is the following. I deployed a web app in iPlanet web server 6
and i've put my .properties files in WEB-INF/classes of my app. The
following code generates me a missing resource exception:

--
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]


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




RE: javascript and struts1.0.2

2002-05-13 Thread Juan Alvarado \(Struts List\)

Look into the validation framework!!!

http://home.earthlink.net/~dwinterfeldt/index.html

Good luck

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:13 PM
To: [EMAIL PROTECTED]
Subject: javascript and struts1.0.2


Struts guys,
A help and review required urgently.I am using struts1.0.2 and I
have to show the errors(validations ,ActionErrors) in the form of javascript
alerts. I found  that struts 1.0.2 does not support javascript. I handled
this by writing the alerts in the applicationresources.properties and that
way I was within the framework and did not have to do much of extensive
coding. Is this approach correct or is there some other better way?
TIA
Regards,
Taati


--
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: javascript and struts1.0.2

2002-05-13 Thread Juan Alvarado \(Struts List\)

You can use the validator with struts 1.02. It just needs to be configured
differently.  Take a look at the documentation on the web site.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:21 PM
To: Struts Users Mailing List
Subject: RE: javascript and struts1.0.2


Thanks a lot
But common validator is a part of struts1.1b right?It is stillin the beta
version.How can I use that when it is nto stable yet?

Regards,
Taati
 -Original Message-
 From: Juan Alvarado \(Struts List\) [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:11 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2

 Look into the validation framework!!!

 http://home.earthlink.net/~dwinterfeldt/index.html

 Good luck

 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]

 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:13 PM
 To: [EMAIL PROTECTED]
 Subject: javascript and struts1.0.2


 Struts guys,
   A help and review required urgently.I am using struts1.0.2 and I
 have to show the errors(validations ,ActionErrors) in the form of
 javascript
 alerts. I found  that struts 1.0.2 does not support javascript. I handled
 this by writing the alerts in the applicationresources.properties and that
 way I was within the framework and did not have to do much of extensive
 coding. Is this approach correct or is there some other better way?
 TIA
 Regards,
 Taati


 --

--
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: javascript and struts1.0.2

2002-05-13 Thread Juan Alvarado \(Struts List\)

Mark forgive me, but did you say struts 1.02 is also in beta Does that
mean that struts 1.1 is in alpha version then???

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:39 PM
To: 'Struts Users Mailing List'
Subject: RE: javascript and struts1.0.2


1.0.2 is beta, also.  1.1b is where Struts is going.  If you plan to upgrade
from 1.0.2 it's better to do it now than wait.  Further, we have found 1.1b
to be remarkably stable.

Mark

-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:21 PM

Thanks a lot
But common validator is a part of struts1.1b right?It is stillin the beta
version.How can I use that when it is nto stable yet?

Regards,
Taati

--
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: javascript and struts1.0.2

2002-05-13 Thread Juan Alvarado \(Struts List\)

Mannem:

Either I didn't read your previous emails more carefully or you didn't
mention it was from the business layer that you needed to display java
script. In any case, without knowing all the details of your application
it's really hard for me to understand what it is you need to accomplish. Can
you send me a more detailed email explaining the steps required to generate
your java script.

Typically the standard way of handling business logic errors in struts is to
store them using ActionErrors. From the example that ships with struts I
copied this piece of code from LogonForm.java:

ActionErrors errors = new ActionErrors();
if ((username == null) || (username.length()  1))
errors.add(username, new
ActionError(error.username.required));


I'm not sure if you'd be breaking any standards, but I see no reason to
store the actual javascript that displays the error in one of your keys in
your resource bundle. I would imagine you'd want to display an alert box.
However, since you are already inside the business layer, the more common
approach is to just store the error message in the key to then display in
your page.

HOpe this helps!!!


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 4:10 PM
To: [EMAIL PROTECTED]
Subject: RE: javascript and struts1.0.2


Juan,
Pardon me for mailing to u but Juan, if I get an error from the business
layer and I have to show javascript alert how will I use the validator tag
to display the error.
Any examples with the code will be really helpful.

Regards,
Taati
 -Original Message-
 From: Juan Alvarado \(Struts List\) [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:22 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2

 You can use the validator with struts 1.02. It just needs to be configured
 differently.  Take a look at the documentation on the web site.

 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]

 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:21 PM
 To: Struts Users Mailing List
 Subject: RE: javascript and struts1.0.2


 Thanks a lot
 But common validator is a part of struts1.1b right?It is stillin the beta
 version.How can I use that when it is nto stable yet?

 Regards,
 Taati
  -Original Message-
  From:   Juan Alvarado \(Struts List\)
 [SMTP:[EMAIL PROTECTED]]
  Sent:   Monday, May 13, 2002 3:11 PM
  To: Struts Users Mailing List
  Subject:RE: javascript and struts1.0.2
 
  Look into the validation framework!!!
 
  http://home.earthlink.net/~dwinterfeldt/index.html
 
  Good luck
 
  **
  Juan Alvarado
  Internet Developer -- Manduca Management
  (786)552-0504
  [EMAIL PROTECTED]
  AOL Instant Messenger: [EMAIL PROTECTED]
 
  -Original Message-
  From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 13, 2002 3:13 PM
  To: [EMAIL PROTECTED]
  Subject: javascript and struts1.0.2
 
 
  Struts guys,
  A help and review required urgently.I am using struts1.0.2 and I
  have to show the errors(validations ,ActionErrors) in the form of
  javascript
  alerts. I found  that struts 1.0.2 does not support javascript. I
 handled
  this by writing the alerts in the applicationresources.properties and
 that
  way I was within the framework and did not have to do much of extensive
  coding. Is this approach correct or is there some other better way?
  TIA
  Regards,
  Taati
 
 
  --

 --
 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: javascript and struts1.0.2

2002-05-13 Thread Juan Alvarado \(Struts List\)

Mark G. you wanna give this guy a hand?

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:51 PM
To: Struts Users Mailing List
Subject: RE: javascript and struts1.0.2


Juan,

I do not think so.Struts 1.0.2 is in alpha version and struts 1.1b is in
beta version.Atleats thats what the docs tell me

Regards,
Taati
 -Original Message-
 From: Juan Alvarado \(Struts List\) [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:43 PM
 To:   Struts Users Mailing List
 Subject:  RE: javascript and struts1.0.2

 Mark forgive me, but did you say struts 1.02 is also in beta Does that
 mean that struts 1.1 is in alpha version then???

 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:39 PM
 To: 'Struts Users Mailing List'
 Subject: RE: javascript and struts1.0.2


 1.0.2 is beta, also.  1.1b is where Struts is going.  If you plan to
 upgrade
 from 1.0.2 it's better to do it now than wait.  Further, we have found
 1.1b
 to be remarkably stable.

 Mark

 -Original Message-
 From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 13, 2002 3:21 PM

 Thanks a lot
 But common validator is a part of struts1.1b right?It is stillin the beta
 version.How can I use that when it is nto stable yet?

 Regards,
 Taati

 --
 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]




Problem with struts 1.1 and iWS 6.0

2002-05-13 Thread Juan Alvarado \(Struts List\)

Has anyone experienced running struts 1.1B in iPlanet Web Server 6.0. I keep
on getting the following error when going to index.jsp on the example
application that ships with struts:

[13/May/2002:18:02:10] failure (  924): Internal error: Unexpected error
condition thrown (unknown exception,no description), stack:
java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.LogFactoryImpl
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
at
org.apache.struts.util.MessageResources.init(MessageResources.java:105)
at
org.apache.struts.util.PropertyMessageResources.init(PropertyMessageResour
ces.java:123)
at
org.apache.struts.util.PropertyMessageResourcesFactory.createResources(Prope
rtyMessageResourcesFactory.java:90)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources
.java:558)
at org.apache.struts.taglib.html.HtmlTag.clinit(HtmlTag.java:94)
at _jsps._index_jsp._jspService(_index_jsp.java:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:247)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
ava:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
065)
at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)

Everything that should be in WEB-INF/lib is there; including
commons-logging.jar

Any suggestions would be appreciated.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: some help ...

2002-04-26 Thread Juan Alvarado \(Struts List\)

Rahsma, have you ever heard of the phrase I've bitten off way more than I
can chew???

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: reshma deshpande [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:22 PM
To: [EMAIL PROTECTED]
Subject: some help ...



Hi!

I have a little question, if you could please answer it...

I am pretty new to the Java environment (just have read some tutorials on
Java, JSP etc) but dont have much of a real-time coding experience. I have
got a job, and I would soon be working on Struts. Before I start working on
it, I would like to utilize my time well in learning what would be most
useful for me, from the point of view of starting with Struts and being
comfortable in the same, as soon as possible. I have around 15-20 days for
that. Could you please suggest what I should start with, and also a few
tutorials and books. (in short, could you please tell me what I should study
for the next 15-20 days and from where) that would help me the most for
starting off comfortably with Struts..

Not many people know about Struts (infact, as of now I too dont :) and hence
I am pretty much lost and confused with what  how to study... Any help from
you would be greatly appreciated !!

Thanks!
Reshma









-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


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




RE: some help ...

2002-04-26 Thread Juan Alvarado \(Struts List\)

I agree with you Ajay. Mark Galbreath is like Jim Rome. At first you hate
him and then after a while you can't help but like him due to his different
type of humor.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Ajay Chitre [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:49 PM
To: Struts Users Mailing List
Subject: RE: some help ...


Hang in there, Mark!  Some of us are beginning to like you... I guess!

Your sense of humor is a little bit - different (for lack of a better
word!).
 One has to get used to it, I guess!  Believe me I am trying!

By the way, Reshma is a she not a he  :) :)




-- Original Message --
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: some help ...
Date: Fri, 26 Apr 2002 16:37:01 -0400


Geez...where's your sense of humor?  I knew you guys would come to his
rescue, and I would have if not.

A few of you guys need to take a break and drink a beer or three.

-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:33 PM
To: Struts Users Mailing List
Subject: RE: some help ...


What you should start with depends upon your background.  I will assume
you

are rational and intelligent, unlike some might.  Have you  coded with

ASP?  Where are you in terms of your knowledge of web coding
generally.  Since you seem to have obtained a job, I assume you have some

considerable experience.

Micael

At 04:29 PM 4/26/02 -0400, you wrote:
A reality check?

-Original Message-
From: reshma deshpande [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:22 PM

I am pretty new to the Java environment (just have read some tutorials
on
Java, JSP etc) but dont have much of a real-time coding experience. I
have
got a job, and I would soon be working on Struts. I have around 15-20
days
for that. Could you please suggest what I should start with?

--
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]


Ajay Chitre

Diligent Team, Inc.
(Where Diligent People Work as a Team)

http://www.DiligentTeam.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: Re[2]: Anyone Using Struts with JDeveloper9i and/or BC4J?

2002-04-25 Thread Juan Alvarado \(Struts List\)

I briefly used JDeveloper 9i and it did have tag support for Struts. Take a
look at the documentation, it shouldn't be too hard to use. I stopped using
it because the thing is a memory hog and it runs to slow.

I'm back to VAJ 4.0

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 12:39 PM
To: Struts Users Mailing List
Subject: Re[2]: Anyone Using Struts with JDeveloper9i and/or BC4J?


On Thursday, April 25, 2002, 12:12:14 PM, dhay wrote:

dlc Yeah, but any tag support?

 Just curious, do any of the IDEs have tag support for Struts?

dlc Dave





dlc James Holmes [EMAIL PROTECTED] on 04/25/2002
11:12:48
dlc AM

dlc Please respond to Struts Users Mailing List
dlc   [EMAIL PROTECTED]

dlc To:   Struts Users Mailing List
dlc   [EMAIL PROTECTED]
dlc cc:(bcc: David Hay/Lex/Lexmark)
dlc Subject:  Re: Anyone Using Struts with JDeveloper9i and/or BC4J?



dlc I have developed a JDeveloper Addin that allows the
dlc Struts Console to be plugged into JDeveloper.

dlc http://www.jamesholmes.com/struts/

dlc -james
dlc [EMAIL PROTECTED]
dlc http://www.jamesholmes.com/struts/


dlc --- [EMAIL PROTECTED] wrote:


 Does it have any struts support at the moment?

 Dave



 Steve Muench
 [EMAIL PROTECTED] on
 04/24/2002
 11:25:49 AM

 Please respond to Struts Users Mailing List


dlc [EMAIL PROTECTED]

 To:   Struts Users Mailing List


dlc [EMAIL PROTECTED]
 cc:(bcc: David Hay/Lex/Lexmark)
 Subject:  Anyone Using Struts with JDeveloper9i
 and/or BC4J?



 With our JDeveloper 9.0.2 release nearly out the
 door,
 we are feverishly working on new features for our
 next
 release (9.0.3).

 One of these areas is making JDeveloper9i an even
 better
 environment to model, code, debug, profile, build,
 source-control, and deploy Struts applications that
 work with relational databases.

 A sub-part of this theme is making our Business
 Components
 for Java (BC4J) J2EE framework even easier to
 plug-in as
 the Model layer of a Struts application.

 I'm interested in (offlist or onlist) feedback in
 what
 troubles or triumphs people have had trying to use
 JDeveloper9i and/or BC4J with Struts so that we can
 fold that feedback into our next product version to
 polish any existing rough edges.

 Thanks.


dlc __
 Steve Muench - Developer, Product Mgr, Evangelist,
 Author
 Simplify J2EE and EJB Development with BC4J

dlc http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
 Building Oracle XML Apps,
 www.oreilly.com/catalog/orxmlapp


 --
 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]



dlc __
dlc Do You Yahoo!?
dlc Yahoo! Games - play chess, backgammon, pool and more
dlc http://games.yahoo.com/

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








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



--

Rick
mailto:[EMAIL PROTECTED]

I bet a fun thing would be to go way back in time to where there was
going to be an eclipse and tell the cave men, 'If I have come to
destroy you, may the sun be blotted out from the sky.' Just then the
eclipse would start, and they'd probably try to kill you or something,
but then you could explain about the rotation of the moon and all, and
everyone would get a good laugh.
  -Jack Handey


--
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]




Beans + Internationalization + Struts

2002-04-23 Thread Juan Alvarado \(Struts List\)

I am working on a site that is both in spanish and english.

Whenever tomcat starts up, I load into application scope a product list
class which contains an ArrayList of ProductBeans.  Since the user is going
to be presented with a choice of viewing the site in spanish or english, I
need to know if anyone has a clean way of displaying the correct ProductBean
properties in their respective locales. For example, I have a ProductBean
with two fields: descriptionEs and descriptionEn.

My solution was going to be to do a check in the JSP to see which locale the
user chose. Then I would use the struts logic tags to  pull out the correct
property from the bean for the correct locale

In my jsp I would have something like:

if( locale == es ){
productBean.getDescrtiptionEs();
}
of course the above would be changed to be used with the struts logic tags.

I don't particularly like this approach because it involves putting too much
logic into the JSPs. What I would like is to just call the
productBean.getDescription() method and have the correct value come back
according to what locale the user chose.

If anyone can give me any feedback or ideas I WOULD greatly appreciate it.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Validator and Dates

2002-04-23 Thread Juan Alvarado \(Struts List\)

Does anyone know if there is a date validator that can be plugged into the
struts validator. What I need is to make sure that a user enters a valid
date range. In other words the date range of november 4th, 1970 to november
4th 1969 is invalid.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Validator and Dates

2002-04-23 Thread Juan Alvarado \(Struts List\)

Good point Eddie; I definetely agree with you.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 6:35 PM
To: Struts Users Mailing List
Subject: Re: Validator and Dates


Client-side validation should supplement, not replace, server-side
validation - should it not?

I know several people who are certain that every web site they go to is
going to find out their deepest, darkest secrets if they enable
javascript/cookies.

While I agree that JavaScript is a handy tool, I feel it should be a
supplement to - not a replacement for - server-side validation.

Sorry I don't know of a date-validation routine for the validator, Juan, but
I just had to add my 2 cents in.


- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 5:30 PM
Subject: RE: Validator and Dates


 Use JavaScript.

 Mark

 -Original Message-
 From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 23, 2002 6:16 PM
 To: Struts
 Subject: Validator and Dates


 Does anyone know if there is a date validator that can be plugged into the
 struts validator. What I need is to make sure that a user enters a valid
 date range. In other words the date range of november 4th, 1970 to
november
 4th 1969 is invalid.

 Thanks in advance

 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [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]



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




Logic inside iterate tag

2002-04-18 Thread Juan Alvarado \(Struts List\)

Can anyone tell me what the proper way to convert the scriptlets in the
below code to the correspoding struts tags.

Since I am working with a two dimensional array here, I am sort of confused
as to how to integrate it with the struts tags.  Any help with this is
greatly appreciated.


html:select property=dateRangeMonthFrom
logic:iterate id=calendar name=mc property=months scope=session
% String[] dateRangeMonthFrom = (String[])calendar; %
html:option value=%=dateRangeMonthFrom[1]%%= 
dateRangeMonthFrom[0]
%/html:option
/logic:iterate
/html:select



**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Logic inside iterate tag

2002-04-18 Thread Juan Alvarado \(Struts List\)

Thanks for the quick reply.  I'll give the options tag a try.

Thanks

P.S. Sorry for the repeat post. I made the mistake of searching under
iterate instead of the options tag in the list. That's why I probably came
up empty.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 2:55 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Logic inside iterate tag




Just posted an example on this - lots in the archive.  Basically don't want
t
use iterate at all.  In your form bean load a collection with beans with
label
and value attributes, and then use the html:options tag.

Much cleaner!!

Cheers,

Dave

PS  Don't forget the bean:define if you are not using html:optionCollection
tag.




Juan Alvarado \(Struts List\)
[EMAIL PROTECTED] on 04/18/2002 02:15:01 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]; Please respond
to
  [EMAIL PROTECTED]

To:   Struts [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  Logic inside iterate tag



Can anyone tell me what the proper way to convert the scriptlets in the
below code to the correspoding struts tags.

Since I am working with a two dimensional array here, I am sort of confused
as to how to integrate it with the struts tags.  Any help with this is
greatly appreciated.


html:select property=dateRangeMonthFrom
 logic:iterate id=calendar name=mc property=months
scope=session
  % String[] dateRangeMonthFrom = (String[])calendar; %
  html:option value=%=dateRangeMonthFrom[1]%%=
dateRangeMonthFrom[0]
%/html:option
 /logic:iterate
/html:select



**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [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: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Juan Alvarado \(Struts List\)

I believe that for the $100 my company spent on the IDE I use, they have
gotten their money's worth 10 times over. Tell me this, what happens after
you add your famous println with your famous xemacs editor. You go shut
down the app. server restart it and then you finally get to debug your
problem.

This is not the case when you are using a properly configured IDE. I
guarantee you that in the time you added your strategized about where to put
your GREAT 'println' statement with your 'xemacs' editor, I would have
debugged the problem and moved on to something else using an IDE.

Basically my point about 'println' is that they make the developer waste
time on doint things that there are great tools for, and ultimately all that
time you spend on 'println' is money you are costing your company.

I believe however that for some developers they will never believe in this
since they think that by using an IDE they would be taking a step down
instead of a step up.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 9:25 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [Resend]Too Slow: Debug Struts + Torque project using
JBuilder5


Perhaps less of a waste of time than waiting on the debugger (the problem
that started this thread) then stepping through lots of code. Much quicker,
and more enlightening,  to think about the problem (as someone else
suggested) then insert a println in a strategic location. Also, using xemacs
to add a println statement will likely consume a lot less of your companies
money than that fancy IDE you want.


- Original Message -
From: Juan Alvarado (Struts List) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 6:02 PM
Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5


 System.out.println() is a great tool if you want to waste your time and
your
 company's money. I would suggest investing in an IDE you feel comfortable
 with.


 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 5:58 PM
 To: 'Struts Users Mailing List'
 Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using
 JBuilder5


 System.out.println().

 ;-)

 Mark

 -Original Message-
 From: Annie Zhang [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 5:02 PM

 Which is the best debug tool for Struts+Torque projects?

 --
 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: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Juan Alvarado \(Struts List\)

To begin with, I don't see the need for an IDE to debug JSPs. My main need
of debugging comes on the business side of things.

I guess there must be thousands if not hundreds of thousands of code
weenies around the world doing their java development. I'm also sure these
people are not developing quality code at all and that they are developing
worthless applications because they are weenies. Of course a guy like
yourself Mark who is such a code stud doesn't need any of the tools of the
trade and I'm sure all of your development is done on some text editor and
all of your debugging is done with your suggested system.println.

Unfortunately, the rest of us are not as gifted as you and we have to rely
on the tools for weenies as you like to call them.

We weenies will go ahead and leave the tools for studs like you
(system.out.println) alone so that god forbid we don't ever become such a
java stud as yourself.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 9:58 AM
To: 'Struts Users Mailing List'
Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using
JBuilder5


Not to mention that debuggers don't work on JSPs that rely upon EJBs for
their data.  IDEs are for code weenies.

Mark

-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 9:25 AM

Perhaps less of a waste of time than waiting on the debugger (the problem
that started this thread) then stepping through lots of code. Much quicker,
and more enlightening,  to think about the problem (as someone else
suggested) then insert a println in a strategic location. Also, using xemacs
to add a println statement will likely consume a lot less of your companies
money than that fancy IDE you want.


- Original Message -
From: Juan Alvarado (Struts List) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 6:02 PM
Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5


 System.out.println() is a great tool if you want to waste your time and
your
 company's money. I would suggest investing in an IDE you feel comfortable
 with.


 **
 Juan Alvarado
 Internet Developer -- Manduca Management
 (786)552-0504
 [EMAIL PROTECTED]
 AOL Instant Messenger: [EMAIL PROTECTED]

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 5:58 PM
 To: 'Struts Users Mailing List'
 Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using
 JBuilder5


 System.out.println().

 ;-)

 Mark

 -Original Message-
 From: Annie Zhang [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 5:02 PM

 Which is the best debug tool for Struts+Torque projects?

 --
 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]



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




RE: Which Version of Struts to Use??

2002-04-15 Thread Juan Alvarado \(Struts List\)

I agree with you Bill. Some people in this list have no idea what
friendliness is and they always have to find a way to make smart ass
comments about just about every post that they don't like just to make
themselves feel better and boost their egos or lack thereof.

But please don't let that discourage you from coming back to the list. The
majority of the people are very nice and they are willing to help. I have to
say I've gotten a lot out of this list in the short time I've used struts.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Bill Page [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 10:43 AM
To: Struts Users Mailing List
Subject: RE: Which Version of Struts to Use??


I think I understood exactly what he meant.  But I've only been in this
line of work for a little over thirty years so I too may have something to
learn.  An answer that addressed when it would be out of beta might have
helped more than your answer.  An additional sentence about your assumption
that that is what he meant would have clarified it further.  OTOH his
response was not necessary or helpful either.

These lists work best when we are all civil, helpful, and friendly.

regards
bp

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 7:08 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Which Version of Struts to Use??


 In the world of software, standard and stable are two
 very different
 things and if you don't know enough to articulate the
 difference between
 them, you had better find another line of work and not expect
 people who do
 know the difference to read your mind.

 Mark

 -Original Message-
 From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 12:26 AM
 To: [EMAIL PROTECTED]
 Subject: Fwd: Which Version of Struts to Use??


 Some genius could not figure out what I meant by the standard
 release.  Let me change that to stable release.  What I am
 trying to
 find out is whether the new features being put into the
 beta will likely
 be stable by August-September.  I would have thought that was
 obvious, but
 I guess not.

 If anyone has a reasonable guestimate, I would greatly appreciate
 that.  Thanks,

 Micael


 Date: Sat, 13 Apr 2002 08:14:42 -0700
 To: [EMAIL PROTECTED]
 From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
 Subject: Which Version of Struts to Use???
 
 TWIMC:
 
 We are about to build a commercial site using struts.
 Should we start
 with beta rather than the standard release?  The eta for the site is
 August-September.  The reason I ask is that struts seems to
 be in the
 middle of some major functionality shifts.
 
 Thanks of any assistance.
 
 Micael



 --
 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: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread Juan Alvarado \(Struts List\)

System.out.println() is a great tool if you want to waste your time and your
company's money. I would suggest investing in an IDE you feel comfortable
with.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 5:58 PM
To: 'Struts Users Mailing List'
Subject: RE: [Resend]Too Slow: Debug Struts + Torque project using
JBuilder5


System.out.println().

;-)

Mark

-Original Message-
From: Annie Zhang [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 5:02 PM

Which is the best debug tool for Struts+Torque projects?

--
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]




Problem with javascript tag

2002-04-03 Thread Juan Alvarado \(Struts List\)

I am trying to use the html:javascript formName=formName/ tag with the
validator frame work, and all that is output to the browser is the actual
javascript code.

The reason is that at the beginning of the code, there is no script
language=javascript definition.

At the end of the code there is the following output:
//  End --
/SCRIPT

So the reason I see a whole bunch of javascript in my page is because there
is no beginning javascript tag. However I cannot figure out why this is
happening.

If anyone has any suggestions, please send them to me.

Thanks in advance,

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)

After following the directions for installation of the 1.1 beta of struts, I
got the following message when I started tomcat:

The lib folder of my app contains all the jar files that I believe are
needed. Additionally, my classpath is set to include jaxp.jar, crimson.jar
and jdbc2_0-stdext.jar as it is instructed in the installation
documentation.

Can anybody please tell what might be wrong.

Thanks


2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
java.lang.Cla
NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -
org.apache
ommons.logging.LogConfigurationException: java.lang.ClassNotFoundException:
or
apache.commons.logging.impl.LogFactoryImpl
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:49

at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:35

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:33

at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown
Source)
at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at
org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(Unkno
 Source)
at org.apache.tomcat.core.Context.init(Unknown Source)
at org.apache.tomcat.core.ContextManager.init(Unknown Source)
at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(Unknown
urce)
at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unkn
n Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
Sou
e)
at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
at org.apache.tomcat.startup.Main.execute(Unknown Source)
at org.apache.tomcat.startup.Main.main(Unknown Source)

EmbededTomcat: Init time 9223
2002-03-28 09:03:18 - Http10Interceptor: Starting on 8080
2002-03-28 09:03:18 - Ajp12Interceptor: Starting on 8007
2002-03-28 09:03:18 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 91

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)

Thanks for the quick reply. I will give it a try also.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 9:38 AM
To: Struts Users Mailing List
Subject: Re: Problem starting struts beta 1.1


Juan Alvarado (Struts List) wrote:
 2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
 2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
 java.lang.Cla
 NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -

I had exactly the same problem when we switched from Weblogic 6.1 sp1 to
sp2. Under both sp1 and tomcat 4.0 all worked fine.

I worked around the problem by putting the commons-logging.jar in the
server classpath (not in WEB-INF/lib). This is not the ideal solution if
you have more than 1 application running in the server, though.

Anyone knows what is the cause of this problem?

--
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
Life is too short to drink cheap beer


--
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: Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)

A work around for this in Tomcat 3.3a is to put the commons-logging.jar in
the /lib/common folder.

The documentation does not state this. It would be nice to know if this is a
bug, or if this is the way the designers implemented it.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 9:38 AM
To: Struts Users Mailing List
Subject: Re: Problem starting struts beta 1.1


Juan Alvarado (Struts List) wrote:
 2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
 2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
 java.lang.Cla
 NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -

I had exactly the same problem when we switched from Weblogic 6.1 sp1 to
sp2. Under both sp1 and tomcat 4.0 all worked fine.

I worked around the problem by putting the commons-logging.jar in the
server classpath (not in WEB-INF/lib). This is not the ideal solution if
you have more than 1 application running in the server, though.

Anyone knows what is the cause of this problem?

--
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
Life is too short to drink cheap beer


--
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]




Templates and iPlanet

2002-03-26 Thread Juan Alvarado \(Struts List\)

I am trying to use the struts template mechanism in iPlanet Web Server 6.0,
and whenever I come to a page in the form of:

%@ taglib uri=/WEB-INF/struts-template.tld prefix=template %
template:insert  template='/commonElements/ceElUniversalTemplate.jsp'
template:put name='title'  content='Buscador - El Universal' 
direct='true'
/
template:put name='header' content='/commonElements/ceTopBar.jsp' 
/
template:put name='sidebar'
content='/commonElements/ceLeftBar.jsp' /
template:put name='content'content='/article.jsp' /
template:put name='rightBar'   
content='/commonElements/ceRightAdBar.jsp'
/
/template:insert

iPlanet does not display the page and the error log contains the following
message:

 root cause: javax.servlet.jsp.JspException:
D:\iplanet\eudcontent\commonElements\ceTopBar.jsp(41,78) Bad file argument
to include
at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:149)
at _jsps._viewarticle_jsp._jspService(_viewarticle_jsp.java:260)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:247)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
ava:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
065)
at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
r.java:959)
at com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
her.java:48)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
etRunner.java:897)
at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
065)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSS


On tomcat I don't have any problems with templates.

If anyone has experienced this problem or a similar one, please let me know
what solution if any worked for you.

Sincerely,

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Application scope beans

2002-03-25 Thread Juan Alvarado \(Struts List\)

John:

The following snipet of code should handle what you need:

Object someObject =
(Object)servlet.getServletContext().getAttribute(nameOfObjectHandleInApplic
ation);

The reference to Object above would of course be replaced with the class
name of the object you are trying to access.
Also, the code above assumes you are calling the servlet from within an
Action.

Please let me know if this works for you.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: John Jones [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 23, 2002 11:00 AM
To: Struts Users Mailing List
Subject: Application scope beans


Does anyone out there know how to access objects in application scope from a
servlet? We want to have a startup servlet that puts a bunch of beans in
application scope on application server startup.


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




message keys

2002-03-21 Thread Juan Alvarado \(Struts List\)

I am trying to ouput the following:

a href=http://some.website.com;img src=bean:message
key=url//home10-08-00/img/b_cvfut.gif width=93 height=56
border=0/a

The problem is that the call to bean:message... returns nothing but plain
text. I have even tried it with single quotes and no luck.

If anybody knows a work around for this, please let me know.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Struts with apache and tomcat

2002-03-19 Thread Juan Alvarado \(Struts List\)

Could anyone tell me where I can find somewhat easy to follow instructions
for integrating tomcat and struts into apache web server. I tried looking in
the tomcat list, but that has been down for about a day now.

I got the impression that the instructios that come with tomcat installation
for apache were not very detailed.

I appreciate any help anyone can provide here.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: setting server side parm in Javascript?

2002-03-18 Thread Juan Alvarado \(Struts List\)

Theron:

You might be able to accomplish what you need by doing the following:

Place a transparent 1 by 1 pixel image on your page somewhere.

When ever an event occurs that you want tab 4 to be reloaded, call a
javascript function that will reset the img src value of your image with the
proper action you need for that event. In the call you will need to pass the
parameters you need to the action in order to properly reload tab 4 with the
correct data. I don't remember the exact syntax to do this, but I'm sure it
won't be that hard for you to look it up.

What will happen is that you won't be submitting the form, but will actually
be calling the action by resetting the img src of your hidden image. One
thing also, you will need to pass a random number every time you reset the
img src to avoid caching issues.

I've tried this before with succesfully, although not for the type of
application you're working on.

Let me know how you make out.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 10, 2002 5:33 PM
To: Struts Users Mailing List
Subject: setting server side parm in Javascript?



Hi Folks:

I'm doing a mimic-JTabbedPane approach.   I have a screen with 5 tabs.I
am using 1 form object and 5 action mappings...

On tab 4, I'd like to detect changes made to a field on tab 1. I notice
I can change the field on tab 1 but tab 4 does not know about until the
form is submitted.I can't submit the form...

I'd like to have a Javascript handler that implements the onchange() and
somehow sets a session attribute or some kind of trigger that tells tab 4
to reload itself when this field on tab 1 has changed.I notice if I
change these values, the form object will not get the new values until you
hit submit.Having the javascript function call submit is not an option
either...   Any ideas on how best to do this??

If I could access my form-bean directly within the Javascript method, that
would be an option to (as I could call the set method on the form object)
but I am not sure if the javascript can access the form object directly and
call a set method?

thanks,
Theron


--
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]




Question about Locales

2002-03-11 Thread Juan Alvarado \(Struts List\)

I have the following requirement in my application. I need to display a list
of products with product descriptions. This list is generated from the
database and that is how I will build an array Product beans into a
ProductList bean. My requirement is that I need to display both spanish and
english product descriptions on my pages. So I think I will need to have two
separate beans. One Product bean will hold product information in spanish
and another product bean will hold product information in english.

When a use comes to the site he/she will be given the option how they want
to view the site (spanish or english version). If they choose spanish, I
would want to use the ProductList bean that holds an array of ProductBean
objects. If they choose english they would get the english version of the
ProductList bean. Both ProductList beans are usually loaded into application
scope when the container starts up.

If anyone has had any experience integrating this type of solution for
internationalization, or knows how to go about doing this within struts, I
would greatly appreciate any information you could share with me. I have
looked in the archives and I did not find any information specific to my
needs.

Thanks in advance.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: How to pass parameters to actions ? action.do?variable=value

2002-03-08 Thread Juan Alvarado \(Struts List\)

I have succesfully done this.

Give it a try!!!

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Mâris Orbidâns [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 2:35 PM
To: Struts Users Mailing List
Subject: How to pass parameters to actions ? action.do?variable=value


hello

I need to create links with different parameters. Can I pass them
directly to actions ?

like this aaction.do?variable=value/a

Does the Struts servlet do POST and GET ?

thanx
Maris Orbidans


--
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: Struts MySQL Hosting

2002-03-01 Thread Juan Alvarado \(Struts List\)

What does STFW mean???

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 9:41 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts  MySQL Hosting


STFW

Mark

-Original Message-
From: Matt Koidin [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 9:39 AM
To: Struts Users Mailing List
Subject: Struts  MySQL Hosting


I have a small web site built using Struts with a simple JDBC connection
to a MySQL database - can anyone recommend a good site hosting company
that can support my configuration?

Thanks,
Matt

--
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: Get MessageResource in ActionForm

2002-03-01 Thread Juan Alvarado \(Struts List\)

I do the following in the perform method of my action classes:

//Load our message resources
MessageResources messages= getResources();
String message = messages.getMessage(messageString);

This works for me. I hope it helps!!!

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 11:08 AM
To: Struts Users Mailing List
Subject: Re: Get MessageResource in ActionForm


Struts Newsgroup (@Basebeans.com) wrote:

 can someone give me a hint, how i can access MessageResources (From
 ApplicationResources.properties) within a Subclass of ActionForm???

 My prpoblem is, the ActionForm does not know anything about the
 ActionServlet, and so I have no Chance to get the Messages within
 ActionForm.

 I tried this:
 servlet.getMessageResources().getMessage(STRING_TO_LOOK_UP);

 But servlet and getServlet returns null.

Are you using the nightly build?  One used to be able to use
getServlet().getResources() from an ActionForm, but
ActionServlet.getResources
has been deprecated.  Last time I tried it, it didn't seem to be working any
longer either.

Currently I'm getting the resources by calling
request.getAttribute(Action.MESSAGES_KEY).

Bruce


--
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: internationalisation

2002-02-28 Thread Juan Alvarado \(Struts List\)

How would you internationalize lets say product information that would be
generated from a database query???

Is there a standard way of doing this withing struts??

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Rob Breeds [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 8:56 AM
To: Struts Users Mailing List
Subject: Re: internationalisation



Struts supports this very well. You just add the resource properties files
you need and Struts uses the correct one according to browser language
setting.

Errors and messages use keys to lookup values in the resource properties.

Rob





Struts
NewsgroupTo:
[EMAIL PROTECTED]
(@Basebeans.co   cc:
m) struts   Subject: internationalisation

28/02/2002
13:40
Please respond
to Struts
Users Mailing
List






Subject: internationalisation
From: Damien Wavrant [EMAIL PROTECTED]
 ===
how to internationalized an application using struts, like errors messages
per example ?
Is it possible to load dynamicaly a different
ApplicationRessource.properties (ApplicationRessource_FR.properties,
ApplicationRessources_US.properties) when user change the language ?

Thank



--
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]




Messages

2002-02-28 Thread Juan Alvarado \(Struts List\)

Could someone tell me how to retrieve messages stored in my
ApplicationResources properties file from the perform method in my Action
class. I'm not sure if this is possible or not, but I figured it's
essentially the same thing the html:errors tag does in a JSP, but the only
difference is that I am looking for a specific message.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




File Upload

2002-02-28 Thread Juan Alvarado \(Struts List\)

Is it possible to use the file upload capabilities of struts so that you can
have regular form controls as well as the file upload on the same form. In
other words, is struts capable of handling this multi-part request at once.

Thanks for your help.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Question regarding struts html tags

2002-02-26 Thread Juan Alvarado \(Struts List\)

Andrew:

This helps a lot. However what do you think of the following. All I do is in
my form bean I set the value of the form bean property that corresponds to
my html radio button so that the first time the user comes to the page, that
radio button is checked. After the user submits the form, the radio button
that will be checked is the one that the user selected.

Thanks for the quick response.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:56 PM
To: Struts Users Mailing List
Subject: Re: Question regarding struts html tags



I had exactly the same problem recently because there is no checked
option on a html:radio tag.  Originally, this made no sense to me but
became clearer when I understood how forms work in Struts and that the
current value of the property sets the checked option.  But there is still
the problem of the first time the user comes into a form...

Here's some javascript I wrote to do this:

//
// This method sets up a radio button with defaults.  It will select the
first
//   radio button if there is not one currently selected.
//
function initRadio(radio) {

 // If there are multiple items
 if (radio.length !== undefined  radio.length  0) {
  var i;
  var onechecked = false;
  for (i = 0; i  radio.length; i++) {
   if (radio[i].checked) {
onechecked = true;
break;
   }
  }
  if (!onechecked) {
   radio[0].checked = true;
  }
 // Else if there is one item
 } else if (radio.value !== undefined) {
  radio.checked = true;
 }

}

Here is an example of how to use it on a JSP:

...
body bgcolor=white onload=initRadio(document.sampleForm.objectID);
...

Hope this helps.


To Struts developers:What do you think about adding this functionality
in a future release?




Andy


Andrew Goodnough
Dana Commercial Credit
Programmer




Juan
AlvaradoTo: Struts Users Mailing List
[EMAIL PROTECTED]
jalvarado@macc:
nduca.com   Subject: Question regarding
struts html tags

02/26/2002
03:20 PM
Please
respond to
Struts Users
Mailing List





Hello:

I have an application that uses a set of radio buttons as well as other
form
controls. The first time the user comes to the page, I would like a
specific
radio button selected. After that, if the user submits the form and then
comes back to the page, I'd like the button they selected to be the one
pre-checked in the page. Usually this is the sort of thing I wrote logic
for, but from the way I've seen struts works, I'm thinking there's got to
be
a way to accomplish this.

Your help is greatly appreciated.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [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: EJB = bad = MS.net

2002-02-21 Thread Juan Alvarado \(Struts List\)

Wasn't this suppose to be a Struts mailing list???

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 6:37 AM
To: Struts Users Mailing List
Subject: Re: EJB = bad = MS.net


Anyone who cares about this, go here... lots of forums about just this
topic...
http://www.theserverside.com

Now for something completely different... Struts!

Arron.

PS: My bet is that Vic wont post his mail on theserverside.com

keithBacon wrote:

2. I do not want majority of market to go to MS.net. That is why I wish
  that more J2EE projects are successful.

Yes yes yes!
What's the proper list for this really interesting discussion? We are
cluttering up the struts list here.
We need opinions from developers who have succeedsed in EJB
implementations,
had problems with them  managers who understand the issues.
There are a lot of software envangelists around. The sceptics should be
listened to. It's too complicated to prove a case using theory - the only
safe
guide is to find some-one else that has done what you want to do  copy
them.
Apart from the lucky few at the real leading edge of technology most of us
trying to write commercial quality systems should be using old(ish) proven
technology  stable releases of products.
Only a certain(?) percentage of developers are capable of writing decent
systems using new technology. It seems to me these people have used EJB in
a
limited way quite OK. And others have made a total mess out of them.
They say about 40% of large projects fail - how many EJB developments
succeed?
Managers like developers that get joy from delivering cost effective
functionality rather than using flash technology. Enough already..



--- Struts Newsgroup [EMAIL PROTECTED] wrote:

Subject: Re: EJB = bad = MS.net
From: Vic Cekvenich [EMAIL PROTECTED]
 ===
Let me clarify and then do some paid work back here.

1.I think ejbs are not scalable relative to other Java API.

2. I do not want majority of market to go to MS.net. That is why I wish
  that more J2EE projects are successful. (And hence I say use EJB
sometimes, not always, and consider the pros and cons.)

Maybe PHBs like EJBs, I don't; and that is my opinion, but maybe not
politically correct.
Vic



Couball, James wrote:

Depends on the project requirements.

Transactions across multiple data sources being a big one.
Large and scalable being another.

...what are the others?

Although his words say something different, maybe Vic is arguing that MS
does this better/easier/cheaper than J2EE -- not that J2EE is
fundamentally
bad.

James.

-Original Message-
From: Pu Huang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 11:37 AM
To: 'Struts Users Mailing List'
Subject: RE: EJB = bad = MS.net

Depends on the project size.


-Original Message-
From: Thompson, Darryl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 2:28 PM
To: Struts Users Mailing List
Subject: RE: EJB = bad = MS.net


 I STRONGLY disagree with this statement. We have been doing EJBs for 2
yrs
at my shop. Our Order Entry system  uses EJBs to capture customer orders
in
36 cities (US) in every US timezone and we have had nothing but success.
By
the way there is NO reason to buy BEA weblogic unless you are running
EJBs
and don't trust JBOSS (which I do). Tomcat is much better at serving
webpages the WLS or Websphere, EJBs are one of the cornerstones of J2EE,
wake up Vic...


-Original Message-
From:   Vic Cekvenich [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, February 20, 2002 11:42 AM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject:EJB = bad = MS.net

Home page of Jakarta has this
http://jakarta.apache.org/site/news.html#0130.2
on this:
http://www.mail-archive.com/general%40jakarta.apache.org/msg03376.html

I agree. Doing EJBs is bad on many levels and creates more problems.
Avoid EJB if you want to stay in Java.

Alternative is to just use Struts + TomCat + RowSet (or DAO if you are
doing something simple or small) and done. This is the sweet spot. MVC
is all you need.

Alternative, do EJBs and your organization WILL switch to MS .NET on the
next project, leave J2EE, and you have to learn VB.net.

EJBs are for newbies. (If you need middleware (very rare) use SOAP)

lol,
Vic



--
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]


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

RE: EJB = bad = MS.net

2002-02-21 Thread Juan Alvarado \(Struts List\)

Good response Ghoot. This has probably been the best response to this whole
debate so far.

One thing I have learned about this whole discussion is that you definetely
should not marry yourself to one specific technology because that's when you
will get into the kind of non-sense this discussion has created at times.

I have never used EJB before and I was hoping to learn soon. But Vic says
that if you want to stay in java avoid EJB. My response to that is that if
you want to stay in java keep an open mind to everything including EJB.
That's where I stand on the issue.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 10:05 AM
To: Struts Users Mailing List
Subject: RE: EJB = bad = MS.net


This has been an interesting discussion on many levels, but there doesnt
seem to be much 'real world' substance there.

We have been developing enterprise software (some utilising EJB, some not)
since EJB were way back at 0.7 (ish) (1997). Systems with 1000's or 10,000's
concurrent users. We did it for real - NOT abstract theory.

What this discussion has highlighted is that age old thing inthe software
industry - bandwagon. You have the media/hype bandwagon, but you also have
the 'developer opinion' bandwagon, where certain opinions become flavour of
the month. Now it's EJB's are bad, it has been JSP's are bad and so on.

Let's get one thing straight - NO technology is perfect. So why do some
developers engage in 'my technology is better than yours' type holy wars ?
Because they are human and they dont know any better. Thats all. All of the
really good developers I've ever known have never subscribed to 'fixed
viewpoints' ie EJB = BAD, Microsoft = Evil, Java = whatever. Because they
really understand what technology is about.

Those who do dig their heels in on any particular standpoint, show only one
thing - their ignorance.

All technologies have their place and their uses. It's up to a competent
Architect to decide what's right for their problem domain. What's right for
mine, might not be right for yours. I mean this is elementary stuff ! But
many so called developers behave as if they are really engaged in a holy war
! This just makes me laugh :) Leave them too it is all I say...

Ultimately you have to make an INFORMED choice - there is no absolute right
or wrong way. This should be the number one lesson any developer ever
learns, but sadly many never learn it.

The beauty of becoming a good developer is to be able to make these informed
choices as you create your masterpiece, and not get stuck in the
narrow-minded arguments of 'my toy is better than yours' - wether it's an
OS, developer tool , language, technology choice or whatever. Because then
you resign yourself to reproducing copies of other peoples art. And you make
yourself look foolish in the process.

This email is not an attack on anyone, and especially not Vic. He has his
opinions. Maybe the way he expresses them doesn't appeal to some, and maybe
he did it with tongue in cheek to provoke a response. Who knows ? It
certainly reveals a lot about the kind of developer he is and thats enough
for me.

If more developers could have a more altruistic attitude towards the tools
they use, then more quality software would be built. I have built software
teams for many years, and I have never employed a developer who demonstrates
this 'small-minded' mentality. Why ? Because in this industry things (tools,
technolgies etc) change quicker than peoples attitudes ! So you have to
remain open-minded to succeed.

Ultimately, why argue over the tools you are using ? When it's the artwork
that really matters.

It's time for more developers to take responsibility in these matters. It's
easy to play the name calling game - children can do that. But it takes real
skill to develop good software, all the more if you are using 'less than
perfect' technologies. But that is also part of the challenge.

Finally, non-EJB solutions dont always outperfrom EJB solutions - AND VICE
VERSA ! We have software in production which operates with large-scale load,
using EJB's and the performance is excellent. But this doesnt mean I'm
saying EJB's are great. You can make them work for you, but it doesnt come
for free. And to say the are outright bad as a solution is simply
misinformed.

Like anything else, it's not a black and white situation.

Ghoot Emaho (ok, yes I'm a tree huggin hippy)

--
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: OReilly Struts book

2002-01-28 Thread Juan Alvarado \(Struts List\)

I agree with you T. that using an IDE to set breakpoints, step and watch
variables is the preferred method for debugging.

I have used Struts in Visual Age for Java 4.0 for a while now and I have
saved SO MUCH TIME in debugging. I have been able to debug and step right
through the Struts source, and errors which would have taken hours to find,
have taken me minutes. I just can't stress enough how important an IDE can
be for a developer. You can save yourself and the company you work for a lot
of time and money by being more productive and getting the work out a lot
faster by using these tools.

I believe that a chapter in the struts book about debugging with an IDE
would be a great way to teach people about how much more productive they can
be by using these tools, while at the same time making the book more
marketable.

JDA

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 12:34 AM
To: Struts Users Mailing List
Subject: RE: OReilly Struts book


Well if you have to add log statements in the code to trace  debug, I'd
call the old Fortran method.  The new way would be able to use the IDE to
step, use breakpoints, and display variables etc...  Any tools that can
provide these facilities would be of great help in general. If you can just
answer How to debug Struts apps? in a few pages or so, that'd be helpful.

T.

-Original Message-
From: Chuck Cavaness [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 7:31 PM
To: Struts Users Mailing List
Subject: RE: OReilly Struts book


Thanks for the input. I'm doing the 1.0/1.1 dependent chapters last. That
will give me time to see when it comes out and how I'm going to cover it.
Something on performance is a must. I'm not sure if it's a complete chapter
or whether it can fold into another one. Chapter 18 deals mostly with
logging and specifically integrating log4j into your web apps. Although
logging and testing are somewhat related, I think they would deserve
seperate coverage. I'll give the testing methodology some thought. Were you
thinking something like JUnit/JTest, that sort of thing? The development
environment idea is interesting, although I'm not sure that I could give it
adequate coverage. OReilly books tend to be a little smaller than something
like Que. It's going to be so fat as is...

My idea for appendix A was that it would be similar to the JavaDocs. All of
the classes/interfaces with public methods. That sort of thing.

Thanks again for the input,
Chuck

At 04:45 PM 1/27/2002 -0600, you wrote:
Very good TOC, Chuck!  Personally, I'd like more focus on Struts 1.1 (since
I've been using 1.0 for a while now) and EJB. Also, a chapter on
development
environment, like JDeveloper, JBuilder, Forte, etc. w/ Struts, brief
performance analysis on using Struts w/ Tomcat, JRun, WebLogic, WebSphere
etc... would be great.  Finally a chapter on testing methodology  with apps
using Struts would be a bonus (or is it chapter 18?).

Thanks,

Thinh

PS: BTW, is Appendix A organized like a Struts reference guide?


--
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]




Question about logic:equal

2002-01-21 Thread Juan Alvarado \(Struts List\)

I am using the logic:equal tag in the following way:

logic:equal name=user property=authorizationLevelId value=2
Some HTML goes here
/logic:equal

logic:equal name=user property=authorizationLevelId value=1
Some HTML goes here
/logic:equal

As you can see, the values are 2 and 1.

Is there any way to do this in one step with the struts tag. The HTML code
that goes inside the evaluation of the tag is the same. That is why I would
like to do it in one pass.

Thanks in advance,

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Has anyone seen this issue

2002-01-16 Thread Juan Alvarado \(Struts List\)

Hello Everyone:

I've come across an interesting issue that I'd like to share with everyone
with the hopes that someone might be able to provide an explanation or
solution.

I have a form with a bunch of text fields. One of these fields I want to
have disabled (disabled=true). So using the struts tag library I have the
following:

html:text property=role size=16 maxlength=16 disabled=true /

When I first load this form, everything is prepopulated as it should be in
the form. I submit the form leaving some fields blank so that I can ensure
my validation works. The validation works fine as the I am redirected back
to the form with the appropriate error messages. However, the text field
mentioned above (role), is no longer prepopulated. Everything else is except
that text field. I took out the disabled=true and submitted the form again
and the next time around the text field WAS prepopulated. I put back
disabled=true and the field WAS NOT prepopulated. So I realized that
disabled=true is causing a glitch somewhere.

After scratching my head for a while I decided to put the Visual Age
Debugger to use to see if I could see what was going on. This is what I
found out:

When I go to the form the very first time, the setRole(String role) method
in my form bean is getting called and therefore that property gets set. But
when I submit the form and I have disabled=true in the text field, the
setRole(String role) method never gets called therefore the property never
gets set. A very interesting thing is that I looked inside the request
object with the VAJ debugger and the role parameter is not there when I
submit my form to my validation action with disabled=true in the text
field. When I took out the disabled=true the role parameter was inside the
request. So the problem boils down to the fact that the parameter is not
included in the request object when using disabled=true and therefore does
not get set.

If anyone has seen this problem and has a fix or suggestion, please let me
know.

Thanks in advance

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: VAJ4 Struts

2001-12-26 Thread Juan Alvarado \(Struts List\)

This are the instructions I used and they worked. My environment is up and
running smoothly.

Let me know if this helps.

http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=
1


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 2:02 PM
To: Struts Users Mailing List
Subject: VAJ4  Struts



Hi folks,

I have been trying to setup Struts in VAJ 4 using Dennis Pagano's very
helpful
articles at http://www.noospherics.com/struts.htm. However, after doing
everything exactly as laid out in the articles and starting the
servlet engine and persistent name server, and then invoking
http://localhost:8080/strutsexample , I get Error 503  - Application is
currently unavailable for service. Same thing happens when I try to run
the Noos application.

Any help would be welcome.
Thanks and best,
Pritika.



--
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: VAJ4 Struts

2001-12-26 Thread Juan Alvarado \(Struts List\)

Pritika:

I got VAJ 4.0 professional working with struts using that article.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 3:11 PM
To: Struts Users Mailing List
Subject: RE: VAJ4  Struts



Hello Juan,

The article you have linked to is for VAJ 3.5.3 not 4.0. Which version of
VAJ did you get working
with Struts ?

Thanks and best,
Pritika.






Juan Alvarado \(Struts List\) [EMAIL PROTECTED] on 12/26/2001
01:19:15 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   Struts Users Mailing List [EMAIL PROTECTED]
cc:

Subject:  RE: VAJ4  Struts


This are the instructions I used and they worked. My environment is up and
running smoothly.

Let me know if this helps.

http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT
=
1


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 2:02 PM
To: Struts Users Mailing List
Subject: VAJ4  Struts



Hi folks,

I have been trying to setup Struts in VAJ 4 using Dennis Pagano's very
helpful
articles at http://www.noospherics.com/struts.htm. However, after doing
everything exactly as laid out in the articles and starting the
servlet engine and persistent name server, and then invoking
http://localhost:8080/strutsexample , I get Error 503  - Application is
currently unavailable for service. Same thing happens when I try to run
the Noos application.

Any help would be welcome.
Thanks and best,
Pritika.



--
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: VAJ4 Struts

2001-12-26 Thread Juan Alvarado \(Struts List\)

Pritika:

It's been a while since I did it, but I remembered I followed everything in
the article and things worked out. If you just follow the article, you
should be ok.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 4:18 PM
To: Struts Users Mailing List
Subject: RE: VAJ4  Struts



Hello Juan,

Thanks for clarifying that. Ok, so in my VAJ workspace, right now I have
the IBM XML Parser for Java, Xerces and Xalan. And as per the article, I
should remove the Xerces and Xalan and import jaxp.jar and parser.jar,
minus the org.w3c classes, right ?

Thansk and best,
Pritika.






Juan Alvarado \(Struts List\) [EMAIL PROTECTED] on 12/26/2001
02:15:59 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   Struts Users Mailing List [EMAIL PROTECTED]
cc:

Subject:  RE: VAJ4  Struts


Pritika:

I got VAJ 4.0 professional working with struts using that article.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 3:11 PM
To: Struts Users Mailing List
Subject: RE: VAJ4  Struts



Hello Juan,

The article you have linked to is for VAJ 3.5.3 not 4.0. Which version of
VAJ did you get working
with Struts ?

Thanks and best,
Pritika.






Juan Alvarado \(Struts List\) [EMAIL PROTECTED] on 12/26/2001
01:19:15 PM

Please respond to Struts Users Mailing List
  [EMAIL PROTECTED]

To:   Struts Users Mailing List [EMAIL PROTECTED]
cc:

Subject:  RE: VAJ4  Struts


This are the instructions I used and they worked. My environment is up and
running smoothly.

Let me know if this helps.

http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT
=
1


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 2:02 PM
To: Struts Users Mailing List
Subject: VAJ4  Struts



Hi folks,

I have been trying to setup Struts in VAJ 4 using Dennis Pagano's very
helpful
articles at http://www.noospherics.com/struts.htm. However, after doing
everything exactly as laid out in the articles and starting the
servlet engine and persistent name server, and then invoking
http://localhost:8080/strutsexample , I get Error 503  - Application is
currently unavailable for service. Same thing happens when I try to run
the Noos application.

Any help would be welcome.
Thanks and best,
Pritika.



--
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]








--
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: Struts IDE

2001-12-20 Thread Juan Alvarado \(Struts List\)

I'm not exactly sure what you mean, but in Visual Age for Java 3.5 and above
(I use 4.0), once you add the Apache Tomcat Test Environment to your work
space, you will need to create a project called JSP Page Compile Generated
Code which will contain the source code for the generated servlets from your
JSPs.

I hope this helps.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 9:25 AM
To: Struts Users Mailing List
Subject: Struts IDE


Hi,

   Are there any IDE which helps the designer to view HTML pages having
struts tags incorporated in it?

(i.e For brevity's sake, only a snippet of the HTML code is given below

html:select property=type
html:options collection=collection1 property=value
labelProperty=label/
/html:select


TIA,

Jerome



***
Any opinions expressed in this email are those of the individual and not
necessarily those of GamCom Solutions Ltd (herein after GamCom) and/or its
subsidiaries. This email and any files transmitted with it, including
replies and forwarded copies (which may contain alterations) subsequently
transmitted from GamCom and/or its subsidiaries, are confidential and solely
for the use of the intended recipient. If you are not the intended recipient
or the person responsible for delivering to the intended recipient, be
advised that you have received this email in error and that any use is
strictly prohibited; please notify us immediately and do not disclose,
distribute, or retain this email or any part of it. We believe but do not
warrant that this e-mail and any attachments are virus free. You must
therefore take full responsibility for virus checking. GamCom and/or its
subsidiaries reserve the right to monitor all email communications through
their networks.
If you have received this email in error please notify GamCom by telephone
on +44 (0)20 8838 5441 or via email to [EMAIL PROTECTED] , including a copy of
this message.

***

--
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: which IDE

2001-12-14 Thread Juan Alvarado \(Struts List\)

I've got Visual Age for Java 4.0 working with struts and it works great. 

It will save you tons of time in debugging and solving problems. 

An good IDE is definetely a must have tool.

Take care

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Samuele Brignoli [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 10:49 AM
To: Struts Users Mailing List
Subject: which IDE


Which is the best IDE to develop struts framework ? I 've got JBuilder
Enterprise, is that suited for struts?

--kako


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




Help with an action

2001-12-12 Thread Juan Alvarado \(Struts List\)

Hello:

I have what some of you might think is a simple question. I have a page that
displays me a list of users with links to each user's details. When a link
is clicked the link sends a request to /loadUserIntoSessionAction. What I
would like to do in that action is take the user's details which is stored
in a bean and populate those values in the edit user form.

SO basically the user goes trough /loadUserIntoSessionAction there I want to
populate my editUserForm which is of type
com.manduca.protrack.EditUserForm from the values in a bean called UserBean
and then forward to the edit user page and have all the form fields already
pre-populated.

If anyone can point me in the right direction, I would greatly appreciated.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Help with an action

2001-12-12 Thread Juan Alvarado \(Struts List\)

Stephen:

I appreciate the quick reply. Numbers one and two below I have exactly as
you suggested. I will look into the documentation for numbers three and
forward.

Again thanks for your help.

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:55 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Juan,

I'll give you a few quick ideas and if you have trouble with particular
pieces of it you can write back with more detailed questions.

1) Use an html:link tag from the Struts html taglib to generate a link
to your action that includes information that identifies which user was
chosen (userID? e-mail? whatever your primary key is)

2) In the action load the correct bean using the identifying information
that will be given as a parameter to the action.

3) Then, still in the action use the BeanUtils methods to populate the
properties from your bean into the form object. This works really well
if the property names are identical between your model bean and your
form bean. This assumes that your loadUserIntoSessionAction is defined
to use your user form bean, which causes it to automatically create the
form bean object for you and provide it as an argument to your action.

4) Now forward to the jsp that actually displays the user information
for editing. Make sure that the action of the form is defined in
struts-config and refers to the same form as your
loadUserIntoSessionAction, that way your form bean will automatically be
preserved for you.

5) That's it, when you display your jsp form it should have all the
values prepopulated.

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:45 AM
To: Struts
Subject: Help with an action


Hello:

I have what some of you might think is a simple question. I have a page
that
displays me a list of users with links to each user's details. When a
link
is clicked the link sends a request to /loadUserIntoSessionAction. What
I
would like to do in that action is take the user's details which is
stored
in a bean and populate those values in the edit user form.

SO basically the user goes trough /loadUserIntoSessionAction there I
want to
populate my editUserForm which is of type
com.manduca.protrack.EditUserForm from the values in a bean called
UserBean
and then forward to the edit user page and have all the form fields
already
pre-populated.

If anyone can point me in the right direction, I would greatly
appreciated.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [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: Help with an action

2001-12-12 Thread Juan Alvarado \(Struts List\)

Stephen:

I followed your steps but I'm having some problems pre-populating the form.

Let me give you some more details and hopefully you can help me out here.

I have a page that lists a set of users with links to each user's details.
The action on the link is set up as follows in struts-config.xml:

!--   LoadUserIntoSessionAction action --
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
scope=request
forward name=success path=/editUser.jsp/
forward name=failure path=/mainMenu.jsp/
/action

My perform method in LoadUserIntoSessionAction looks like this:

UserListBean userList =
(UserListBean)servlet.getServletContext().getAttribute(userList);
String userRequested = request.getParameter(user);
EditUserForm euf = new EditUserForm();

try{
//get a copy of the userBean we want to work on
UserBean user = userList.getUser(userRequested);
if( user == null ){
return mapping.findForward(failure);
}
else{
PropertyUtils.copyProperties(euf, user);
return mapping.findForward(success);
}
}
catch(InvocationTargetException ite){
debug(LoadUserUntoSessionAction.perform -- InvocationTargetException 
ite
 + ite.toString());
return mapping.findForward(failure);
}
catch(NoSuchMethodException nsme){
debug(LoadUserUntoSessionAction.perform -- NoSuchMethodException nsme 
 +
nsme.toString());
return mapping.findForward(failure);
}
catch(IllegalAccessException iae){
debug(LoadUserUntoSessionAction.perform -- IllegalAccessException iae 
 +
iae.toString());
return mapping.findForward(failure);
}

As you can see, the user does not interact with a form to get to the edit
user page. They just click on a link and it takes them there.

I do have an edit user form defined in struts-config.xml:

!-- Edit user form bean --
form-bean  name=editUserForm
type=com.manduca.protrack.EditUserForm/
  /form-beans

So basically what is happening is that I can get to the page where you would
edit the user's details, but the form is not being pre-populated. I looked
at some debug code, and my euf(EditUserForm) object is receiving all the
properties from the user bean in PropertyUtils.copyProperties(euf, user); .
I get the feeling I'm missing something very basic here, so if you happen to
catch it, by all means please let me know.

Thanks for your help.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:55 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Juan,

I'll give you a few quick ideas and if you have trouble with particular
pieces of it you can write back with more detailed questions.

1) Use an html:link tag from the Struts html taglib to generate a link
to your action that includes information that identifies which user was
chosen (userID? e-mail? whatever your primary key is)

2) In the action load the correct bean using the identifying information
that will be given as a parameter to the action.

3) Then, still in the action use the BeanUtils methods to populate the
properties from your bean into the form object. This works really well
if the property names are identical between your model bean and your
form bean. This assumes that your loadUserIntoSessionAction is defined
to use your user form bean, which causes it to automatically create the
form bean object for you and provide it as an argument to your action.

4) Now forward to the jsp that actually displays the user information
for editing. Make sure that the action of the form is defined in
struts-config and refers to the same form as your
loadUserIntoSessionAction, that way your form bean will automatically be
preserved for you.

5) That's it, when you display your jsp form it should have all the
values prepopulated.

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:45 AM
To: Struts
Subject: Help with an action


Hello:

I have what some of you might think is a simple question. I have a page
that
displays me a list of users with links to each user's details. When a
link
is clicked the link sends a request to /loadUserIntoSessionAction. What
I
would like to do in that action is take the user's details which is
stored
in a bean and populate those values in the edit user form.

SO basically the user goes trough /loadUserIntoSessionAction there I
want to
populate my editUserForm

RE: Help with an action

2001-12-12 Thread Juan Alvarado \(Struts List\)

Ok I will give it a try.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:30 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


My first guess is

You need to rewrite your action definition from
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
scope=request
to
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
name=editUserForm
scope=request

then in your perform method instead of
EditUserForm euf = new EditUserForm();

you would
if ( actionForm instanceof EditUserForm )
EditUserForm euf = (EditUserForm)actionForm;
else
throw Incredibly descriptive and useful exception

and make sure that editUserForm is referenced from your action for
editing the data as well. That way your populating and using the same
object automatically.

Hope this helps,

Stephen

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:23 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Stephen:

I followed your steps but I'm having some problems pre-populating the
form.

Let me give you some more details and hopefully you can help me out
here.

I have a page that lists a set of users with links to each user's
details.
The action on the link is set up as follows in struts-config.xml:

!--   LoadUserIntoSessionAction action --
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
scope=request
forward name=success path=/editUser.jsp/
forward name=failure path=/mainMenu.jsp/
/action

My perform method in LoadUserIntoSessionAction looks like this:

UserListBean userList =
(UserListBean)servlet.getServletContext().getAttribute(userList);
String userRequested = request.getParameter(user);
EditUserForm euf = new EditUserForm();

try{
//get a copy of the userBean we want to work on
UserBean user = userList.getUser(userRequested);
if( user == null ){
return mapping.findForward(failure);
}
else{
PropertyUtils.copyProperties(euf, user);
return mapping.findForward(success);
}
}
catch(InvocationTargetException ite){
debug(LoadUserUntoSessionAction.perform --
InvocationTargetException ite
 + ite.toString());
return mapping.findForward(failure);
}
catch(NoSuchMethodException nsme){
debug(LoadUserUntoSessionAction.perform --
NoSuchMethodException nsme  +
nsme.toString());
return mapping.findForward(failure);
}
catch(IllegalAccessException iae){
debug(LoadUserUntoSessionAction.perform --
IllegalAccessException iae  +
iae.toString());
return mapping.findForward(failure);
}

As you can see, the user does not interact with a form to get to the
edit
user page. They just click on a link and it takes them there.

I do have an edit user form defined in struts-config.xml:

!-- Edit user form bean --
form-bean  name=editUserForm
type=com.manduca.protrack.EditUserForm/
  /form-beans

So basically what is happening is that I can get to the page where you
would
edit the user's details, but the form is not being pre-populated. I
looked
at some debug code, and my euf(EditUserForm) object is receiving all the
properties from the user bean in PropertyUtils.copyProperties(euf,
user); .
I get the feeling I'm missing something very basic here, so if you
happen to
catch it, by all means please let me know.

Thanks for your help.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:55 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Juan,

I'll give you a few quick ideas and if you have trouble with particular
pieces of it you can write back with more detailed questions.

1) Use an html:link tag from the Struts html taglib to generate a link
to your action that includes information that identifies which user was
chosen (userID? e-mail? whatever your primary key is)

2) In the action load the correct bean using the identifying information
that will be given as a parameter to the action

RE: Help with an action

2001-12-12 Thread Juan Alvarado \(Struts List\)

Stephen:

Your suggestions worked beautifully. I'm definetely starting to dig this
struts stuff. It makes the work a lot easier once it starts to make sense.

Take care,

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:30 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


My first guess is

You need to rewrite your action definition from
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
scope=request
to
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
name=editUserForm
scope=request

then in your perform method instead of
EditUserForm euf = new EditUserForm();

you would
if ( actionForm instanceof EditUserForm )
EditUserForm euf = (EditUserForm)actionForm;
else
throw Incredibly descriptive and useful exception

and make sure that editUserForm is referenced from your action for
editing the data as well. That way your populating and using the same
object automatically.

Hope this helps,

Stephen

-Original Message-
From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:23 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Stephen:

I followed your steps but I'm having some problems pre-populating the
form.

Let me give you some more details and hopefully you can help me out
here.

I have a page that lists a set of users with links to each user's
details.
The action on the link is set up as follows in struts-config.xml:

!--   LoadUserIntoSessionAction action --
action path=/loadUserIntoSessionAction
type=com.manduca.protrack.LoadUserIntoSessionAction
scope=request
forward name=success path=/editUser.jsp/
forward name=failure path=/mainMenu.jsp/
/action

My perform method in LoadUserIntoSessionAction looks like this:

UserListBean userList =
(UserListBean)servlet.getServletContext().getAttribute(userList);
String userRequested = request.getParameter(user);
EditUserForm euf = new EditUserForm();

try{
//get a copy of the userBean we want to work on
UserBean user = userList.getUser(userRequested);
if( user == null ){
return mapping.findForward(failure);
}
else{
PropertyUtils.copyProperties(euf, user);
return mapping.findForward(success);
}
}
catch(InvocationTargetException ite){
debug(LoadUserUntoSessionAction.perform --
InvocationTargetException ite
 + ite.toString());
return mapping.findForward(failure);
}
catch(NoSuchMethodException nsme){
debug(LoadUserUntoSessionAction.perform --
NoSuchMethodException nsme  +
nsme.toString());
return mapping.findForward(failure);
}
catch(IllegalAccessException iae){
debug(LoadUserUntoSessionAction.perform --
IllegalAccessException iae  +
iae.toString());
return mapping.findForward(failure);
}

As you can see, the user does not interact with a form to get to the
edit
user page. They just click on a link and it takes them there.

I do have an edit user form defined in struts-config.xml:

!-- Edit user form bean --
form-bean  name=editUserForm
type=com.manduca.protrack.EditUserForm/
  /form-beans

So basically what is happening is that I can get to the page where you
would
edit the user's details, but the form is not being pre-populated. I
looked
at some debug code, and my euf(EditUserForm) object is receiving all the
properties from the user bean in PropertyUtils.copyProperties(euf,
user); .
I get the feeling I'm missing something very basic here, so if you
happen to
catch it, by all means please let me know.

Thanks for your help.


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:55 AM
To: Struts Users Mailing List
Subject: RE: Help with an action


Juan,

I'll give you a few quick ideas and if you have trouble with particular
pieces of it you can write back with more detailed questions.

1) Use an html:link tag from the Struts html taglib to generate a link
to your action that includes information that identifies which user was
chosen (userID? e-mail? whatever your

Help with perform method

2001-11-29 Thread Juan Alvarado \(Struts List\)

Hi:

I have a class called AddUserAction which of course extends Action. In the
perform method what I will do is add a record to a table in a database. The
values I will add I will of course get from the form object the method takes
as one of its parameters.

What I would like to do is that if there is some type of error in this
method, I want to be able to do a mapping.findForward(failure) and at the
same time be able to include some type of error message to the user in the
failure page. My failure page is probably the same form the user filled out,
but the second time around I would like to display the error message.

Any help with this topic is greatly appreciated.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Problem with bean:cookie id=cookies name=.. multiple=true /

2001-11-19 Thread Juan Alvarado \(Struts List\)

Hello:

Every time I use the bean:cookie id=cookies name=.. multiple=true /
tag, my page fails to compile.

It looks like the source being generated is not syntactically correct.

Any help with this is appreciated.

Thanks


Error: 500
Location: /struts-juan/main.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPC:\Program
Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:75: Missing term.
JspRuntimeLibrary.introspecthelper(_jspx_th_bean_cookie_2,
name,..,null,null, false);

^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:76: ']' expected.
[Ljavax.servlet.http.Cookie; cookies = null;
   ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:79: Missing term.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
   ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:79: ']' expected.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
  ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:84: Missing term.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
   ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:84: ']' expected.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
  ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:88: Missing term.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
   ^
C:\Program Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat
Test
Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002ejspmain_jsp_0.
java:88: ']' expected.
cookies = ([Ljavax.servlet.http.Cookie;)
pageContext.getAttribute(cookies);
  ^
8 errors

java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String)
org.apache.jasper.JasperException(java.lang.String)
boolean org.apache.jasper.compiler.Compiler.compile()
boolean org.apache.jasper.runtime.JspServlet.loadJSP(java.lang.String,
java.lang.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(javax
.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
void
org.apache.jasper.runtime.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean)
void
org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void
org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.R
equest, org.apache.tomcat.core.Response)
void
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
, org.apache.tomcat.core.Response)
void
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.a
pache.tomcat.service.TcpConnection, java.lang.Object [])
void org.apache.tomcat.service.TcpConnectionThread.run()
void java.lang.Thread.run()



**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




RE: Problem with bean:cookie id=cookies name=.. multiple=true /

2001-11-19 Thread Juan Alvarado \(Struts List\)

Tom:

Thanks for your reply.

What I am trying to do is replace the following:

%
Cookie[] cookies = request.getCookies();
pageContext.setAttribute(cookies, cookies);
%

with bean:cookie id=cookies name=.. multiple=true /

Basically what I want to do is replace the above scriptlet with the bean
tag. Someone sent me a sample bean:cookie tag in which they use .. to get
all cookies.

If you know of a better way to accomplish this, please let me know.

Thanks

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 10:24 AM
To: Struts Users Mailing List
Subject: RE: Problem with bean:cookie id=cookies name=..
multiple=true /


try replacing the two dots with a real name...

tomK

 -Original Message-
 From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]]
 Sent: maandag 19 november 2001 16:14
 To: Struts
 Subject: Problem with bean:cookie id=cookies name=..
 multiple=true /


 Hello:

 Every time I use the bean:cookie id=cookies name=..
 multiple=true /
 tag, my page fails to compile.

 It looks like the source being generated is not syntactically correct.

 Any help with this is appreciated.

 Thanks


 Error: 500
 Location: /struts-juan/main.jsp
 Internal Servlet Error:

 org.apache.jasper.JasperException: Unable to compile class
 for JSPC:\Program
 Files\IBM\VisualAge for Java\ide\project_resources\Apache Tomcat Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:75: Missing term.

 JspRuntimeLibrary.introspecthelper(_jspx_th_bean_cookie_2,
 name,..,null,null, false);

 ^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:76: ']' expected.
 [Ljavax.servlet.http.Cookie; cookies = null;
^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:79: Missing term.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:79: ']' expected.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
   ^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:84: Missing term.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:84: ']' expected.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
   ^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:88: Missing term.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
^
 C:\Program Files\IBM\VisualAge for
 Java\ide\project_resources\Apache Tomcat
 Test
 Environment\work\localhost_8080%2Fstruts-juan\_0002fmain_0002e
 jspmain_jsp_0.
 java:88: ']' expected.
 cookies = ([Ljavax.servlet.http.Cookie;)
 pageContext.getAttribute(cookies);
   ^
 8 errors

   java.lang.Throwable(java.lang.String)
   java.lang.Exception(java.lang.String)
   javax.servlet.ServletException(java.lang.String)
   org.apache.jasper.JasperException(java.lang.String)
   boolean org.apache.jasper.compiler.Compiler.compile()
   boolean
 org.apache.jasper.runtime.JspServlet.loadJSP(java.lang.String,
 java.lang.String, boolean, javax.servlet.http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse)
   void
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfN
 ecessary(javax
 .servlet.http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse)
   void
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
 (javax.servlet
 .http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse, boolean)
   void

RE: Dynamically Reading In Property Files

2001-11-13 Thread Juan Alvarado \(Struts List\)

Look into the java.io package.

The File class has a method list() that will return a String array of all
the files.

Hope this helps!!!

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: Steven Leija [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 10:22 AM
To: '[EMAIL PROTECTED]'
Subject: OT: Dynamically Reading In Property Files


Hello All,

I'm creating an application and deploying in a war file.  I have a directory
that contains * number of xml configuration files.  Does anyone know how to
read a directory and gather a collection of file names?

Thanks for any help!

Steven

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




java.io.url
Description: Binary data

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


Struts Beginner

2001-11-13 Thread Juan Alvarado \(Struts List\)

Hello:

I am new to Struts and I would like to know if anyone knows of any resources
on the web for beginners.

I am interested in how to exactly use the html tags and how to for example
maintain their state throughout an application. For example drop-downs,
radio buttons, checkboxes etc

I went over the sample app that comes with struts, but it's a somewhat bare
bones application.

Any help would be appreciated

**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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




Visual Age for Jave 4.0 and Tomcat 4.0

2001-11-12 Thread Juan Alvarado \(Struts List\)

Hello:

Has anyone been able to get Tomcat 4.0 and VAJ running?? I am new to Struts
and I have it up and running with Tomcat 3.2 and VAJ 3.2 . I'd like to get
Struts up and running with Tomcat 4.0 and VAJ if it's possible.

Any help is greatly appreciated


**
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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