[OT] getRequestURL

2005-02-04 Thread Nicolas De Loof
Hi all,
I'm having troubles using the request.getRequestURL() in JSP tags
In tomcat (4.1) it returns the URL I've got in my browser, and 
getRequestURI returns the Layout JSP URI. It sounds correct according to 
ServletAPI javadoc for getRequestURL Reconstructs the URL the client 
used to make the request

In Websphere 5.0.2, getRequestURL() allways return the JSP layout URL. I 
did not find any fix for this on IBM site.

Do you know any way in Websphere 5.0.2 to know the original URL or URI 
used to access the webapp ?

Nico.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Cedric Levieux
I follow what you give me and the order id / serial id is not valid

I don't want to give up but the tool wants me to ...

Cedric

- Original Message - 
From: Carlos Chang [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, February 04, 2005 1:43 AM
Subject: RE: [ANN] Free JSP Editor for Eclipse


Cedric,

After the installation, when you run NitroX, if you previously installed
a trial some time ago, it should have prompted you and provided a link
to activate.  I'm not sure why it didn't.  I'll check with QA.  

In the meantime, you can go here:  https://devclub.m7.com/startLogin.do
and click on Activate JSP Editor button. Fill out the form, and you
will receive via email, an activation key that will enable the JSP
Editor. 

Note that if you've previously installed a trial version of NitroX, the
Struts capabilities won't be enabled for - only the JSP Editor.

I hope this helps.  Sorry for the inconvenience.

-Carlos

 -Original Message-
 From: Cedric Levieux [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 03, 2005 12:46 AM
 To: Struts Users Mailing List
 Subject: Re: [ANN] Free JSP Editor for Eclipse
 
 I download the JSP editor free license, the html server doesn't ask me
for
 an email so how can i receive a lice / serial ID ? ^^
 
 I use Eclipse 3.0 RC1
 
 Hope it will help,
 
 Cedric
 
 - Original Message -
 From: Carlos Chang [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 Sent: Thursday, February 03, 2005 4:11 AM
 Subject: RE: [ANN] Free JSP Editor for Eclipse
 
 
 Cedric,
 
 On the second point, can you elaborate a bit more?  It's asking you
for
 a serial?  Which version did you download? (JSP Editor, JSP IDE,
Struts
 IDE?)  Did you get an activation key via email?
 
 Thanks,
 
 -Carlos
 
  -Original Message-
  From: Cedric Levieux [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 02, 2005 2:40 PM
  To: Struts Users Mailing List
  Subject: Re: [ANN] Free JSP Editor for Eclipse
 
  Two things:
 
  First, my Eclipse has its name changed and I'm a bit angry with that
  Second, does it ask me for a serial when I launch my Eclipse and it
 has a
  lot of problem to be launched ?
 
  Regards,
 
  Cedric
 
  - Original Message -
  From: Carlos Chang [EMAIL PROTECTED]
  To: Struts Users Mailing List struts-user@jakarta.apache.org
  Sent: Wednesday, February 02, 2005 11:09 PM
  Subject: [ANN] Free JSP Editor for Eclipse
 
 
  Dear Java Developer,
 
  For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
 for
  FREE!*
  Download: http://www.m7.com/free
 
  NitroX has received top scores from industry reviewers such as SD
  Magazine, CRN, JavaBoutique, and is officially a finalist for the
  upcoming Jolt Product Excellence Award for Best Web Development Tool
 of
  the Year.
 
  The NitroX JSP Editor provides the following features:
 
  * Professional JSP source editor
  * Simultaneous 2-way source and visual JSP editors
  * JSP 2.0 (including EL) - Unequaled!
  * JSTL
  * Grapical editor for TLDs
  * Graphical editor for web.xml
  * Code completion
  * Custom tag library support
  * + much more
  * and it's FREE!
 
  Act now because this offer is available only for a limited time.
 
  Thank you,
 
 
  M7 Team
 
  * Restrictions apply; please see license agreement for details.
  FREE = No cost, gratuit, gratis, frei, libero...ok, there is a
catch;
  this offer is only for a limited time. ;-)
 
 
 
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 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]



Using Tiles and Modules

2005-02-04 Thread Christian Hesse
Hi Everybody!

I have the following constellation:

I am using the Tiles with one tiles-defs.xml-File in a project containing 
different modules. It is up and running without any problems.

At the moment I am inserting into any struts-myMod-config.xml-File the full 
plug-in-Tag for the module and there is my question:

Isn't it possible to declare the tiles-plugin only ONE time for the whole 
project and using it in every module without declaring it there? It is not very 
comfortable to do any change on the configuration in many 
struts-myMod-config.xml-Files.

Is there no possibility of a kind of inheritance?

Thank you for your help!

Bye

Christian
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread e-denton Java Programmer
Hi,

The Nitrox JSP Editor installed okay, but now it insists I convert my Tomcat
Projects into Web Application Projects. That's a lot to give up to get a
nice JSP editor. And, when my license expires, how would I convert the
projects back into Tomcat projects--not in one easy step!

How long is the free license good for?

Thanks.

Will


-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 4:10 PM
To: Struts Users Mailing List
Subject: [ANN] Free JSP Editor for Eclipse

Dear Java Developer,

For a limited time, M7 is offering the NitroX JSP Editor for Eclipse for
FREE!*  
Download: http://www.m7.com/free

NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool of
the Year.

The NitroX JSP Editor provides the following features:

* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!

Act now because this offer is available only for a limited time.

Thank you,


M7 Team

* Restrictions apply; please see license agreement for details. 
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
this offer is only for a limited time. ;-)





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



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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread e-denton Java Programmer
Hi,

The Nitrox JSP Editor installed okay, but now it insists I convert my Tomcat
Projects into Web Application Projects. That's a lot to give up to get a
nice JSP editor. And, when my license expires, how would I convert the
projects back into Tomcat projects--not in one easy step!

How long is the free license good for?

Thanks.

Will


-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 4:10 PM
To: Struts Users Mailing List
Subject: [ANN] Free JSP Editor for Eclipse

Dear Java Developer,

For a limited time, M7 is offering the NitroX JSP Editor for Eclipse for
FREE!*  
Download: http://www.m7.com/free

NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool of
the Year.

The NitroX JSP Editor provides the following features:

* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!

Act now because this offer is available only for a limited time.

Thank you,


M7 Team

* Restrictions apply; please see license agreement for details. 
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
this offer is only for a limited time. ;-)





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



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



[testing] Please ignore

2005-02-04 Thread Robert Taylor
Testing. Please ignore. I'm having some problems posting messages from work.

/robert 


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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Pilgrim, Peter
 -Original Message-
 From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
==///==
 Hi,
 
 The Nitrox JSP Editor installed okay, but now it insists I 
 convert my Tomcat
 Projects into Web Application Projects. That's a lot to give 
 up to get a
 nice JSP editor. And, when my license expires, how would I convert the
 projects back into Tomcat projects--not in one easy step!

Sigh. MyEclipse does not cause me any headaches, because I can associate
the parts of this commercial plug-in to various constructs e.g.
MyEclipse JSP editor is the default for *.jsp. I can do the same for
the XML, DTD and JSF editors.

If you ask me if it not easy to keep a plug-in going when the core 
developer (1.3) is like a moving carpet shifting magically under 
your paws ;-)

====

--
Peter Pilgrim
 

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


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



Re: ActionError / ActionMessage

2005-02-04 Thread Joe Germuska
In short, ActionError is totally deprecated and should never be used.
ActionMessage is the preferred replacement for it.
ActionErrors (a collection of ActionMessage objects) has not been 
deprecated yet because it is part of the public API of the ActionForm 
class (it is the return value from validate).  In Struts 1.3, it is 
expected that the ActionForm will get a method like public boolean 
validate(ActionContext) in which the ActionContext both carries 
references to any input data that the form needs for validation, as 
well as being where any validation errors should be stored (rather 
than being returned.)  The boolean return would be a shorthand way of 
indicating whether the validation passed or not.

Once this is done, we will be able to fully deprecate ActionErrors, 
and hopefully move swiftly (but not too swiftly, given the interest 
in smooth migrations) towards simply removing ActionError and 
ActionErrors, as they are the cause of way too much confusion.

Joe
At 2:10 AM +0100 2/4/05, Laurent wrote:
Tim Christopher wrote:
Hi,
Can anyone let me know when an ActionError should be used in place of
an ActionMessage, or visa versa.  It seems like the ActionMessage is
preferred as it does not encourage markup to be placed within the
resources file.
Does this mean I should always use the ActionMessage, or does the
ActionError come in useful for certain situations?
Yes. ActionError is deprecated.
http://struts.apache.org/api/org/apache/struts/action/ActionError.html
However you may still use 'ActionErrors' to store you 
'ActionMessage's that represent an error, but note that
saveErrors(HttpServletRequest, ActionErrors)
is deprecated in favour of
saveErrors(HttpServletRequest, ActionMessages)
(which still has 'Errors' in it's name!)
This means you probably have to call it with
saveErrors(request, (ActionMessages)actionErrors)
(as ActionErrors is a subclass of ActionMessages anyway!)
(ActionError was also a subclass of ActionMessage)

All this seems odd, so please correct me if I'm wrong.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

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


Re: Want to know abt patterns in Struts.

2005-02-04 Thread Joe Germuska
At 1:15 PM +0530 2/4/05, Akshay Pandit wrote:
Hi to all,
I would like to know how many j2ee patterns does struts framework make use of.
As far as I know, no one sat down with the book and said let's use 
this one.   I'll leave cataloging any which are in there as the 
result of good design practices up to someone else.

And also one more thing, I want to insert  UNICODE data in Database,
I've created the database with unicode support, what changes are
needed on struts end to make the application in UNICODE .
There should be nothing specific to Struts about this.  Take control 
of the encoding with which client pages submit requests (most 
consistently done by delivering the page with the same encoding that 
you want used for the form submission) and make sure your Servlet 
container knows the encoding (probably best done with a ServletFilter 
which calls request.setCharacterEncoding(...) before anything else 
happens).  Besides dealing with the serialization of user request 
data into bytes, everything is Java, and therefore fundamentally 
Unicode.

Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

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


RE: [OT] getRequestURL

2005-02-04 Thread Martin Gainty
Nicolas
Did you check out the getRequestURL() documentation from IBM
http://www.developer.ibm.com/tech/faq/individual?oid=2:25030
HTH,
Martin Gainty
__
(mobile) 617-852-7822

From: Nicolas De Loof [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: [OT] getRequestURL
Date: Fri, 04 Feb 2005 09:44:01 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc7-f31.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Fri, 4 Feb 2005 00:44:21 -0800
Received: (qmail 83530 invoked by uid 500); 4 Feb 2005 08:44:10 -
Received: (qmail 83515 invoked by uid 99); 4 Feb 2005 08:44:10 -
Received: pass (hermes.apache.org: local policy)
Received: from MXEPAR01.capgemini.com (HELO mxepar01.capgemini.com) 
(194.3.247.82)  by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 
00:44:08 -0800
Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82])by 
mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id j148i3Q1014790for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:04 +0100 (MET)
Received: from prvmta2.capgemini.com (localhost [127.0.0.1])by 
mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id j148i3PB009391for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 +0100 (MET)
Received: from pasteur2.capgemini.fr (smtp.capgemini.fr [10.67.1.90])by 
prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id j148i209009380for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 +0100 (MET)
Received: from pasteur.capgemini.fr (localhost [127.0.0.1])by 
pasteur2.capgemini.fr (8.12.10/8.12.10) with ESMTP id j148i2MH002196for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 +0100 (MET)
Received: from vasnmail.telecom.capgemini.fr ([10.67.188.21])by 
pasteur.capgemini.fr (8.12.10/8.12.10) with SMTP id j148i2Dd002192for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:02 +0100 (MET)
Received: from [10.67.191.47] by vasnmail.telecom.capgemini.fr 
(SMI-8.6/SMI-SVR4)id JAA06672; Fri, 4 Feb 2005 09:47:41 +0100
X-Message-Info: JGTYoYF78jGj2Hp8idRl9DlBwN0swpe1aZdZNyUn+dA=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:user@struts.apache.org
List-Id: Struts Users Mailing List user.struts.apache.org
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: fr, en
X-imss-version: 2.019
X-imss-result: Passed
X-imss-scores: Clean:99.9 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0. 0.)
X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 04 Feb 2005 08:44:21.0115 (UTC) 
FILETIME=[B8772CB0:01C50A95]

Hi all,
I'm having troubles using the request.getRequestURL() in JSP tags
In tomcat (4.1) it returns the URL I've got in my browser, and 
getRequestURI returns the Layout JSP URI. It sounds correct according to 
ServletAPI javadoc for getRequestURL Reconstructs the URL the client used 
to make the request

In Websphere 5.0.2, getRequestURL() allways return the JSP layout URL. I 
did not find any fix for this on IBM site.

Do you know any way in Websphere 5.0.2 to know the original URL or URI used 
to access the webapp ?

Nico.
This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient,  you 
are not authorized to read, print, retain, copy, disseminate,  distribute, 
or use this message or any part thereof. If you receive this  message in 
error, please notify the sender immediately and delete all  copies of this 
message.

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

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


Re: [OT] getRequestURL

2005-02-04 Thread Nicolas De Loof
Thnaks for link,
This doesn't tell me why tomcat getRequestURL() returns original URL
and Websphere impl return current request URL (!= from original after 
a forward)

I've used a turnaround by addind a filter that stores (orinigal) 
requestURL in request scope.

Thanks for help.
Martin Gainty a écrit :
Nicolas
Did you check out the getRequestURL() documentation from IBM
http://www.developer.ibm.com/tech/faq/individual?oid=2:25030
HTH,
Martin Gainty
__
(mobile) 617-852-7822

From: Nicolas De Loof [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: [OT] getRequestURL
Date: Fri, 04 Feb 2005 09:44:01 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by 
mc7-f31.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 4 Feb 
2005 00:44:21 -0800
Received: (qmail 83530 invoked by uid 500); 4 Feb 2005 08:44:10 -
Received: (qmail 83515 invoked by uid 99); 4 Feb 2005 08:44:10 -
Received: pass (hermes.apache.org: local policy)
Received: from MXEPAR01.capgemini.com (HELO mxepar01.capgemini.com) 
(194.3.247.82)  by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 
2005 00:44:08 -0800
Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82])by 
mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id 
j148i3Q1014790for user@struts.apache.org; Fri, 4 Feb 2005 09:44:04 
+0100 (MET)
Received: from prvmta2.capgemini.com (localhost [127.0.0.1])by 
mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id 
j148i3PB009391for user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 
+0100 (MET)
Received: from pasteur2.capgemini.fr (smtp.capgemini.fr 
[10.67.1.90])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id 
j148i209009380for user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 
+0100 (MET)
Received: from pasteur.capgemini.fr (localhost [127.0.0.1])by 
pasteur2.capgemini.fr (8.12.10/8.12.10) with ESMTP id 
j148i2MH002196for user@struts.apache.org; Fri, 4 Feb 2005 09:44:03 
+0100 (MET)
Received: from vasnmail.telecom.capgemini.fr ([10.67.188.21])by 
pasteur.capgemini.fr (8.12.10/8.12.10) with SMTP id j148i2Dd002192for 
user@struts.apache.org; Fri, 4 Feb 2005 09:44:02 +0100 (MET)
Received: from [10.67.191.47] by vasnmail.telecom.capgemini.fr 
(SMI-8.6/SMI-SVR4)id JAA06672; Fri, 4 Feb 2005 09:47:41 +0100
X-Message-Info: JGTYoYF78jGj2Hp8idRl9DlBwN0swpe1aZdZNyUn+dA=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:user@struts.apache.org
List-Id: Struts Users Mailing List user.struts.apache.org
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: fr, en
X-imss-version: 2.019
X-imss-result: Passed
X-imss-scores: Clean:99.9 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0. 0.)
X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 04 Feb 2005 08:44:21.0115 (UTC) 
FILETIME=[B8772CB0:01C50A95]

Hi all,
I'm having troubles using the request.getRequestURL() in JSP tags
In tomcat (4.1) it returns the URL I've got in my browser, and 
getRequestURI returns the Layout JSP URI. It sounds correct according 
to ServletAPI javadoc for getRequestURL Reconstructs the URL the 
client used to make the request

In Websphere 5.0.2, getRequestURL() allways return the JSP layout 
URL. I did not find any fix for this on IBM site.

Do you know any way in Websphere 5.0.2 to know the original URL or 
URI used to access the webapp ?

Nico.
This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify 
the sender immediately and delete all  copies of this message.

-
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]
This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the person 
to whom it is addressed. If you are not the intended recipient,  you are not 
authorized to read, print, retain, copy, disseminate,  distribute, or use this 
message or any part thereof. If you receive this  message in error, please 
notify the sender immediately and delete all  copies 

RE: Help with logic tags, and commas please.

2005-02-04 Thread Martin Gainty
make sure ApplicationResources.properties are in /WEB_INF/classes
write a qd jsp page to print request, session and Message Resource bundle 
values

code courtesy of Dom Tay
%
  // Print all attributes in the request object
  out.println(All Attributes in request scope:);
  Enumeration paramNames = request.getAttributeNames();
  while (paramNames.hasMoreElements()) {
String name = (String) paramNames.nextElement();
Object values = request.getAttribute(name);
out.println(br  + name + : + values);
  }
  
  // Print all attributes in the session object
  out.println(All Attributes in session scope:);
  paramNames = session.getAttributeNames();
  while (paramNames.hasMoreElements()) {
String name = (String) paramNames.nextElement();
Object values = session.getAttribute(name);
out.println(br  + name + : + values);
  }
  out.println(Data in ActionMessages:);
  // Get the ActionMessages
  Object o = request.getAttribute(Globals.MESSAGE_KEY);
  if (o != null) {
ActionMessages ae = (ActionMessages)o;
// Get the locale and message resources bundle
Locale locale =
  (Locale)session.getAttribute(Globals.LOCALE_KEY);
MessageResources messages =
  (MessageResources)request.getAttribute
  (Globals.MESSAGES_KEY);
// Loop thru all the labels in the ActionMessage's
for (Iterator i = ae.properties(); i.hasNext();) {
  String property = (String)i.next();
  out.println(brproperty  + property + : );
  // Get all messages for this label
  for (Iterator it = ae.get(property); it.hasNext();) {
ActionMessage a = (ActionMessage)it.next();
String key = a.getKey();
Object[] values = a.getValues();
out.println( [key= + key +
  , message= +
  messages.getMessage(locale,key,values) +
  ]);
  }
}
  }
%
Martin Gainty
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official 
business of Sender and is proprietary to Sender. It is confidential, legally 
privileged and protected by law. Sender does not own and endorse any other 
content.
(mobile) 617-852-7822
(http)www.laconiadatasystems.com


From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: user@struts.apache.org, [EMAIL PROTECTED]
Subject: RE: Help with logic tags, and commas please.
Date: Thu, 3 Feb 2005 18:22:00 -0600
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc7-f33.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Thu, 3 Feb 2005 16:22:27 -0800
Received: (qmail 74218 invoked by uid 500); 4 Feb 2005 00:22:06 -
Received: (qmail 74173 invoked by uid 99); 4 Feb 2005 00:22:06 -
Received: neutral (hermes.apache.org: local policy)
Received: from crater.norwest.com (HELO crater.norwest.com) (198.74.20.154) 
 by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 16:22:05 -0800
Received: from outback.wellsfargo.com (outback.wellsfargo.com 
[10.88.26.20])by crater.norwest.com (Switch-3.1.6/Switch-3.1.6) with ESMTP 
id j1401bEf021602;Thu, 3 Feb 2005 18:01:37 -0600 (CST)
Received: from outback.wellsfargo.com (localhost [127.0.0.1])by 
outback.wellsfargo.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id 
j140M1Tj024418;Thu, 3 Feb 2005 18:22:01 -0600 (CST)
Received: from MSGSPSMNMSP05.ent.wfb.bank.corp 
(msgspsmnmsp05.wellsfargo.com [10.88.230.249])by outback.wellsfargo.com 
(Switch-3.1.6/Switch-3.1.6) with ESMTP id j140M0Ed024412;Thu, 3 Feb 2005 
18:22:00 -0600 (CST)
Received: from MSGSWBMNMSP19.ent.wfb.bank.corp ([10.88.230.217]) by 
MSGSPSMNMSP05.ent.wfb.bank.corp with Microsoft SMTPSVC(5.0.2195.6713); Thu, 
3 Feb 2005 18:22:00 -0600
X-Message-Info: JGTYoYF78jF4JXmRDGdgwX5gdI2mrfSMFliC2IGssb0=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:user@struts.apache.org
List-Id: Struts Users Mailing List user.struts.apache.org
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.3 
required=10.0tests=FORGED_RCVD_HELO,NO_REAL_NAME,X_PRIORITY_HIGH
X-Spam-Check-By: apache.org
Content-Class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with logic tags, 
and commas please.
Thread-Index: AcUKNtRyKaSd/IOzQlOYB86XjDx80AAF2vHQ
Priority: Urgent
X-OriginalArrivalTime: 04 Feb 2005 00:22:00.0469 (UTC) 
FILETIME=[8B3D9450:01C50A4F]
X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]

Can someone please help me to get the print to work.
I keep trying to use the fmt, or the c:out tags, but nothing is actually 
printing the value of ${product} as converted from the ApplicationResources 
value.


Mick Knutson
Wells Fargo Business Direct
(415) 222-1020
This message may contain confidential and/or privileged 

Re: ActionError / ActionMessage

2005-02-04 Thread Tim Christopher
 removing ActionError and ActionErrors, as they are the 
 cause of way too much confusion.

What sort of confusion?  As far as I can tell they are basically the
same as ActionMessages...


On Fri, 4 Feb 2005 07:46:23 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
 In short, ActionError is totally deprecated and should never be used.
 ActionMessage is the preferred replacement for it.
 
 ActionErrors (a collection of ActionMessage objects) has not been
 deprecated yet because it is part of the public API of the ActionForm
 class (it is the return value from validate).  In Struts 1.3, it is
 expected that the ActionForm will get a method like public boolean
 validate(ActionContext) in which the ActionContext both carries
 references to any input data that the form needs for validation, as
 well as being where any validation errors should be stored (rather
 than being returned.)  The boolean return would be a shorthand way of
 indicating whether the validation passed or not.
 
 Once this is done, we will be able to fully deprecate ActionErrors,
 and hopefully move swiftly (but not too swiftly, given the interest
 in smooth migrations) towards simply removing ActionError and
 ActionErrors, as they are the cause of way too much confusion.
 
 Joe
 
 At 2:10 AM +0100 2/4/05, Laurent wrote:
 Tim Christopher wrote:
 Hi,
 
 Can anyone let me know when an ActionError should be used in place of
 an ActionMessage, or visa versa.  It seems like the ActionMessage is
 preferred as it does not encourage markup to be placed within the
 resources file.
 
 Does this mean I should always use the ActionMessage, or does the
 ActionError come in useful for certain situations?
 
 Yes. ActionError is deprecated.
 http://struts.apache.org/api/org/apache/struts/action/ActionError.html
 
 However you may still use 'ActionErrors' to store you
 'ActionMessage's that represent an error, but note that
  saveErrors(HttpServletRequest, ActionErrors)
 is deprecated in favour of
  saveErrors(HttpServletRequest, ActionMessages)
 (which still has 'Errors' in it's name!)
 This means you probably have to call it with
  saveErrors(request, (ActionMessages)actionErrors)
 (as ActionErrors is a subclass of ActionMessages anyway!)
 (ActionError was also a subclass of ActionMessage)
 
 
 All this seems odd, so please correct me if I'm wrong.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 --
 Joe Germuska
 [EMAIL PROTECTED]
 http://blog.germuska.com
 Narrow minds are weapons made for mass destruction  -The Ex
 
 -
 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: Want to know abt patterns in Struts.

2005-02-04 Thread listed
You can find an UML-Diagramm about Struts here: 
http://rollerjm.free.fr/pro/Struts11.html

Greets Felixx
Joe Germuska wrote:
At 1:15 PM +0530 2/4/05, Akshay Pandit wrote:
Hi to all,
I would like to know how many j2ee patterns does struts framework 
make use of.

As far as I know, no one sat down with the book and said let's use 
this one.   I'll leave cataloging any which are in there as the 
result of good design practices up to someone else.

And also one more thing, I want to insert  UNICODE data in Database,
I've created the database with unicode support, what changes are
needed on struts end to make the application in UNICODE .

There should be nothing specific to Struts about this.  Take control 
of the encoding with which client pages submit requests (most 
consistently done by delivering the page with the same encoding that 
you want used for the form submission) and make sure your Servlet 
container knows the encoding (probably best done with a ServletFilter 
which calls request.setCharacterEncoding(...) before anything else 
happens).  Besides dealing with the serialization of user request data 
into bytes, everything is Java, and therefore fundamentally Unicode.

Joe

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


Re: Want to know abt patterns in Struts.

2005-02-04 Thread listed
You can find an UML-Diagramm about Struts here: 
http://rollerjm.free.fr/pro/Struts11.html

Greets Felixx
Joe Germuska wrote:
At 1:15 PM +0530 2/4/05, Akshay Pandit wrote:
Hi to all,
I would like to know how many j2ee patterns does struts framework 
make use of.

As far as I know, no one sat down with the book and said let's use 
this one.   I'll leave cataloging any which are in there as the 
result of good design practices up to someone else.

And also one more thing, I want to insert  UNICODE data in Database,
I've created the database with unicode support, what changes are
needed on struts end to make the application in UNICODE .

There should be nothing specific to Struts about this.  Take control 
of the encoding with which client pages submit requests (most 
consistently done by delivering the page with the same encoding that 
you want used for the form submission) and make sure your Servlet 
container knows the encoding (probably best done with a ServletFilter 
which calls request.setCharacterEncoding(...) before anything else 
happens).  Besides dealing with the serialization of user request data 
into bytes, everything is Java, and therefore fundamentally Unicode.

Joe


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


Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Adam Lipscombe
Folks,


I have 2 actions which look (sort of) like this:

action name=myActionForm path=/initAction scope=request
type=com.xxx.yyy.myAction validate=false 
   forward name=displayForm path=/Form1.jsp /
/action

action input=/Form1.jsp name=myActionForm path=/processAction
scope=request validate=true 
  forward name=nextStep path=/Form2.jsp /
/action 

If the Form1.jsp is submitted the /processAction.do gets called.
Validation occurs in either the myActionForm actionform or the myAction
action.

If the validation fails a struts ActionErrors object is populated and
Form1.jsp is re-displayed by getting the forward like this:

 forward = actionMapping.getInputForward();





But, if the scope of the myActionForm formbean is request a new instance
of the formbean is constructed when Form1.jsp is re-displayed. Hence none of
the data that it originally held in it is present and the form fails. The
formBean was originally populated by /initAction.do
In order to preserve the myAction formBean I have to make its scope
session.

I need to re-display the Form1.jsp if validation fails so that it shows the
correct formBean values as populated by /initAction.do. However it seems
that eventually I will have a cluttered session object with many formBeans
that I don't need immediately.


Is this normal? 
Or is there a better way to do it where one can have formBeans in request
scope and still preserve their contents if validation fails?
What is best practice?


TIA -Adam


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



RE: Want to know abt patterns in Struts.

2005-02-04 Thread Barnett, Brian W.
Struts itself is an example of the Service to Worker Pattern, which is a
macro pattern using a combination of a controller and dispatcher with views
and helpers.

-Original Message-
From: Akshay Pandit [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 12:45 AM
To: user@struts.apache.org
Subject: Want to know abt patterns in Struts.

Hi to all,

I would like to know how many j2ee patterns does struts framework make use
of. 
And also one more thing, I want to insert  UNICODE data in Database,
I've created the database with unicode support, what changes are
needed on struts end to make the application in UNICODE .

Thanks before Hand

-- 
Warm regards.

Akshay Pandit
Email  : [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: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Jeff Beal
Adam Lipscombe wrote:
snip
But, if the scope of the myActionForm formbean is request a new instance
of the formbean is constructed when Form1.jsp is re-displayed. Hence none of
the data that it originally held in it is present and the form fails. The
formBean was originally populated by /initAction.do
In order to preserve the myAction formBean I have to make its scope
session.
/snip
Based on the rest of your email, this is what should be happening:
 1) initAction.do is populating myActionForm with data from your Model 
layer
 2) Form1.jsp pulls the values out of myActionForm and displays them to 
the user
 3) The request ends, and the myActionForm instance created in (1) is 
destroyed
 4) The user makes changes to the form values on Form1.jsp and submits 
the changes to the server
 5) Struts creates a new instance of myActionForm and populates it with 
values from the request. *If Form1.jsp was written correctly, all of the 
values populated from the Model in (1) along with any user changes from 
(4) should be in the request*
 6) myActionForm is validated.  If the validation fails, control is 
returned to (3) with the data from (4)

I'm a little unclear as to where exactly your problem is, but it seems 
that some or all of the values from the original myActionForm are not 
getting written to the user, and therefore are not being submitted with 
the second request to populate the second instance of myActionForm.

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


RE: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Adam Lipscombe
Thanks Jeff, your analysis is spot on.


In this instance the problem is this:

Form1 has a logic:iterate tag that iterates over a List held in
myActionForm.
The List is setup by the initAction.do action.

How do I preserve the List between actionform instances?
(It's not referenced in the JSP other than the logic:iterate tag)


Tia -Adam


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: 04 February 2005 17:14
To: user@struts.apache.org
Subject: Re: Best practice for formbean scope and handling form validation
errors


Adam Lipscombe wrote:
snip
 But, if the scope of the myActionForm formbean is request a new 
 instance of the formbean is constructed when Form1.jsp is 
 re-displayed. Hence none of the data that it originally held in it is 
 present and the form fails. The formBean was originally populated by 
 /initAction.do In order to preserve the myAction formBean I have to 
 make its scope session.
/snip

Based on the rest of your email, this is what should be happening:

  1) initAction.do is populating myActionForm with data from your Model 
layer
  2) Form1.jsp pulls the values out of myActionForm and displays them to 
the user
  3) The request ends, and the myActionForm instance created in (1) is 
destroyed
  4) The user makes changes to the form values on Form1.jsp and submits 
the changes to the server
  5) Struts creates a new instance of myActionForm and populates it with 
values from the request. *If Form1.jsp was written correctly, all of the 
values populated from the Model in (1) along with any user changes from 
(4) should be in the request*
  6) myActionForm is validated.  If the validation fails, control is 
returned to (3) with the data from (4)

I'm a little unclear as to where exactly your problem is, but it seems 
that some or all of the values from the original myActionForm are not 
getting written to the user, and therefore are not being submitted with 
the second request to populate the second instance of myActionForm.

-- Jeff


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



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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Hi Will,

For the current offer in place today, the license does NOT expire and
you will have access to updates for the JSP Editor free for 1 year.  As
for the project, I'm not familiar with this issue so I'll have to get
back to you on this.  

Thanks,

-Carlos

 -Original Message-
 From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 04, 2005 4:01 AM
 To: 'Struts Users Mailing List'
 Subject: RE: [ANN] Free JSP Editor for Eclipse
 
 Hi,
 
 The Nitrox JSP Editor installed okay, but now it insists I convert my
 Tomcat
 Projects into Web Application Projects. That's a lot to give up to get
a
 nice JSP editor. And, when my license expires, how would I convert the
 projects back into Tomcat projects--not in one easy step!
 
 How long is the free license good for?
 
 Thanks.
 
 Will
 
 
 -Original Message-
 From: Carlos Chang [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 02, 2005 4:10 PM
 To: Struts Users Mailing List
 Subject: [ANN] Free JSP Editor for Eclipse
 
 Dear Java Developer,
 
 For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
for
 FREE!*
 Download: http://www.m7.com/free
 
 NitroX has received top scores from industry reviewers such as SD
 Magazine, CRN, JavaBoutique, and is officially a finalist for the
 upcoming Jolt Product Excellence Award for Best Web Development Tool
of
 the Year.
 
 The NitroX JSP Editor provides the following features:
 
 * Professional JSP source editor
 * Simultaneous 2-way source and visual JSP editors
 * JSP 2.0 (including EL) - Unequaled!
 * JSTL
 * Grapical editor for TLDs
 * Graphical editor for web.xml
 * Code completion
 * Custom tag library support
 * + much more
 * and it's FREE!
 
 Act now because this offer is available only for a limited time.
 
 Thank you,
 
 
 M7 Team
 
 * Restrictions apply; please see license agreement for details.
 FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
 this offer is only for a limited time. ;-)
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



base href=... problems

2005-02-04 Thread Graham Reeds
I thought when I saw the html:base / tag I could drop the JScript that 
I used to set the domain to the root level (ie either it would set the 
localhost or the actual domain but would have to be hard coded for each 
app but just the once).

However it sets the base href to the actual location of the page that 
set's it.  What is the point in that?  The most logical use of the base 
href=... / tag is to reference the very root level so you can have a 
common repository of images and none of this ../../images/mylogo.gif 
that used to go on.  There doesn't appear to be an option to set it to 
root.

Any idea why this was set so and if there is any other way of getting 
around this limitation or do I have to still use my JScript to set this 
for me?

Thanks, Graham Reeds.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Cedric,

I'm sorry for the inconvenience.  That's bizarre.  We've had thousands
of downloads and activations...

Forgive me for taking a couple of steps back and revisiting your steps.
I don't mean to offend, just to clarify any potential missteps.

1. You downloaded NitroX JSP Editor  from:
http://www.m7.com/downloadNitroX.do
2. I've assumed you had previously installed a trial version of NitroX,
which is what the license manager is complaining about. (btw. we're
trying to address this internally)
3. You then went to here: https://devclub.m7.com/startLogin.do
3.1 Clicked the Activate JSP Editor button
3.2 Entered your email  profile information
3.3 Received an email from us with an Id/serial number
4. When you ran the recently installed version of NitroX JSP Editor. 
(This may not be relevant, but can you go directly to the directory
where you installed NitroX, and double-click the NitroX icon.)
5. You are prompted you with a request for the id/serial key.
6. It didn't work?  Entering the info we emailed you, it didn't work?

Thanks,

-Carlos

 -Original Message-
 From: Cedric Levieux [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 04, 2005 1:26 AM
 To: Struts Users Mailing List
 Subject: Re: [ANN] Free JSP Editor for Eclipse
 
 I follow what you give me and the order id / serial id is not valid
 
 I don't want to give up but the tool wants me to ...
 
 Cedric
 
 - Original Message -
 From: Carlos Chang [EMAIL PROTECTED]
 To: Struts Users Mailing List user@struts.apache.org
 Sent: Friday, February 04, 2005 1:43 AM
 Subject: RE: [ANN] Free JSP Editor for Eclipse
 
 
 Cedric,
 
 After the installation, when you run NitroX, if you previously
installed
 a trial some time ago, it should have prompted you and provided a link
 to activate.  I'm not sure why it didn't.  I'll check with QA.
 
 In the meantime, you can go here:
https://devclub.m7.com/startLogin.do
 and click on Activate JSP Editor button. Fill out the form, and you
 will receive via email, an activation key that will enable the JSP
 Editor.
 
 Note that if you've previously installed a trial version of NitroX,
the
 Struts capabilities won't be enabled for - only the JSP Editor.
 
 I hope this helps.  Sorry for the inconvenience.
 
 -Carlos
 
  -Original Message-
  From: Cedric Levieux [mailto:[EMAIL PROTECTED]
  Sent: Thursday, February 03, 2005 12:46 AM
  To: Struts Users Mailing List
  Subject: Re: [ANN] Free JSP Editor for Eclipse
 
  I download the JSP editor free license, the html server doesn't ask
me
 for
  an email so how can i receive a lice / serial ID ? ^^
 
  I use Eclipse 3.0 RC1
 
  Hope it will help,
 
  Cedric
 
  - Original Message -
  From: Carlos Chang [EMAIL PROTECTED]
  To: Struts Users Mailing List user@struts.apache.org
  Sent: Thursday, February 03, 2005 4:11 AM
  Subject: RE: [ANN] Free JSP Editor for Eclipse
 
 
  Cedric,
 
  On the second point, can you elaborate a bit more?  It's asking you
 for
  a serial?  Which version did you download? (JSP Editor, JSP IDE,
 Struts
  IDE?)  Did you get an activation key via email?
 
  Thanks,
 
  -Carlos
 
   -Original Message-
   From: Cedric Levieux [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, February 02, 2005 2:40 PM
   To: Struts Users Mailing List
   Subject: Re: [ANN] Free JSP Editor for Eclipse
  
   Two things:
  
   First, my Eclipse has its name changed and I'm a bit angry with
that
   Second, does it ask me for a serial when I launch my Eclipse and
it
  has a
   lot of problem to be launched ?
  
   Regards,
  
   Cedric
  
   - Original Message -
   From: Carlos Chang [EMAIL PROTECTED]
   To: Struts Users Mailing List struts-user@jakarta.apache.org
   Sent: Wednesday, February 02, 2005 11:09 PM
   Subject: [ANN] Free JSP Editor for Eclipse
  
  
   Dear Java Developer,
  
   For a limited time, M7 is offering the NitroX JSP Editor for
Eclipse
  for
   FREE!*
   Download: http://www.m7.com/free
  
   NitroX has received top scores from industry reviewers such as SD
   Magazine, CRN, JavaBoutique, and is officially a finalist for the
   upcoming Jolt Product Excellence Award for Best Web Development
Tool
  of
   the Year.
  
   The NitroX JSP Editor provides the following features:
  
   * Professional JSP source editor
   * Simultaneous 2-way source and visual JSP editors
   * JSP 2.0 (including EL) - Unequaled!
   * JSTL
   * Grapical editor for TLDs
   * Graphical editor for web.xml
   * Code completion
   * Custom tag library support
   * + much more
   * and it's FREE!
  
   Act now because this offer is available only for a limited time.
  
   Thank you,
  
  
   M7 Team
  
   * Restrictions apply; please see license agreement for details.
   FREE = No cost, gratuit, gratis, frei, libero...ok, there is a
 catch;
   this offer is only for a limited time. ;-)
  
  
  
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, 

Re: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Jeff Beal
Adam Lipscombe wrote:
In this instance the problem is this:
Form1 has a logic:iterate tag that iterates over a List held in
myActionForm.
The List is setup by the initAction.do action.
How do I preserve the List between actionform instances?
(It's not referenced in the JSP other than the logic:iterate tag)
Try changing the input attribute to point to the /initAction.do instead 
of the JSP page.  I think that will work.

-- Jeff

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


RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Hi Will,

Regarding your question about Tomcat projects:
By converting into Web application we do not modify any of the user
files, we build a database with all the artifacts. And after expiration
the project is same as what it was earlier.
From our perspective, all we're looking for is a webinf folder and the
web.xml file.  Hope this helps.

Thanks,

-Carlos

 -Original Message-
 From: Carlos Chang
 Sent: Friday, February 04, 2005 10:22 AM
 To: Struts Users Mailing List; [EMAIL PROTECTED]
 Subject: RE: [ANN] Free JSP Editor for Eclipse
 
 Hi Will,
 
 For the current offer in place today, the license does NOT expire and
 you will have access to updates for the JSP Editor free for 1 year.
As
 for the project, I'm not familiar with this issue so I'll have to get
 back to you on this.
 
 Thanks,
 
 -Carlos
 
  -Original Message-
  From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 04, 2005 4:01 AM
  To: 'Struts Users Mailing List'
  Subject: RE: [ANN] Free JSP Editor for Eclipse
 
  Hi,
 
  The Nitrox JSP Editor installed okay, but now it insists I convert
my
  Tomcat
  Projects into Web Application Projects. That's a lot to give up to
get
 a
  nice JSP editor. And, when my license expires, how would I convert
the
  projects back into Tomcat projects--not in one easy step!
 
  How long is the free license good for?
 
  Thanks.
 
  Will
 
 
  -Original Message-
  From: Carlos Chang [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 02, 2005 4:10 PM
  To: Struts Users Mailing List
  Subject: [ANN] Free JSP Editor for Eclipse
 
  Dear Java Developer,
 
  For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
 for
  FREE!*
  Download: http://www.m7.com/free
 
  NitroX has received top scores from industry reviewers such as SD
  Magazine, CRN, JavaBoutique, and is officially a finalist for the
  upcoming Jolt Product Excellence Award for Best Web Development Tool
 of
  the Year.
 
  The NitroX JSP Editor provides the following features:
 
  * Professional JSP source editor
  * Simultaneous 2-way source and visual JSP editors
  * JSP 2.0 (including EL) - Unequaled!
  * JSTL
  * Grapical editor for TLDs
  * Graphical editor for web.xml
  * Code completion
  * Custom tag library support
  * + much more
  * and it's FREE!
 
  Act now because this offer is available only for a limited time.
 
  Thank you,
 
 
  M7 Team
 
  * Restrictions apply; please see license agreement for details.
  FREE = No cost, gratuit, gratis, frei, libero...ok, there is a
catch;
  this offer is only for a limited time. ;-)
 
 
 
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Leon Rosenberg
Why would anyone have WEB-INF folder in his/her project ?
Never heard about ant?

snip
 And after expiration the project is same as what it was earlier.
 From our perspective, all we're looking for is a webinf 
 folder and the web.xml file.  Hope this helps.
/snip

Regards
Leon



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



Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Leon Rosenberg
Why would anyone have WEB-INF folder in his/her project ?
Never heard about ant?

snip
 And after expiration the project is same as what it was earlier.
 From our perspective, all we're looking for is a webinf 
 folder and the web.xml file.  Hope this helps.
/snip

Regards
Leon



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



tiles newbie problem

2005-02-04 Thread Mathias Peters
Hi to all,
I have a newbie problem and I would appreciate any help.
Thanks in advance.
I have the following constellation:
web.xml:
snip
   taglib
   taglib-uri/tags/struts-tiles/taglib-uri
   taglib-location/WEB-INF/struts-tiles.tld/taglib-location
  /taglib
snap
struts-config.xml:
snip
   plug-in className=org.apache.struts.tiles.TilesPlugin 
   set-property property=definitions-config
value=/WEB-INF/tiles-defs.xml /
   set-property property=moduleAware value=true /
   set-property property=definitions-parser-validate value=true /
 /plug-in
snap
tiles-defs.xml
snip
   definition name=BasisLayout path=/src/web/layout/layout.jsp 
   put name=head value=/src/web/layout/head.jsp/
   put name=foot value=/src/web/layout/foot.jsp/
   /definition
snap
then i have a Definition-Jsp, where I extend BasisLayout
that looks like this:
snip
   tiles:definition id=logger page=/src/web/layout/layout.jsp 
extends=BasisLayout
   tiles:put name=body value=/src/web/logger.jsp /
   /tiles:definition
snap

this jsp do I include in newLog.jsp this way:
snip
   %@ page language=java %
   %@ taglib uri=../../WEB-INF/struts-tiles.tld prefix=tiles %
   [EMAIL PROTECTED] file=./layout/TilesDefinitions.jsp %
   tiles:insert beanName=logger flush=true /
snap
The head and the foot pages have been replaced correctly, but the 
extended part of the Definitions-jsp is missing with the message:

[Exception in:/src/web/logger.jsp] null
.
The logger.jsp itself is working correctly, so it has to do something 
with Tiles I suppose.
Didn't find anything in the UserGuide.
Thanks for any help
Matze

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


Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Bryce Fischer
Leon Rosenberg wrote:
 Why would anyone have WEB-INF folder in his/her project ?
 Never heard about ant?
I do. It makes at least one less test/deployment step and is actually 
very easy to setup (in Eclipse at least). Plus, I like the idea of 
having all the files related to a project in the same parent folder.

My typical web project looks like this:
root
 -src
 -test
 -webroot
 ---WEB-INF
 -classes
 -lib
source is compiled into webroot\WEB-INF\classes. Set my Tomcat context 
docBase to point to the project's webroot folder.

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


Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Leon Rosenberg

This is actually the moment i expect Jack Dakota to jump out of the bushes
:-) 

What do you do, if you habe more than one build target? 
How you separate the libs for the stand-alone application or scriplet from
those 
you need only for taglibs?
Tell me your jsps aren't packaged as the rest of the code...
You are probably 'implementing' constant interfaces?

Forgive me, it's Friday...


But to be serious again:
snip
I like the idea of having all the files related to a project in 
the same parent folder.
/snip

I think WEB-INF doesn't belong to the project, since it's neither a source
nor a configuration file/requirement. It's just part of specification of one
of possible environments. And by the way, hitting ant button in eclipse or a
key-shortcut is as fast as hitting ctrl-s :-)

Regards
Leon

TGIF!



 -Ursprüngliche Nachricht-
 Von: Bryce Fischer [mailto:[EMAIL PROTECTED] 
 Gesendet: Freitag, 4. Februar 2005 21:28
 An: Struts Users Mailing List
 Betreff: Re: [ANN] Free JSP Editor for Eclipse
 
 Leon Rosenberg wrote:
   Why would anyone have WEB-INF folder in his/her project ?
   Never heard about ant?
 
 I do. It makes at least one less test/deployment step and is 
 actually very easy to setup (in Eclipse at least). Plus, I 
 like the idea of having all the files related to a project in 
 the same parent folder.
 
 My typical web project looks like this:
 root
   -src
   -test
   -webroot
   ---WEB-INF
   -classes
   -lib
 
 source is compiled into webroot\WEB-INF\classes. Set my 
 Tomcat context docBase to point to the project's webroot folder.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Bryce Fischer
hehe... I wasn't trying to say it was the best way, just that it works 
for me. My projects tend to be small, self contained projects.

Leon Rosenberg wrote:
This is actually the moment i expect Jack Dakota to jump out of the bushes
:-) 

What do you do, if you habe more than one build target? 
I don't
How you separate the libs for the stand-alone application or scriplet from
those 
you need only for taglibs?
Doesn't apply to me.
Tell me your jsps aren't packaged as the rest of the code...
? I have JSPs inside the webroot folder.
You are probably 'implementing' constant interfaces?
Nope :-)
Forgive me, it's Friday...
Nothing to forgive. Honest debate going on, nothing to start a jihad over.
But to be serious again:
snip
I like the idea of having all the files related to a project in 
the same parent folder.
/snip

I think WEB-INF doesn't belong to the project, since it's neither a source
nor a configuration file/requirement. It's just part of specification of one
of possible environments. And by the way, hitting ant button in eclipse or a
key-shortcut is as fast as hitting ctrl-s :-)
I'll try that sometime. For now, my method works for me. I'm pretty sure 
it works for others too. I was just trying to make the point that having 
the WEB-INF inside a project isn't as inconceivable as you made it sound 
like.

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


Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Christian Bollmeyer
On Friday 04 February 2005 21:42, Leon Rosenberg wrote:

Well, actually my IDE (Oracle JDev 10g) supports multiple
kinds of projects within one WorkSpace, the web tier being
just one of them. Taglibs may be another issue, business and
backend tiers, too. All those are strictly seperate things. But
for the web part, I just like things being laid out in the project
structure exactly like they'll end up in the war file. What's the
exact benefit of handling things otherwise? Is there really 
no difference between things underneath WEB-INF and other
resources, 'yet another possible environment'? That may be
true, but still, I want to control what lands here and what
there in the build. In fact, before the build, anytime. Not only
on Fridays. Just a matter of taste, I guess, but still.

-- Chris

And yes, I know Ant. 'They came from the Desert'.
Remember that old Amiga game? 

 This is actually the moment i expect Jack Dakota to jump out of the
 bushes

 :-)

 What do you do, if you habe more than one build target?
 How you separate the libs for the stand-alone application or scriplet
 from those
 you need only for taglibs?
 Tell me your jsps aren't packaged as the rest of the code...
 You are probably 'implementing' constant interfaces?

 Forgive me, it's Friday...


 But to be serious again:
 snip
 I like the idea of having all the files related to a project in
 the same parent folder.
 /snip

 I think WEB-INF doesn't belong to the project, since it's neither a
 source nor a configuration file/requirement. It's just part of
 specification of one of possible environments. And by the way,
 hitting ant button in eclipse or a key-shortcut is as fast as hitting
 ctrl-s :-)

 Regards
 Leon

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



Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Hubert Rabago
On Fri, 4 Feb 2005 21:42:21 +0100, Leon Rosenberg
[EMAIL PROTECTED] wrote:
 
 This is actually the moment i expect Jack Dakota to jump out of the bushes
 :-)

Oh didn't you get the memo?  He's now Shey Rab Pawo.

 
snip/ 
 Forgive me, it's Friday...
 
snip/

 Regards
 Leon

:)
Hubert

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



newbie question

2005-02-04 Thread Soaring Eagle
Hello,

I am trying to write my first Struts application. I keep getting  

SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml 
Feb 4, 2005 4:45:23 PM EST Error HTTP BEA-101216 Servlet:
action failed to preload on startup in Web application: .
javax.servlet.UnavailableException: Parsing error processing resource
path /WEB-INF/struts-config.xml

error when I start my weblogic container. Here is my struts-config.xml
and web.xml

Could you please help me figure this one out.

- Eagle 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD
Struts Configuration 1.2//EN
http://struts.apache.org/dtds/struts-config_1_2.dtd;
struts-config

form-beans
form-bean name=manageMeForm
type=comui.form.ManageMeForm
form-property name=oneProperty 
type=java.lang.String/form-property
/form-bean
/form-beans
global-forwards type=org.apache.struts.action.ActionForward
forward name=error path=/error.jsp /
/global-forwards
action-mappings
action path=/manageMe.do
type=comui.form.ManageMeForm
name=manageMeForm
forward  name=success redirect=false 
path=/sk/Pg/Admin/User/Login /
/action
/action-mappings

!--form-beans 
form-bean name=manageMeForm 
type=comui.form.ManageMeForm/
/form-beans
global-exceptions /
global-forwards /
action-mappings type=org.apache.struts.action.ActionMapping
action attribute=manageMeForm input=/form/manageMe.jsp
name=manageMeForm path=/manageMe scope=request
type=comui.action.ManageMeAction forward=/manageMe/

/action-mappings

message-resources
parameter=comui.ApplicationResources / --
/struts-config



?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
   servlet
  servlet-nameaction/servlet-name
  servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
  /init-param
  init-param
 param-namedebug/param-name
 param-value3/param-value
  /init-param
  init-param
 param-namedetail/param-name
 param-value3/param-value
  /init-param
  load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
  servlet-nameaction/servlet-name
  url-pattern*.do/url-pattern
   /servlet-mapping
/web-app

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



Struts Web Services (StrutsWS) Update

2005-02-04 Thread Frank W. Zammetti
Today I have released v1.0 beta 1 of the Struts Web Services Enablement 
Project (StrutsWS) on SourceForge.  This is a MAJOR update!  Anyone 
using a previous version is very much recommended to upgrade ASAP, and 
if you are new to the project, now might be the time to have a look.

Here's the link to the SourceForge page:
http://sourceforge.net/projects/strutsws/
This is the first version I think might be ready for general public 
consumption, but I'm leaving it in beta a while to see how it goes.

Please have a look at the history file for all the changes.  Thanks 
everyone!

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Class not found error when action servlet starts up

2005-02-04 Thread Soaring Eagle
Hello

Whenever I try to start my weblogic container, i keep getting a class
not found excpetion when loading up the action servlet. I am not sure
why... please help me resolve this.

FINE:   Fire begin() for FactoryCreateRule[className=null, attributeName=null, c
[EMAIL PROTECTED]
Feb 4, 2005 5:28:10 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:476)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:181)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:223)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:41)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.jav

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



Re: newbie question

2005-02-04 Thread Erik Weber

Soaring Eagle wrote:
Hello,
I am trying to write my first Struts application. I keep getting  
 

Have you tried getting one of the example applications running first? 
This way, you can solve environment issues without having to worry about 
typos and bugs making things more complicated.

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


Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Vic
FYI, all I use is Eclipse 3.1 + XML buddy (it does all xml, html, jsp, 
etc files. or you can add colorer plug in).
Why make your life more complex.
.V

e-denton Java Programmer wrote:
Here's another problem. If I leave my app as a Sydeo Tomcat application,
Nitrox still asks me every time I open a .jsp file if I want to manage it as
a web application. Then, gives me a notice that it is using the regular
text editor instead (if I click No). So, if I choose not to use Nitrox on a
project, it's going to bug me twice for every .jsp file I open.
-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 1:18 PM
To: Struts Users Mailing List
Subject: RE: [ANN] Free JSP Editor for Eclipse

Hi Will,
Regarding your question about Tomcat projects:
By converting into Web application we do not modify any of the user
files, we build a database with all the artifacts. And after expiration
the project is same as what it was earlier.
From our perspective, all we're looking for is a webinf folder and the
web.xml file.  Hope this helps.
Thanks,
-Carlos
 

-Original Message-
From: Carlos Chang
Sent: Friday, February 04, 2005 10:22 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [ANN] Free JSP Editor for Eclipse
Hi Will,
For the current offer in place today, the license does NOT expire and
you will have access to updates for the JSP Editor free for 1 year.
   

As
 

for the project, I'm not familiar with this issue so I'll have to get
back to you on this.
Thanks,
-Carlos
   

-Original Message-
From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 4:01 AM
To: 'Struts Users Mailing List'
Subject: RE: [ANN] Free JSP Editor for Eclipse
Hi,
The Nitrox JSP Editor installed okay, but now it insists I convert
 

my
 

Tomcat
Projects into Web Application Projects. That's a lot to give up to
 

get
 

a
   

nice JSP editor. And, when my license expires, how would I convert
 

the
 

projects back into Tomcat projects--not in one easy step!
How long is the free license good for?
Thanks.
Will
-Original Message-
From: Carlos Chang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:10 PM
To: Struts Users Mailing List
Subject: [ANN] Free JSP Editor for Eclipse
Dear Java Developer,
For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
 

for
   

FREE!*
Download: http://www.m7.com/free
NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool
 

of
   

the Year.
The NitroX JSP Editor provides the following features:
* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!
Act now because this offer is available only for a limited time.
Thank you,
M7 Team
* Restrictions apply; please see license agreement for details.
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a
 

catch;
 

this offer is only for a limited time. ;-)


 

-
 

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

 

-
 

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

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


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


--
Forums, Boards, Blogs and News in RiA http://www.boardVU.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Class not found error when action servlet starts up

2005-02-04 Thread Sab
Definetly struts config has not been set up properly. Or check your
build you may be using. 
Hope this helps

-Original Message-
From: Soaring Eagle [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 2:32 PM
To: user@struts.apache.org
Subject: Class not found error when action servlet starts up


Hello

Whenever I try to start my weblogic container, i keep getting a class
not found excpetion when loading up the action servlet. I am not sure
why... please help me resolve this.

FINE:   Fire begin() for FactoryCreateRule[className=null,
attributeName=null, c
[EMAIL PROTECTED]
Feb 4, 2005 5:28:10 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:476)
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:181)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:223)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:41)
at
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.jav

-
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: newbie question

2005-02-04 Thread Sab
Check your xmlparser jar files you are using in your path.

-Original Message-
From: Soaring Eagle [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 1:53 PM
To: user@struts.apache.org
Subject: newbie question


Hello,

I am trying to write my first Struts application. I keep getting  

SEVERE: Parsing error processing resource path
/WEB-INF/struts-config.xml 
Feb 4, 2005 4:45:23 PM EST Error HTTP BEA-101216 Servlet:
action failed to preload on startup in Web application: .
javax.servlet.UnavailableException: Parsing error processing resource
path /WEB-INF/struts-config.xml

error when I start my weblogic container. Here is my struts-config.xml
and web.xml

Could you please help me figure this one out.

- Eagle 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD
Struts Configuration 1.2//EN
http://struts.apache.org/dtds/struts-config_1_2.dtd;
struts-config

form-beans
form-bean name=manageMeForm
type=comui.form.ManageMeForm
form-property name=oneProperty
type=java.lang.String/form-property
/form-bean
/form-beans
global-forwards type=org.apache.struts.action.ActionForward
forward name=error path=/error.jsp /
/global-forwards
action-mappings
action path=/manageMe.do
type=comui.form.ManageMeForm
name=manageMeForm
forward  name=success redirect=false
path=/sk/Pg/Admin/User/Login /
/action
/action-mappings

!--form-beans 
form-bean name=manageMeForm
type=comui.form.ManageMeForm/
/form-beans
global-exceptions /
global-forwards /
action-mappings type=org.apache.struts.action.ActionMapping
action attribute=manageMeForm
input=/form/manageMe.jsp
name=manageMeForm path=/manageMe scope=request
type=comui.action.ManageMeAction
forward=/manageMe/

/action-mappings

message-resources
parameter=comui.ApplicationResources / --
/struts-config



?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
   servlet
  servlet-nameaction/servlet-name
 
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
  /init-param
  init-param
 param-namedebug/param-name
 param-value3/param-value
  /init-param
  init-param
 param-namedetail/param-name
 param-value3/param-value
  /init-param
  load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
  servlet-nameaction/servlet-name
  url-pattern*.do/url-pattern
   /servlet-mapping
/web-app

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



Create a jsp page with 1 button

2005-02-04 Thread Sab
1How to create a jsp page in struts with it's mappings in config, if it
has 1 button and no fields.
When user clicks on button it will go to another webpage or action
defined.


2It's going to be a jsp page which brings in rows of data with checkbox
added to it's front. 



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