RE: Struts Validation

2005-09-29 Thread Phillip Qin
You need to copy some messages from validator-rules.xml's commented out
block.

-Original Message-
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED] 
Sent: September 29, 2005 12:44 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Struts Validation

Dear list,

I have a very simple form that I am validating.  I enables the plugin and
the validation works fine, but when I submit an empty form, it shows NULL
instead of picking the correct msg for the particular field from the
properties files.  Any idea why this is happening ?
I tried all versions of the DTDs and still doesn't work.

Thanks
Fadi

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


!DSPAM:433c19d6207412972918781!


RE: Struts Validation

2005-09-29 Thread Raghupathy,Gurumoorthy
Send your ApplicationResource.properties and alsi the struts-config.xml

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] 
Sent: 29 September 2005 17:52
To: Tomcat Users List
Subject: RE: Struts Validation


You need to copy some messages from validator-rules.xml's commented out
block.

-Original Message-
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED] 
Sent: September 29, 2005 12:44 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Struts Validation

Dear list,

I have a very simple form that I am validating.  I enables the plugin and
the validation works fine, but when I submit an empty form, it shows NULL
instead of picking the correct msg for the particular field from the
properties files.  Any idea why this is happening ?
I tried all versions of the DTDs and still doesn't work.

Thanks
Fadi

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


!DSPAM:433c19d6207412972918781!

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



Re: struts validation frame work

2005-05-24 Thread Will Hartung
 From: Rahul Akolkar [EMAIL PROTECTED]
 Sent: Monday, May 23, 2005 9:43 PM

 Not all validations can/should be done client-side.
 -Rahul

To expand, even validations done on the client side must be done again on
the server side. Never trust your client.

But for client side validation is still a valid and worthwhile pursuit, you
just need to be redundant on the server side.

Regards,

Will Hartung
([EMAIL PROTECTED])


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



Re: struts validation frame work

2005-05-23 Thread Rahul Akolkar
Not all validations can/should be done client-side.
-Rahul

On 5/24/05, raja buddha [EMAIL PROTECTED] wrote:
 Hi all
 In struts why do we need validation frame work  we have java script
 to do validations. Is there any extra advantage of using the validation
 frame work
 
 Regards
 raj
 
 _
 On the road to retirement? Check out MSN Life Events for advice on how to
 get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
 
 
 -
 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: Struts

2005-05-21 Thread Mark Thomas

raja buddha wrote:
 I am new to this group. Pls let me know to which email id i need to 
subscribe to post struts doubts.


See http://struts.apache.org/using.html#Lists

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



RE: Struts

2005-05-21 Thread Richard Mixon (qwest)
raja buddha mailto:[EMAIL PROTECTED] scribbled on Saturday, May
21, 2005 3:20 PM:
 Hi all ,
   I am new to this group. Pls let me know to which email id i need to
 subscribe to post struts doubts. 

Raja, you should point your browser over to Struts project at
http://struts.apache.org .

First look at the Learning link:
http://struts.apache.org/learning.html

After reading that material if you still have questions you can go to:
http://struts.apache.org/using.html#Questions

HTH - Richard


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



RE: Struts

2005-05-21 Thread Richard Mixon (qwest)
raja buddha mailto:[EMAIL PROTECTED] scribbled on Saturday, May
21, 2005 3:20 PM:
 Hi all ,
   I am new to this group. Pls let me know to which email id i need to
 subscribe to post struts doubts. 

Raja, you should point your browser over to Struts project at
http://struts.apache.org .

First look at the Learning link:
http://struts.apache.org/learning.html

After reading that material if you still have questions you can go to:
http://struts.apache.org/using.html#Questions

HTH - Richard


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



RE: Struts

2005-05-21 Thread raja buddha


Hi
   Please let me know what are all the discussion forums are there for 
struts.


Prem
From: Richard Mixon (qwest) Reply-To: Tomcat Users List To: 'Tomcat 
Users List' Subject: RE: Struts Date: Sat, 21 May 2005 15:37:44 -0700


raja buddha scribbled on Saturday, May 21, 2005 3:20 PM:  Hi all ,I 
am new to this group. Pls let me know to which email id i need to  
subscribe to post struts doubts.


Raja, you should point your browser over to Struts project at 
http://struts.apache.org .


First look at the Learning link: http://struts.apache.org/learning.html

After reading that material if you still have questions you can go to: 
http://struts.apache.org/using.html#Questions


HTH - Richard


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




_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



RE: Struts

2005-05-21 Thread Richard Mixon (qwest)
raja buddha mailto:[EMAIL PROTECTED] scribbled on Saturday, May
21, 2005 4:32 PM:

 Hi
 Please let me know what are all the discussion forums are
 there for struts. 
 
 Prem

Raja/Prem,

In my original post I gave you that information.

If you are asking what additional forms there are (i.e. not hosted by
Struts/Apache) then I would suggest that you Google for Struts forums.

HTH - Richard


 From: Richard Mixon (qwest) Reply-To: Tomcat Users List To:
 'Tomcat Users List' Subject: RE: Struts Date: Sat, 21 May 2005
 15:37:44 -0700 
 
 raja buddha scribbled on Saturday, May 21, 2005 3:20 PM:  Hi all ,
I am new to this group. Pls let me know to which email id i need
 to  subscribe to post struts doubts.
 
 Raja, you should point your browser over to Struts project at
 http://struts.apache.org . 
 
 First look at the Learning link:
 http://struts.apache.org/learning.html
 
 After reading that material if you still have questions you can go
 to: http://struts.apache.org/using.html#Questions
 
 HTH - Richard
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 Express yourself instantly with MSN Messenger! Download today - it's
 FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
 
 
 -
 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: Struts

2005-05-21 Thread Richard Mixon (qwest)
raja buddha mailto:[EMAIL PROTECTED] scribbled on Saturday, May
21, 2005 4:32 PM:

 Hi
 Please let me know what are all the discussion forums are
 there for struts. 
 
 Prem

Raja/Prem,

In my original post I gave you that information.

If you are asking what additional forms there are (i.e. not hosted by
Struts/Apache) then I would suggest that you Google for Struts forums.

HTH - Richard


 From: Richard Mixon (qwest) Reply-To: Tomcat Users List To:
 'Tomcat Users List' Subject: RE: Struts Date: Sat, 21 May 2005
 15:37:44 -0700 
 
 raja buddha scribbled on Saturday, May 21, 2005 3:20 PM:  Hi all ,
I am new to this group. Pls let me know to which email id i need
 to  subscribe to post struts doubts.
 
 Raja, you should point your browser over to Struts project at
 http://struts.apache.org . 
 
 First look at the Learning link:
 http://struts.apache.org/learning.html
 
 After reading that material if you still have questions you can go
 to: http://struts.apache.org/using.html#Questions
 
 HTH - Richard
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 Express yourself instantly with MSN Messenger! Download today - it's
 FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
 
 
 -
 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: Struts application

2004-12-13 Thread Shapira, Yoav

Hi,

succesfully served. Something important: I used J2SE 5.0, since it's a
REQUISITE for running v5.5 (and I haven't been able to find the famous
RUNNING.txt file - or any other document, for what it matters - where
those details for using v5.5 along with Java v1.4 are professedly
explained).

It's in any of the full distributions: jakarta-tomcat-5.5.x.zip or
jakarta-tomcat-5.5.x.tar.gz.  All you need to do in order to run Tomcat
5.5 under JDK 1.4 is extract jakarta-tomcat-5.5.x-compat.zip to the
directory where you installed Tomcat.  All the compat distro contains is
the JMX API and the Xerces implementation.

deployment. However, I thought it would also be a good debugging
practice
to
install a standalone Tomcat v4.1 server and make sure that, at least,
the

That IS good debugging practice.  An even better one would be to try a
more recent version such as Tomcat 5.0.x, rather than 4.1.x which is two
major versions back from 5.5.x.

JBuilderX. Hence, another question: what's the difference between:

jakarta-tomcat-4.1.31-LE-jdk14.exe

and

jakarta-tomcat-4.1.31.exe

The LE distribution does NOT contain files provided by JDK 1.4.  Don't
use it: use the full distributions.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



RE: Struts application

2004-12-13 Thread Freddy Villalba A.
Thanx Yoav,

Just a few things. Hope u can provide some further info (if not, it's ok...
you've already given me some answers, which I appreciate):

- I've tested doing what you said... actually, I'd tried that before even
contacting all of you, but since it didn't worked, I thought I might have
missed something else explained on the file I mentioned, running.TXT).
I'll give it a second try.

- I have a constraint: I must use Java v1.4 (therefore my testing v5.5 with
v1.4).

- Before trying out Tomcat 5.x, I believe it's more prudent to first make
sure that the web app works on a similar (note the quotes) environment.
Therefore my wanting to try out Tomcat v4.1 standalone server.

- I've already installed Tomcat 5.5 as a service. Will it conflict with v5.0
if I try to install the latter without uninstalling v5.5? (I've noticed that
the name of the service automatically created by the installer is tomcat5
(not tomcat5_5, tomcat5_x or similar).

- You say that LE version does not contain files files provided by JDK 1.4.
I'd already installed Sun's JDK 1.4 on my box. Are there any differences
between installing LE and integrating it with that JDK or using the full
version? Any small print? :)

Just that. Again, thanx 4 everything.

Regards everybody,
Freddy.


-Mensaje original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 13 de diciembre de 2004 17:55
Para: Tomcat Users List; [EMAIL PROTECTED]
Asunto: RE: Struts application



Hi,

succesfully served. Something important: I used J2SE 5.0, since it's a
REQUISITE for running v5.5 (and I haven't been able to find the famous
RUNNING.txt file - or any other document, for what it matters - where
those details for using v5.5 along with Java v1.4 are professedly
explained).

It's in any of the full distributions: jakarta-tomcat-5.5.x.zip or
jakarta-tomcat-5.5.x.tar.gz.  All you need to do in order to run Tomcat
5.5 under JDK 1.4 is extract jakarta-tomcat-5.5.x-compat.zip to the
directory where you installed Tomcat.  All the compat distro contains is
the JMX API and the Xerces implementation.

deployment. However, I thought it would also be a good debugging
practice
to
install a standalone Tomcat v4.1 server and make sure that, at least,
the

That IS good debugging practice.  An even better one would be to try a
more recent version such as Tomcat 5.0.x, rather than 4.1.x which is two
major versions back from 5.5.x.

JBuilderX. Hence, another question: what's the difference between:

jakarta-tomcat-4.1.31-LE-jdk14.exe

and

jakarta-tomcat-4.1.31.exe

The LE distribution does NOT contain files provided by JDK 1.4.  Don't
use it: use the full distributions.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


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


Re: struts problem..action forward not working...please help...

2004-07-28 Thread David Liles
try:

return (mapping.findForward(success));


 [EMAIL PROTECTED] 07/28/04 02:44PM 
I am writing a struts application...I have configued struts-config such that
when the user submit billing info,
the data is inserted into database and returns result.jsp page.  when i run
my aplication the billing info is created in database but the result page is
displayed blank.  Is there any in configuraton that i am missing..below is
my striys config

action
path=/BillingInfo
type=com.ecommerce.action.BillingInfoAction
name=BillingInfoForm
input=/BillingInfo.jsp
forward name=success path=/result.jsp /
/action

Below is the action class excute method.
--
public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 HttpServletRequest request,
 HttpServletResponse response)
throws Exception
{

HttpSession session = request.getSession();
String action = request.getParameter(action);
if (action == null)
action = Create;
BillingInfoForm usrform = (BillingInfoForm)form;
System.out.println(usrform.firstname: + usrform.getFirstName());
System.out.println(usrform.firstname: + usrform.getLastName());
try
{
UserDAO usrDao = new UserDAO();
usrDao.createUser(usrform);
}
catch(DAOException e)
{
e.printStackTrace();
throw new Exception(User could not be created);

}

return (mapping.findForward(result));
}

web.xml has the default entry

  !-- Standard Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping
==


-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 28, 2004 10:33 AM
To: Tomcat Users List
Subject: Re: jasper exception in jsp -- please help..


Well... worth a shot.  This appears to be the stock, standard
application.properties file.  Got me.  I even ran this snippet through
an XML validator and other than missing tr.../tr around the row for
lastname and a missing /html ending tag, everything is good.  Maybe
check the original file for fancy curly quotes in a place that should
have straight double quotes.  I'm willing to bet it's a something really
small that didn't translate to your email post.

--David

Shilpa Nalgonda wrote:

this is my application.properties file..
==
# -- standard errors --
errors.header=UL
errors.prefix=LI
errors.suffix=/LI
errors.footer=/UL
# -- validator --
errors.invalid={0} is invalid.
errors.maxlength={0} can not be greater than {1} characters.
errors.minlength={0} can not be less than {1} characters.
errors.range={0} is not in the range {1} through {2}.
errors.required={0} is required.
errors.byte={0} must be an byte.
errors.date={0} is not a date.
errors.double={0} must be an double.
errors.float={0} must be an float.
errors.integer={0} must be an integer.
errors.long={0} must be an long.
errors.short={0} must be an short.
errors.creditcard={0} is not a valid credit card number.
errors.email={0} is an invalid e-mail address.
# -- other --
errors.cancel=Operation cancelled.
errors.detail={0}
errors.general=The process did not complete. Details should follow.
errors.token=Request could not be completed. Operation is not in sequence.
# -- welcome --
welcome.title=Struts Blank Application
welcome.heading=Welcome!
welcome.message=To get started on your own application, copy the
struts-blank.war to a new WAR file using the name for your application.
Place it in your container's webapp folder (or equivalent), and let your
container auto-deploy the application. Edit the skeleton configuration
files
as needed, restart your container, and you are on your way! (You can find
the application.properties file with this message in the
/WEB-INF/src/java/resources folder.)
BillingInfo.firstName=First Name
BillingInfo.lastName=Last Name

===

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 28, 2004 10:02 AM
To: Tomcat Users List
Subject: Re: jasper exception in jsp -- please help..


Hmm the jsp appears to be alright.  What's in your
application.properties file for properties used in the html:errors/ tag?

Shilpa Nalgonda wrote:



org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol
expected

I am getting the above error, i am using struts tags in my
BillingInfo.jsp.
Below is my BillingInfo.jsp...

%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib uri=/WEB-INF/struts-html.tld 

RE: struts problem..action forward not working...pleasehelp...

2004-07-28 Thread Shilpa Nalgonda
I changed to success instead of result, but i have another problem

javax.servlet.ServletException: org/apache/jsp/result_jsp (wrong name:
org/apache/jsp/Result_jsp)

In the beginning i had path as result.jsp in forward element of struts
config file.  But i have named the jsp as Result.jsp.  But inorder to
correct it i rename Result.jsp name to result.jsp .
And i rejared everything and deployed on Tomcat, ut still i have the above
problem..can someone help where i am doing wrong.

-Original Message-
From: David Liles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 4:07 PM
To: [EMAIL PROTECTED]
Subject: Re: struts problem..action forward not working...pleasehelp...


try:

return (mapping.findForward(success));


 [EMAIL PROTECTED] 07/28/04 02:44PM 
I am writing a struts application...I have configued struts-config such that
when the user submit billing info,
the data is inserted into database and returns result.jsp page.  when i run
my aplication the billing info is created in database but the result page is
displayed blank.  Is there any in configuraton that i am missing..below is
my striys config

action
path=/BillingInfo
type=com.ecommerce.action.BillingInfoAction
name=BillingInfoForm
input=/BillingInfo.jsp
forward name=success path=/result.jsp /
/action

Below is the action class excute method.
--
public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 HttpServletRequest request,
 HttpServletResponse response)
throws Exception
{

HttpSession session = request.getSession();
String action = request.getParameter(action);
if (action == null)
action = Create;
BillingInfoForm usrform = (BillingInfoForm)form;
System.out.println(usrform.firstname: + usrform.getFirstName());
System.out.println(usrform.firstname: + usrform.getLastName());
try
{
UserDAO usrDao = new UserDAO();
usrDao.createUser(usrform);
}
catch(DAOException e)
{
e.printStackTrace();
throw new Exception(User could not be created);

}

return (mapping.findForward(result));
}

web.xml has the default entry

  !-- Standard Action Servlet Mapping --
  servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
  /servlet-mapping
==


-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 10:33 AM
To: Tomcat Users List
Subject: Re: jasper exception in jsp -- please help..


Well... worth a shot.  This appears to be the stock, standard
application.properties file.  Got me.  I even ran this snippet through
an XML validator and other than missing tr.../tr around the row for
lastname and a missing /html ending tag, everything is good.  Maybe
check the original file for fancy curly quotes in a place that should
have straight double quotes.  I'm willing to bet it's a something really
small that didn't translate to your email post.

--David

Shilpa Nalgonda wrote:

this is my application.properties file..
==
# -- standard errors --
errors.header=UL
errors.prefix=LI
errors.suffix=/LI
errors.footer=/UL
# -- validator --
errors.invalid={0} is invalid.
errors.maxlength={0} can not be greater than {1} characters.
errors.minlength={0} can not be less than {1} characters.
errors.range={0} is not in the range {1} through {2}.
errors.required={0} is required.
errors.byte={0} must be an byte.
errors.date={0} is not a date.
errors.double={0} must be an double.
errors.float={0} must be an float.
errors.integer={0} must be an integer.
errors.long={0} must be an long.
errors.short={0} must be an short.
errors.creditcard={0} is not a valid credit card number.
errors.email={0} is an invalid e-mail address.
# -- other --
errors.cancel=Operation cancelled.
errors.detail={0}
errors.general=The process did not complete. Details should follow.
errors.token=Request could not be completed. Operation is not in sequence.
# -- welcome --
welcome.title=Struts Blank Application
welcome.heading=Welcome!
welcome.message=To get started on your own application, copy the
struts-blank.war to a new WAR file using the name for your application.
Place it in your container's webapp folder (or equivalent), and let your
container auto-deploy the application. Edit the skeleton configuration
files
as needed, restart your container, and you are on your way! (You can find
the application.properties file with this message in the
/WEB-INF/src/java/resources folder.)
BillingInfo.firstName=First Name
BillingInfo.lastName=Last Name

Re: Struts parameter setting

2004-06-11 Thread George
I would like to ask this question again.
(B
(BPlease tell me how to use "maxCount" value in
(Bstruts-config.xml.
(B
(BAm I correct if I set "maxCount=-1"?
(BOur system is running properly when the value is -1.
(B
(BGeorge
(B
(B__
(BDo You Yahoo!?
(Bhttp://bb.yahoo.co.jp/
(B
(B
(B-
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

RE: struts validator

2004-04-14 Thread Yansheng Lin
I am not exactly sure why you mean by case-insensitive.  But if you use
[a-zA-Z] in your mask regexp, then the validator knows you want to accept
all the letters.  Is that what you asked?

-Yan

-Original Message-
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 13, 2004 16:25
To: 'Tomcat Users List'
Subject: RE: struts validator


Yes there is, it works quite nicely I don't really want to re-write it.  I
just want to know if there's a property I can set on the mask or something
to be case insensitive.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: electroteque [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 13, 2004 2:22 PM
 To: Tomcat Users List
 Subject: RE: struts validator
 
 Is there a form validator in struts, is it customizable ? If so maybe
 extend
 the class ?
 
  -Original Message-
  From: mike jackson [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 14, 2004 8:17 AM
  To: 'Tomcat Users List'
  Subject: struts validator
 
 
  I'm using masks to validate some fields using the validator in
  struts.  But
  my masks are getting extremely complex trying to deal with both lower
 case
  and upper case possibilities.  Is there a way to specify that the mask
  should be evaluated as case insensitive?
 
  --mikej
  -=--
  mike jackson
  [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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


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



RE: struts validator

2004-04-13 Thread electroteque
Is there a form validator in struts, is it customizable ? If so maybe extend
the class ?

 -Original Message-
 From: mike jackson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 14, 2004 8:17 AM
 To: 'Tomcat Users List'
 Subject: struts validator


 I'm using masks to validate some fields using the validator in
 struts.  But
 my masks are getting extremely complex trying to deal with both lower case
 and upper case possibilities.  Is there a way to specify that the mask
 should be evaluated as case insensitive?

 --mikej
 -=--
 mike jackson
 [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: struts validator

2004-04-13 Thread mike jackson
Yes there is, it works quite nicely I don't really want to re-write it.  I
just want to know if there's a property I can set on the mask or something
to be case insensitive.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: electroteque [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 13, 2004 2:22 PM
 To: Tomcat Users List
 Subject: RE: struts validator
 
 Is there a form validator in struts, is it customizable ? If so maybe
 extend
 the class ?
 
  -Original Message-
  From: mike jackson [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 14, 2004 8:17 AM
  To: 'Tomcat Users List'
  Subject: struts validator
 
 
  I'm using masks to validate some fields using the validator in
  struts.  But
  my masks are getting extremely complex trying to deal with both lower
 case
  and upper case possibilities.  Is there a way to specify that the mask
  should be evaluated as case insensitive?
 
  --mikej
  -=--
  mike jackson
  [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: Struts with Tomcat and Apache

2004-04-10 Thread Ralf Schneider
Am Samstag, 10. April 2004 00:04 schrieb QM:
 On Fri, Apr 09, 2004 at 11:38:38PM +0200, Ralf Schneider wrote:
 : I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts
 : documentation only talks about Tomcat 3.x.

 Setting up Apache+Tomcat and Tomcat+Struts are two separate processes
 that don't necessarily have to be done at the same time:

Hi,

I just tried to follow the Struts docs explaining how to use it with Tomcat 
and Apache, but with older versions. I use Tomcat 5.0.16 with Apache 2.0.48.

 * If you're new to Tomcat, you'd do well to start with a basic
   Tomcat+Struts approach first, then add Apache later on.

 * If you want only to experiment with Struts from a development point of
   view, leave Apache out of the picture altogether.

No, I'm not new to Tomcat. I've some experiences with it together with 
Apache2. My job is to move a project using these two players towards Struts. 
So, one requirement is that the basic infrastructure remains as it is. 

 As someone else mentioned, the struts-blank app is just a standard webapp.
 The Tomcat docs describe the process of deploying a webapp.

   http://jakarta.apache.org/tomcat

I know. And as John suggested, I also read a book (in german) about Struts, 
but it only explains how to use it with Tomcat without Apache.

Best regards,
Ralf.


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



Re: Struts with Tomcat and Apache

2004-04-10 Thread QM
On Sat, Apr 10, 2004 at 12:24:11PM +0200, Ralf Schneider wrote:
: No, I'm not new to Tomcat. I've some experiences with it together with 
: Apache2. My job is to move a project using these two players towards Struts. 
: So, one requirement is that the basic infrastructure remains as it is. 

Understood.  My idea to start with just Tomcat was to help you get the
Tomcat+Struts up and running before putting Apache in the picture.  It
wasn't a suggestion to go to production w/o Apache, if the app needs it.


: I know. And as John suggested, I also read a book (in german) about Struts, 
: but it only explains how to use it with Tomcat without Apache.

I suppose, then, I don't understand your question.

What sort of specific problems have you run into?

Admittedly, it's been a while since I've done a struts setup from scratch,
but I don't recall anything special about putting Apache in front.  -that
is, nothing special beyond what you'd do for putting Apache in front of any
webapp (i.e. mod_jk or jk2 configuration).

Assuming you have all of the prerequisite JAR files -- and I think there's
a version of struts-blank.war that includes them -- then you just drop the
WAR file into Tomcat's webapps/ dir and it runs.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Autoreply: Re: Struts with Tomcat and Apache

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 06:57:11 -0700
Received: (qmail 29544 invoked by uid 500); 10 Apr 2004 13:56:43 -
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:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 29442 invoked from network); 10 Apr 2004 13:56:43 -
Received: from unknown (HELO smarty.dreamhost.com) (66.33.216.24)
  by daedalus.apache.org with SMTP; 10 Apr 2004 13:56:43 -
Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57])
by smarty.dreamhost.com (Postfix) with ESMTP
id 5C1BF13F638; Sat, 10 Apr 2004 06:56:44 -0700 (PDT)
Received: by strange.dreamhost.com (Postfix, from userid 7734)
id 5EA106AA14; Sat, 10 Apr 2004 06:56:44 -0700 (PDT)
Date: Sat, 10 Apr 2004 08:56:44 -0500
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Struts with Tomcat and Apache
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.3.28i
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

On Sat, Apr 10, 2004 at 12:24:11PM +0200, Ralf Schneider wrote:
: No, I'm not new to Tomcat. I've some experiences with it together with 
: Apache2. My job is to move a project using these two players towards Struts. 
: So, one requirement is that the basic infrastructure remains as it is. 

Understood.  My idea to start with just Tomcat was to help you get the
Tomcat+Struts up and running before putting Apache in the picture.  It
wasn't a suggestion to go to production w/o Apache, if the app needs it.


: I know. And as John suggested, I also read a book (in german) about Struts, 
: but it only explains how to use it with Tomcat without Apache.

I suppose, then, I don't understand your question.

What sort of specific problems have you run into?

Admittedly, it's been a while since I've done a struts setup from scratch,
but I don't recall anything special about putting Apache in front.  -that
is, nothing special beyond what you'd do for putting Apache in front of any
webapp (i.e. mod_jk or jk2 configuration).

Assuming you have all of the prerequisite JAR files -- and I think there's
a version of struts-blank.war that includes them -- then you just drop the
WAR file into Tomcat's webapps/ dir and it runs.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



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



Re: Struts with Tomcat and Apache

2004-04-10 Thread Ralf Schneider
Am Samstag, 10. April 2004 15:56 schrieb QM:
 : I know. And as John suggested, I also read a book (in german) about
 : Struts, but it only explains how to use it with Tomcat without Apache.

 I suppose, then, I don't understand your question.

 What sort of specific problems have you run into?

OK, the problem was (yes, I solved right now!) that the Struts docs explain 
the connection between Tomcat and Apache for quite old versions (Tomcat 
3.2.1) with mod_jk. 

But I actually use Tomcat 5.0.16 with Apache 2.0.48 with mod_jk2. But 
fortunately, the setup with mod_jk2 seems to be a bit easier than with 
mod_jk, so all I had to do was to add some section in the workers2.properties 
file in the conf directory of Apache like this:

[uri:/struts-blank/*]
worker=ajp13:localhost:8009

Now, I can call the example apps with an URL like 
http://localhost/struts_blank (without supplying port 8080).

 Assuming you have all of the prerequisite JAR files -- and I think there's
 a version of struts-blank.war that includes them -- then you just drop the
 WAR file into Tomcat's webapps/ dir and it runs.

Unfortunately not! I did drop the example apps into the webapps directory of 
my Tomcat installation, but when I call the struts-blank example I get the 
following error:

exception

javax.servlet.ServletException: 
javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

root cause

java.lang.NoSuchMethodError: 
javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V

org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:432)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:290)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:204)

org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Did I miss anything? Do I have to install anything else for being able to try 
the example apps?

Best regards,
Ralf.


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



Re: Struts with Tomcat and Apache

2004-04-10 Thread QM
On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote:
: javax.servlet.ServletException: 
: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
: org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
: javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
: 
: root cause
: 
: java.lang.NoSuchMethodError: 
: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V

For grins and giggles, I dropped struts-blank.war into a test Tomcat5
deployment.  It worked without a problem.

- what JDK are you using? 1.3 or 1.4?
- did you see the list of prerequisite software on the Struts page?

After that, it's time to hunt for rogue jars...

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Autoreply: Re: Struts with Tomcat and Apache

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 09:45:28 -0700
Received: (qmail 31161 invoked by uid 500); 10 Apr 2004 16:45:10 -
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:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 31146 invoked from network); 10 Apr 2004 16:45:10 -
Received: from unknown (HELO smarty.dreamhost.com) (66.33.216.24)
  by daedalus.apache.org with SMTP; 10 Apr 2004 16:45:10 -
Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57])
by smarty.dreamhost.com (Postfix) with ESMTP
id 5BAC913F634; Sat, 10 Apr 2004 09:45:13 -0700 (PDT)
Received: by strange.dreamhost.com (Postfix, from userid 7734)
id 697196AA14; Sat, 10 Apr 2004 09:45:13 -0700 (PDT)
Date: Sat, 10 Apr 2004 11:45:13 -0500
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Struts with Tomcat and Apache
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.3.28i
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote:
: javax.servlet.ServletException: 
: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
: org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
: javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
: 
: root cause
: 
: java.lang.NoSuchMethodError: 
: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V

For grins and giggles, I dropped struts-blank.war into a test Tomcat5
deployment.  It worked without a problem.

- what JDK are you using? 1.3 or 1.4?
- did you see the list of prerequisite software on the Struts page?

After that, it's time to hunt for rogue jars...

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



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



Re: Struts with Tomcat and Apache

2004-04-10 Thread Ralf Schneider
Am Samstag, 10. April 2004 18:45 schrieb QM:
 On Sat, Apr 10, 2004 at 05:19:18PM +0200, Ralf Schneider wrote:
 : javax.servlet.ServletException:
 : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/
 :String;ZZ)V
 : org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
 : javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 :
 : root cause
 :
 : java.lang.NoSuchMethodError:
 : javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/
 :String;ZZ)V

 For grins and giggles, I dropped struts-blank.war into a test Tomcat5
 deployment.  It worked without a problem.

 - what JDK are you using? 1.3 or 1.4?
 - did you see the list of prerequisite software on the Struts page?

 After that, it's time to hunt for rogue jars...

OK, I solved the problem. I had one JAR too much in common/lib: servlet.jar.

Thanks for your suggestions,
Ralf.


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



RE: Struts with Tomcat and Apache

2004-04-09 Thread John Thompson
Ralf, 
I'm not familiar with the document you refer to but Struts is essentially a
library of functions and JSP tags that are part of your servlet.  Neither
the Tomcat nor Apache configurations are really affected by Struts.  The
documents at http://jakarta.apache.org/struts/ talk about how to put the
libraries in the right places.  

If you haven't used Struts before, I'd suggest the bookstore.  There are a
couple of decent books on it.  Sorry, but I don't have either of mine with
me right now.  It definitely was not straight forward but made easier with
lots of examples.

John

-Original Message-
From: Ralf Schneider [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 4:39 PM
To: 'Tomcat Users List'
Subject: Struts with Tomcat and Apache

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts 
documentation only talks about Tomcat 3.x.

My first try was to follow the instructions for Tomcat 3.2.1. I copied the 
war files included with the binary distribution into the webapps directory
of 
my Tomcat installation. Then I restarted Tomcat, but the file 
tomcat-apache.conf is not generate as described in the docs.

So, I assume the installation works a bit different with these newer
versions, 
but how? I that described anywhere? And if yes, where?

Any hint would be apreciated,
Ralf.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w
ZkhLHZdDKMiqy3HoijINtCQ=
=hJ/+
-END PGP SIGNATURE-


-
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: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Hey John,

When you get home, would you mind posting the names of the books?

Thanks,

Dave

-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 2:55 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Struts with Tomcat and Apache


Ralf, 
I'm not familiar with the document you refer to but Struts is essentially a
library of functions and JSP tags that are part of your servlet.  Neither
the Tomcat nor Apache configurations are really affected by Struts.  The
documents at http://jakarta.apache.org/struts/ talk about how to put the
libraries in the right places.  

If you haven't used Struts before, I'd suggest the bookstore.  There are a
couple of decent books on it.  Sorry, but I don't have either of mine with
me right now.  It definitely was not straight forward but made easier with
lots of examples.

John

-Original Message-
From: Ralf Schneider [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 4:39 PM
To: 'Tomcat Users List'
Subject: Struts with Tomcat and Apache

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts 
documentation only talks about Tomcat 3.x.

My first try was to follow the instructions for Tomcat 3.2.1. I copied the 
war files included with the binary distribution into the webapps directory
of 
my Tomcat installation. Then I restarted Tomcat, but the file 
tomcat-apache.conf is not generate as described in the docs.

So, I assume the installation works a bit different with these newer
versions, 
but how? I that described anywhere? And if yes, where?

Any hint would be apreciated,
Ralf.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w
ZkhLHZdDKMiqy3HoijINtCQ=
=hJ/+
-END PGP SIGNATURE-


-
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: Struts with Tomcat and Apache

2004-04-09 Thread John Thompson
You bet.  One is at home and the other at the office.  I'll post as soon as
I can.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 5:02 PM
To: 'Tomcat Users List'
Subject: RE: Struts with Tomcat and Apache

Hey John,

When you get home, would you mind posting the names of the books?

Thanks,

Dave

-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 2:55 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Struts with Tomcat and Apache


Ralf, 
I'm not familiar with the document you refer to but Struts is essentially a
library of functions and JSP tags that are part of your servlet.  Neither
the Tomcat nor Apache configurations are really affected by Struts.  The
documents at http://jakarta.apache.org/struts/ talk about how to put the
libraries in the right places.  

If you haven't used Struts before, I'd suggest the bookstore.  There are a
couple of decent books on it.  Sorry, but I don't have either of mine with
me right now.  It definitely was not straight forward but made easier with
lots of examples.

John

-Original Message-
From: Ralf Schneider [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 4:39 PM
To: 'Tomcat Users List'
Subject: Struts with Tomcat and Apache

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts 
documentation only talks about Tomcat 3.x.

My first try was to follow the instructions for Tomcat 3.2.1. I copied the 
war files included with the binary distribution into the webapps directory
of 
my Tomcat installation. Then I restarted Tomcat, but the file 
tomcat-apache.conf is not generate as described in the docs.

So, I assume the installation works a bit different with these newer
versions, 
but how? I that described anywhere? And if yes, where?

Any hint would be apreciated,
Ralf.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w
ZkhLHZdDKMiqy3HoijINtCQ=
=hJ/+
-END PGP SIGNATURE-


-
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: Struts with Tomcat and Apache

2004-04-09 Thread QM
On Fri, Apr 09, 2004 at 11:38:38PM +0200, Ralf Schneider wrote:
: I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts
: documentation only talks about Tomcat 3.x.

Setting up Apache+Tomcat and Tomcat+Struts are two separate processes
that don't necessarily have to be done at the same time:

* If you're new to Tomcat, you'd do well to start with a basic
  Tomcat+Struts approach first, then add Apache later on.

* If you want only to experiment with Struts from a development point of
  view, leave Apache out of the picture altogether.


As someone else mentioned, the struts-blank app is just a standard webapp.
The Tomcat docs describe the process of deploying a webapp.

http://jakarta.apache.org/tomcat

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Would also mind stating which one you recommend the most?

-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 3:03 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Struts with Tomcat and Apache


You bet.  One is at home and the other at the office.  I'll post as soon as
I can.

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 5:02 PM
To: 'Tomcat Users List'
Subject: RE: Struts with Tomcat and Apache

Hey John,

When you get home, would you mind posting the names of the books?

Thanks,

Dave

-Original Message-
From: John Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 2:55 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Struts with Tomcat and Apache


Ralf, 
I'm not familiar with the document you refer to but Struts is essentially a
library of functions and JSP tags that are part of your servlet.  Neither
the Tomcat nor Apache configurations are really affected by Struts.  The
documents at http://jakarta.apache.org/struts/ talk about how to put the
libraries in the right places.  

If you haven't used Struts before, I'd suggest the bookstore.  There are a
couple of decent books on it.  Sorry, but I don't have either of mine with
me right now.  It definitely was not straight forward but made easier with
lots of examples.

John

-Original Message-
From: Ralf Schneider [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 4:39 PM
To: 'Tomcat Users List'
Subject: Struts with Tomcat and Apache

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts 
documentation only talks about Tomcat 3.x.

My first try was to follow the instructions for Tomcat 3.2.1. I copied the 
war files included with the binary distribution into the webapps directory
of 
my Tomcat installation. Then I restarted Tomcat, but the file 
tomcat-apache.conf is not generate as described in the docs.

So, I assume the installation works a bit different with these newer
versions, 
but how? I that described anywhere? And if yes, where?

Any hint would be apreciated,
Ralf.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAdxfe7YyyfykA0YkRAmb9AJ48UdZw2EZ6mDqJlEa6Jwwu8LwslgCfY02w
ZkhLHZdDKMiqy3HoijINtCQ=
=hJ/+
-END PGP SIGNATURE-


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


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




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


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




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



Re: Struts with Tomcat and Apache

2004-04-09 Thread QM
On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote:
: Hey John,
: 
: When you get home, would you mind posting the names of the books?

I'm not John, but I'll play him on TV. ;)

Seriously:

Struts in Action (Husted et al, Manning Press) has been my guide.
It's a little heavy on the theory at times, but I find that much more
useful than the quick-hit books that leave you stranded the minute you
want to do something advanced.

This text covers Tiles, I18N, declarative exception handling, and
several other topics that other books (at the time, at least) either
glossed over or omitted entirely. 

Don't be fooled by its age: it's technically written for Struts 1.0
(with a chapter or two on 1.1), but much of the book is Overall Struts
Concepts which makes it largely version-independent.

Just be careful of which printing you get: the first printing was rife
with typos. For a while I had two bookmarks: one, for the page I was
reading; the other, for the page I'd made corrections based on the
publisher's errata site... ;)


If you're interested, there was also a recent thread on the struts-user
list of this same topic.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Thanks!

-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 3:15 PM
To: Tomcat Users List
Subject: Re: Struts with Tomcat and Apache


On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote:
: Hey John,
: 
: When you get home, would you mind posting the names of the books?

I'm not John, but I'll play him on TV. ;)

Seriously:

Struts in Action (Husted et al, Manning Press) has been my guide.
It's a little heavy on the theory at times, but I find that much more
useful than the quick-hit books that leave you stranded the minute you
want to do something advanced.

This text covers Tiles, I18N, declarative exception handling, and
several other topics that other books (at the time, at least) either
glossed over or omitted entirely. 

Don't be fooled by its age: it's technically written for Struts 1.0
(with a chapter or two on 1.1), but much of the book is Overall Struts
Concepts which makes it largely version-independent.

Just be careful of which printing you get: the first printing was rife
with typos. For a while I had two bookmarks: one, for the page I was
reading; the other, for the page I'd made corrections based on the
publisher's errata site... ;)


If you're interested, there was also a recent thread on the struts-user
list of this same topic.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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




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



Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception

2004-03-23 Thread Adrian Lanning
Hi,
You might have more luck with this in the struts-user mailing list.

Are you using a custom request processor?  If so did you extend
org.apache.struts.action.RequestProcessor or
org.apache.struts.tiles.TilesRequestProcessor?

Adrian


- Original Message - 
From: Namasivayam, Sudhakar (Cognizant) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 12:27 AM
Subject: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception




Hi all,

This error happens only in Tomcat 4.0  and not Tomcat 5.0.19 in Linux 7.0.
Am i missing any library files? I have put the latest library files. I did
find similar mail in the struts archives but no response to that...  Or is
this the problem with my manager webapp?

  I do not get Class cast exception message when i stop and start the
webapp. Only when a action is invoked this exception occurs!!
Both the times( stop-start   and   action.do ) it is trying to get the same
RequestProcessor object but the second time it throws an error.

If i insert a try catch block in the ActionServlet class,it works fine...
Can any one explain me why this exception occurs?
I did  verify that  getServletContext().getAttribute(key);  in
ActionServlet.java:855 returns a RequestProcessor object.
Pls find the log and my server.xml at the end of the mail.

Thanks in advance,
Sudhakar


 2004-03-22 15:18:09 Manager: start: Starting web application at '/sfpsr2'
 2004-03-22 15:18:09 StandardHost[localhost]: standardHost.start /sfpsr2
 2004-03-22 15:18:09 StandardContext[/sfpsr2]: Configuring ProxyDirContext
[EMAIL PROTECTED]
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploying class repositories to
work directory /usr/local/tomcat4.0.4/work/Agent8050/localhost/sfpsr2
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/activation.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/activation.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/classes12.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/classes12.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-beanutils.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-beanutils.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-collections.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-collections.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-dbcp-1.1.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-dbcp-1.1.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-digester.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-digester.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-fileupload.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-fileupload.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-lang.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-lang.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-logging.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-logging1.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging1.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-validator.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-validator.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/jakarta-oro.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/jakarta-oro.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/log4j-1.2.8.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/log4j-1.2.8.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/mail.jar
to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/mail.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/servlet.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/servlet.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/struts.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/struts2.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts2.jar
 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding random number
generator class java.security.SecureRandom
 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding of random number
generator has been completed
 2004-03-22 15:18:10 ContextConfig[/sfpsr2]: Added certificates - request
attribute Valve
 2004-03-22 15:18:10 Initializing application variables
 2004-03-22 15:18:11 StandardWrapper[/sfpsr2:default]: Loading container
servlet default
 2004-03-22 15:18:11 default: init
 2004-03-22 15:18:11 jsp: init
 2004-03-22 15:18:12 StandardWrapper[/sfpsr2:ssi]: Loading container servlet
ssi
 2004-03-22 15:18:12 ssi: 

RE: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception

2004-03-23 Thread Namasivayam, Sudhakar (Cognizant)
Hi,

 No luck in that mailing list :(  May be i thought this might have to do some thing 
with tomcat... 

I am using the default RequestPrcessor only. I m using the default package of struts!

Thanks,
sudhakar


-Original Message-
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:40 PM
To: Tomcat Users List
Subject: Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception


Hi,
You might have more luck with this in the struts-user mailing list.

Are you using a custom request processor?  If so did you extend
org.apache.struts.action.RequestProcessor or
org.apache.struts.tiles.TilesRequestProcessor?

Adrian


- Original Message - 
From: Namasivayam, Sudhakar (Cognizant) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 12:27 AM
Subject: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception




Hi all,

This error happens only in Tomcat 4.0  and not Tomcat 5.0.19 in Linux 7.0.
Am i missing any library files? I have put the latest library files. I did
find similar mail in the struts archives but no response to that...  Or is
this the problem with my manager webapp?

  I do not get Class cast exception message when i stop and start the
webapp. Only when a action is invoked this exception occurs!!
Both the times( stop-start   and   action.do ) it is trying to get the same
RequestProcessor object but the second time it throws an error.

If i insert a try catch block in the ActionServlet class,it works fine...
Can any one explain me why this exception occurs?
I did  verify that  getServletContext().getAttribute(key);  in
ActionServlet.java:855 returns a RequestProcessor object.
Pls find the log and my server.xml at the end of the mail.

Thanks in advance,
Sudhakar


 2004-03-22 15:18:09 Manager: start: Starting web application at '/sfpsr2'
 2004-03-22 15:18:09 StandardHost[localhost]: standardHost.start /sfpsr2
 2004-03-22 15:18:09 StandardContext[/sfpsr2]: Configuring ProxyDirContext
[EMAIL PROTECTED]
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploying class repositories to
work directory /usr/local/tomcat4.0.4/work/Agent8050/localhost/sfpsr2
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/activation.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/activation.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/classes12.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/classes12.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-beanutils.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-beanutils.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-collections.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-collections.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-dbcp-1.1.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-dbcp-1.1.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-digester.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-digester.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-fileupload.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-fileupload.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-lang.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-lang.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-logging.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-logging1.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-logging1.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/commons-validator.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/commons-validator.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/jakarta-oro.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/jakarta-oro.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/log4j-1.2.8.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/log4j-1.2.8.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR /WEB-INF/lib/mail.jar
to /usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/mail.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/servlet.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/servlet.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/struts.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts.jar
 2004-03-22 15:18:09 WebappLoader[/sfpsr2]: Deploy JAR
/WEB-INF/lib/struts2.jar to
/usr/local/tomcat4.0.4/webapps/sfpsr2/WEB-INF/lib/struts2.jar
 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding random number
generator class java.security.SecureRandom
 2004-03-22 15:18:09 StandardManager[/sfpsr2]: Seeding of random number
generator has

RE: Struts

2004-01-27 Thread Wendy Smoak
 I have tomcat 4.1.29 and jdk1.3. I had understood what is 
 Struts,complete flow thru jakarta site. Can somebody tell  
 what jars,wars i have to install to run sample. I have 
 searched 5 hrs in jakarta but I have not understood what to 
 install in my tomcat folder to run ? I don't want tiles or 
 log4j.Suggest me ?

All you  have to do is download the binary Struts distribution,
(http://jakarta.apache.org/site/binindex.cgi) unzip it, and drop
struts-example.war into your 'webapps' directory.  It should auto-deploy
(depending on your Tomcat settings) and then you can visit
http://localhost:8080/struts-example and try it out.  There is a users
list specifically for Struts, you'll probably want to ask further
questions there.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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



RE: Struts

2004-01-27 Thread Goehring, Chuck Mr., RCI - San Diego
Pinguti,

Download:
http://apache.webmeta.com/jakarta/struts/binaries/jakarta-struts-1.1.zip

Unzip It.


You can open struts-documentation.war with WinZip and unzip it somwhere so you can 
look at it.  File index.html would be top-level of documentation.  There are several 
installation-xx.html and release-notes-xx.html files that should help.

Chuck

-Original Message-
From: Pinguti Sridevi [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 11:16 PM
To: anand; javagroup; parvez; tomcat
Subject: Struts


 
I have tomcat 4.1.29 and jdk1.3. I had understood what is Struts,complete flow thru 
jakarta site. Can somebody tell  what jars,wars i have to install to run sample. I 
have searched 5 hrs in jakarta but I have not understood what to install in my tomcat 
folder to run ? I don't want tiles or log4j.Suggest me ?



With Regards, 
PS.Durga,



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

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



RE: Struts Tutorial?

2003-11-06 Thread Steve Raeburn
There are a number of tutorials listed on the Struts web site.
http://jakarta.apache.org/struts/resources/tutorials.html
In particular Rick Reumann's is pretty good.

There's also an Eclipse how-to at
http://jakarta.apache.org/struts/faqs/eclipse.html
If you're working with Tomcat and Eclipse, you should also get the
Sysdeo plugin which lets you run your web apps from within Eclipse.
http://www.sysdeo.com/eclipse/tomcatPlugin.html


For reference you could start with
Struts User Guide:
http://jakarta.apache.org/struts/userGuide/index.html
Javadoc: http://jakarta.apache.org/struts/api/
DTD: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd (lots
of comments)

Note: the online Javadoc version is for the nightly build, if you want
the Javadoc for Struts 1.1 look in struts-documentation.war in the
Struts download.

Hope that gets you started.

(BTW, this is really a topic for the struts-user mailing list)

Steve


 -Original Message-
 From: Gord Busse [mailto:[EMAIL PROTECTED]
 Sent: November 6, 2003 12:36 PM
 To: Tomcat-Users List
 Subject: Struts Tutorial?


 Greetings,

 First of all, I apologize if I should not be posting this here.

 I am looking for a very good newbie level tutorial for someone just
 starting out with Struts. Ideally, in a perfect world, it
 would be nice
 if the tutorial covered the following:

 -  How to use Eclipse to build a Struts based web application
 that works with data in a MySQL database using the MySQL JDBC driver.
 The application will be tested on and eventually hosted on a Tomcat
 based server.
 -  It would be nice if it also contained descriptions of all
 Struts classes and methods.

 If any such tutorial exists I would love to hear about it. Or if there
 are several tutorials that altogether would describe all of the above
 that would be great too.

 Thanx very much in advance.
 Gordo



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

2003-10-10 Thread Filip Hanik
anyone who wants to!

- Original Message - 
From: Issam Katan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 1:31 PM
Subject: Struts Configuration


Hallo,
 
who can one config the struts Framework in the Tomcat ???
 
thanks
 
 
 



-
Gesendet von http://mail.yahoo.de
Schneller als Mail - der neue Yahoo! Messenger.

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



RE: Struts Configuration

2003-10-10 Thread mike jackson
There's a decent tool available called struts studio.  Google for it and
it'll help you do the configuration.

There's also some plugins for eclipse, easy struts comes to mind.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: Issam Katan [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 10, 2003 12:32 PM
 To: [EMAIL PROTECTED]
 Subject: Struts Configuration
 
 Hallo,
 
 who can one config the struts Framework in the Tomcat ???
 
 thanks
 
 
 
 
 
 
 -
 Gesendet von http://mail.yahoo.de
 Schneller als Mail - der neue Yahoo! Messenger.



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



RE: Struts in welcome-file-list

2003-07-02 Thread Raible, Matt
As part of the servlet 2.2/2.3 spec, you are not allowed to use a
servlet/action as a welcome-file - only .html or .jsp (I think).  This is
changing in the servlet 2.4 spec.

Matt

-Original Message-
From: Jeroen Breedveld [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 8:28 AM
To: [EMAIL PROTECTED]
Subject: Struts in welcome-file-list


Hi all,

I tried to get a page from my Struts application as default page in the
welcome file list (see below) but it doesn't work, it keeps going to
index.html. Am I doing something wrong or is it simply not possible?

I did this:

  welcome-file-list
welcome-filestart.do/welcome-file
welcome-fileindex.html/welcome-file
  /welcome-file-list

I also tried just start and /start.do , both didn't work either. 

Thanks and regards,

Jeroen

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

2003-06-06 Thread Raible, Matt
Ever heard of Google?

http://www.google.com/search?q=struts

-Original Message-
From: Anitha K Rao [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 4:12 AM
To: Tomcat Users List
Subject: Struts Framework


Hi,

Whats This Struts Framework?Kindly give me info in this domain.

Ciao



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



RE: Struts Framework

2003-06-06 Thread Phillip Qin
Jakarta.apache.org/struts

-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED] 
Sent: June 6, 2003 2:09 PM
To: 'Tomcat Users List'
Subject: RE: Struts Framework

Ever heard of Google?

http://www.google.com/search?q=struts

-Original Message-
From: Anitha K Rao [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 4:12 AM
To: Tomcat Users List
Subject: Struts Framework


Hi,

Whats This Struts Framework?Kindly give me info in this domain.

Ciao



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


Re: Struts Framework

2003-06-06 Thread manjunath . muthukumaresan
Go to http://jakarta.apache.org and you'll get the latest information. It's a 
framework based on MVC 
Model 2 and an open source project.

Regards,
Manju
Programmer, IT 
-
In matters of style, swim with the current. 
In matters of principle, stand like a rock. 
-Thomas Jefferson.
-




Anitha K Rao [EMAIL PROTECTED]
06/06/2003 05:11 AM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Struts Framework


Hi,

Whats This Struts Framework?Kindly give me info in this domain.

Ciao






RE: STRUTS in Tomcat?

2003-04-04 Thread Raible, Matt
The 4.1.x version of Tomcat has an Administration app that's written using
Struts.

 -Original Message-
 From: Chin, Ed [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 04, 2003 2:29 PM
 To: 'Tomcat Users List'
 Subject: STRUTS in Tomcat?
 
 
 Is STRUTS included in the distribution of Tomcat? That's what the
 documentation for Struts installation leads me to believe.
 
 -Edward
 
 
 -
 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: STRUTS in Tomcat?

2003-04-04 Thread Bill Barker

Raible, Matt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 The 4.1.x version of Tomcat has an Administration app that's written using
 Struts.

This is true.  However the struts jar is packaged in admin/WEB-INF/lib, so
it isn't generally accessable to other web-apps.  There is nothing that
stops you from copying the jar file to shared/lib, where it is available to
all web-apps.


  -Original Message-
  From: Chin, Ed [mailto:[EMAIL PROTECTED]
  Sent: Friday, April 04, 2003 2:29 PM
  To: 'Tomcat Users List'
  Subject: STRUTS in Tomcat?
 
 
  Is STRUTS included in the distribution of Tomcat? That's what the
  documentation for Struts installation leads me to believe.
 
  -Edward
 
 
  -
  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: STRUTS in Tomcat?

2003-04-04 Thread Craig R. McClanahan


On Fri, 4 Apr 2003, Bill Barker wrote:

 Date: Fri, 4 Apr 2003 19:49:17 -0800
 From: Bill Barker [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: STRUTS in Tomcat?


 Raible, Matt [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  The 4.1.x version of Tomcat has an Administration app that's written using
  Struts.

 This is true.  However the struts jar is packaged in admin/WEB-INF/lib, so
 it isn't generally accessable to other web-apps.  There is nothing that
 stops you from copying the jar file to shared/lib, where it is available to
 all web-apps.


Except for the minor problem that it's not certified to work when
installed this way :-).

  http://jakarta.apache.org/struts/userGuide/configuration.html#config_add

For Struts 1.0 and 1.1, you should always package struts.jar (and the JARs
it depends on) in /WEB-INF/lib of your webapp.  More robust support for
running with a shared struts.jar is on the wishlist for Struts 1.2.

Craig

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



RE: STRUTS

2003-01-22 Thread Victor Lewis
Try putting the lib/* in webapps/struts-example/WEB-INF/lib.  Jars in
WEB-INF/lib are automatically searched by the web app's class loader.

Please review
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html.

-Victor


 -Original Message-
 From: José Moreira [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 22, 2003 9:41 AM
 To: Tomcat Users List
 Subject: STRUTS
 
 
 hello im trying to install struts
 
 i copied the war files to the webapps dir
 
 the lib/* to the webapps/struts-example/lib
 
 and i get this :
 
 HTTP Status 500 -
 
 --
 --
 
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that 
 prevented it
 from fulfilling this request.
 
 exception
 
 javax.servlet.ServletException: javax/servlet/jsp/tagext/TagSupport
   at 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Application
 FilterChain.java:247)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:193)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:260)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:191)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardContext.invoke(StandardContex
 t.java:2415)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:180
 )
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
 spatcherValve.
 java:170)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:641)
   at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java:172
 )
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:641)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java
 :174)
   at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
   at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
 org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
 java:223)
   at
 org.apache.coyote.http11.Http11Processor.process(Http11Process
 or.java:432)
   at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
 r.processConne
 ction(Http11Protocol.java:386)
   at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
 nt.java:534)
   at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
 ThreadPool.jav
 a:530)
   at java.lang.Thread.run(Thread.java:536)
 
 
 root cause
 
 java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagSupport
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
   at 
 java.security.SecureClassLoader.defineClass(SecureClassLoader.
 java:123)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
 lassLoader.jav
 a:1340)
   at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
 lassLoader.jav
 a:1274)
   at 
 

RE: Struts - XML/XSL

2002-12-29 Thread Schnitzer, Jeff
Take a look at the Maverick MVC framework (http://mav.sourceforge.net).  It is 
Struts-like in concept, but you can run any model through an arbitrary pipeline of 
XSLT (and several other) transformations in Cocoon-like fashion.  The pipeline will be 
efficiently connected with SAX events if appropriate.  As an example, you can easily 
run your model through an XSLT transformation and then through a FOP transformation to 
send PDF back to the client.

Using the optional Domify module, you don't even need JSP to generate the XML in the 
first place.  The Domify adapter uses reflection to create a lazily-loaded DOM façade 
of your model directly.  This is much more efficient than generating and parsing text 
XML.

Try it out :-)

Jeff Schnitzer

 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 27, 2002 11:16 AM
 To: [EMAIL PROTECTED]
 Subject: Struts - XML/XSL
 
 I know that this topic has been dicsussed in this forum a number
 of times.
 I came to know this from mail archives, but my question still
 remains unanswered.
 
 In our application we have to generate some XML documents apart
  from HTML screens.
 The intent here is to send these XML documents to a Swing client
 through a socket.
 
 there is also a possibility that some of the screens may be
 required in both HTML and Swing.
 
 I have been searching for information on this for past few days.
 
 one of the nice option that I cam acorss is described on URL
 
 http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html
 
 while going through the struts mail archives, I came acorss a mail
 written by Craig on 06/12/2000
 
 the mail can be accessed on link
 
 http://www.servlets.com/archive/servlet/ReadMsg?msgId=18247listName=strut
 s-dev
 
 Here Craig talks about developing some facility within struts
 which could do the same.
 
 Does struts have such a facility.
 
 Would be grateful if someone cuold give some tips/links, which
 could help me in deciding as what is the best option.
 
 
 Regards
 Puneet Agarwal
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-
 [EMAIL PROTECTED]
 For additional commands, e-mail: mailto:tomcat-user-
 [EMAIL PROTECTED]
 


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




RE: Struts 1.0.2 Examples busted in new Tomcat 4.1.10, fine in 4.0.4

2002-09-20 Thread Geddes, Mark (ANTS)

Not sure if this is the case for you, but on windows, if your installation
is on a different drive to your web application then Jasper cannot load the
libraries. Put your web-app under tomcat's webapps directory and you should
be ok. This has been fixed but you will need to search the archives to find
the patch (jasper-compiler.jar)

Mark

-Original Message-
From: Patrick Dockhorn [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2002 12:35
To: [EMAIL PROTECTED]
Subject: Struts 1.0.2 Examples busted in new Tomcat 4.1.10, fine in
4.0.4


Hi,

I recently upgraded my Tomcat Installation from 4.0.4 to 4.1.10 and now
the Struts 1.0.2 Examples (i.e. the struts-
example webapp) fail to run.

It seems that TomCat is not able to find the taglibs specified in the
index.jsp - all works fine with the 4.0.4 version.

Has anyone else come across this problem?

I'd rather stay on 4.1.10 as the (struts based!) manager app is really
nice and so are some of the other features.

Your help is highly appreciated.

Best Regards,

Patrick Dockhorn


cto/skex

global support services
33 ames ave
carnegie vic 3163
australia

m +61 421 064517
p +61 3 95044870
e [EMAIL PROTECTED]
w http://www.skex.com.au


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


***
This communication (including any attachments) contains confidential information.  If 
you are not the intended recipient and you have received this communication in error, 
you should destroy it without copying, disclosing or otherwise using its contents.  
Please notify the sender immediately of the error.

Internet communications are not necessarily secure and may be intercepted or changed 
after they are sent.  Abbey National Treasury Services plc does not accept liability 
for any loss you may suffer as a result of interception or any liability for such 
changes.  If you wish to confirm the origin or content of this communication, please 
contact the sender by using an alternative means of communication.

This communication does not create or modify any contract and, unless otherwise 
stated, is not intended to be contractually binding.

Abbey National Treasury Services plc. Registered Office:  Abbey National House, 2 
Triton Square, Regents Place, London NW1 3AN.  Registered in England under Company 
Registration Number: 2338548.  Regulated by the Financial Services Authority (FSA).
***


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




RE: Struts 1.0.2 Examples busted in new Tomcat 4.1.10, fine in 4.0.4

2002-09-20 Thread Miguel Angel Mulero Martinez

This bug happens when Tomcat isn't installed on drive C:. There's a patch in
bugzilla for this issue.

-Mensaje original-
De: Patrick Dockhorn [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 20 de septiembre de 2002 12:40
Para: 'Tomcat Users List'
Asunto: AW: Struts 1.0.2 Examples busted in new Tomcat 4.1.10, fine in 4.0.4

Well I'm definitely running it on Windows, although I did copy the
struts war file into Tomcat's webapp dir (where it was subsequently
unpacked by tomcat). I'll try the next release of the 4.1.x branch
anyway - thanks.

patrick

 -Ursprüngliche Nachricht-
 Von: Geddes, Mark (ANTS) [mailto:[EMAIL PROTECTED]]
 Gesendet: Friday, 20 September 2002 17:58
 An: 'Tomcat Users List'
 Betreff: RE: Struts 1.0.2 Examples busted in new Tomcat
 4.1.10, fine in 4.0.4


 Not sure if this is the case for you, but on windows, if your
 installation is on a different drive to your web application
 then Jasper cannot load the libraries. Put your web-app under
 tomcat's webapps directory and you should be ok. This has
 been fixed but you will need to search the archives to find
 the patch (jasper-compiler.jar)

 Mark

 -Original Message-
 From: Patrick Dockhorn [mailto:[EMAIL PROTECTED]]
 Sent: 19 September 2002 12:35
 To: [EMAIL PROTECTED]
 Subject: Struts 1.0.2 Examples busted in new Tomcat 4.1.10,
 fine in 4.0.4


 Hi,

 I recently upgraded my Tomcat Installation from 4.0.4 to
 4.1.10 and now the Struts 1.0.2 Examples (i.e. the struts-
 example webapp) fail to run.

 It seems that TomCat is not able to find the taglibs
 specified in the index.jsp - all works fine with the 4.0.4 version.

 Has anyone else come across this problem?

 I'd rather stay on 4.1.10 as the (struts based!) manager app
 is really nice and so are some of the other features.

 Your help is highly appreciated.

 Best Regards,

 Patrick Dockhorn


 cto/skex

 global support services
 33 ames ave
 carnegie vic 3163
 australia

 m +61 421 064517
 p +61 3 95044870
 e [EMAIL PROTECTED]
 w http://www.skex.com.au


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


 **
 *
 This communication (including any attachments) contains
 confidential information.  If you are not the intended
 recipient and you have received this communication in error,
 you should destroy it without copying, disclosing or
 otherwise using its contents.  Please notify the sender
 immediately of the error.

 Internet communications are not necessarily secure and may be
 intercepted or changed after they are sent.  Abbey National
 Treasury Services plc does not accept liability for any loss
 you may suffer as a result of interception or any liability
 for such changes.  If you wish to confirm the origin or
 content of this communication, please contact the sender by
 using an alternative means of communication.

 This communication does not create or modify any contract
 and, unless otherwise stated, is not intended to be
 contractually binding.

 Abbey National Treasury Services plc. Registered Office:
 Abbey National House, 2 Triton Square, Regents Place, London
 NW1 3AN.  Registered in England under Company Registration
 Number: 2338548.  Regulated by the Financial Services Authority (FSA).
 **
 *


 --
 To unsubscribe, e-mail:
 mailto:tomcat-user- [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 tag examples in JSP form page

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, Henry Lu wrote:

 Date: Tue, 29 Jan 2002 12:03:24 -0500
 From: Henry Lu [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts tag examples in JSP form page

 Is there any one who may send me a real JSP file with a form with the struts tags of
 text,
 radio,
 textare,
 checkbox,
 select
 hidden


Can we PLEASE take this over to the STRUTS-USER list?  (By the way, the
response will most likely be look at the example application included
with Struts.

 items?

 Thanks, Henry


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Struts framwork

2002-01-28 Thread Arnaud Héritier

you can also see : http://www.husted.com/struts/

I'm also using it successfully in my web apps.

One more thanks to Craig for all his work on Tomcat, Struts, ...

Arno

 -Message d'origine-
 De:   Lauer, Oliver [SMTP:[EMAIL PROTECTED]]
 Date: lundi 28 janvier 2002 14:19
 À:'Tomcat Users List'
 Objet:AW: Struts framwork

 There's a real good documentation on
 http://jakarta.apache.org/struts/index.html.

 We are successfully using STRUTS with TC since 2 years now.

  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
 


 -Ursprüngliche Nachricht-
 Von: Henry Lu [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 28. Januar 2002 14:11
 An: [EMAIL PROTECTED]
 Betreff: Struts framwork


 In our project we want to use the Struts framwork..
 Struts frame work is developed by jakarta and is totally implemented on 
Jsp
 taglibs. Could someone provide more source and docs how to use this
 framwork?

 THanks, Henry


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 
  
--
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.

 
  
==


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Struts framwork

2002-01-28 Thread Henry Lu

Amo, do you know how to decode .war file? I downloaded some samples of struts 
application and thay are all in .war file. How do I extract files from these .war file?

Thanks, Henry

 [EMAIL PROTECTED] 01/28/02 08:50AM 
you can also see : http://www.husted.com/struts/ 

I'm also using it successfully in my web apps.

One more thanks to Craig for all his work on Tomcat, Struts, ...

Arno

 -Message d'origine-
 De:   Lauer, Oliver [SMTP:[EMAIL PROTECTED]] 
 Date: lundi 28 janvier 2002 14:19
 À:'Tomcat Users List'
 Objet:AW: Struts framwork

 There's a real good documentation on
 http://jakarta.apache.org/struts/index.html.

 We are successfully using STRUTS with TC since 2 years now.

  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED] 
  _
 


 -Ursprüngliche Nachricht-
 Von: Henry Lu [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 28. Januar 2002 14:11
 An: [EMAIL PROTECTED] 
 Betreff: Struts framwork


 In our project we want to use the Struts framwork..
 Struts frame work is developed by jakarta and is totally implemented on 
Jsp
 taglibs. Could someone provide more source and docs how to use this
 framwork?

 THanks, Henry


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 
  
--
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.

 
  
==


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Struts framwork

2002-01-28 Thread Zemen, Franz

use jar or a zip decompressor.

-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 10:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts framwork


Amo, do you know how to decode .war file? I downloaded some samples of
struts application and thay are all in .war file. How do I extract files
from these .war file?

Thanks, Henry

 [EMAIL PROTECTED] 01/28/02 08:50AM 
you can also see : http://www.husted.com/struts/ 

I'm also using it successfully in my web apps.

One more thanks to Craig for all his work on Tomcat, Struts, ...

Arno

 -Message d'origine-
 De:   Lauer, Oliver [SMTP:[EMAIL PROTECTED]] 
 Date: lundi 28 janvier 2002 14:19
 À:'Tomcat Users List'
 Objet:AW: Struts framwork

 There's a real good documentation on
 http://jakarta.apache.org/struts/index.html.

 We are successfully using STRUTS with TC since 2 years now.

  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED] 
  _
 


 -Ursprüngliche Nachricht-
 Von: Henry Lu [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 28. Januar 2002 14:11
 An: [EMAIL PROTECTED] 
 Betreff: Struts framwork


 In our project we want to use the Struts framwork..
 Struts frame work is developed by jakarta and is totally implemented on 
Jsp
 taglibs. Could someone provide more source and docs how to use this
 framwork?

 THanks, Henry


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 
  
--
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.

 
  
==


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Struts framwork

2002-01-28 Thread Henry Lu

Thanks a lot!

 [EMAIL PROTECTED] 01/28/02 11:45AM 
use jar or a zip decompressor.

-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 28, 2002 10:47 AM
To: [EMAIL PROTECTED] 
Subject: RE: Struts framwork


Amo, do you know how to decode .war file? I downloaded some samples of
struts application and thay are all in .war file. How do I extract files
from these .war file?

Thanks, Henry

 [EMAIL PROTECTED] 01/28/02 08:50AM 
you can also see : http://www.husted.com/struts/ 

I'm also using it successfully in my web apps.

One more thanks to Craig for all his work on Tomcat, Struts, ...

Arno

 -Message d'origine-
 De:   Lauer, Oliver [SMTP:[EMAIL PROTECTED]] 
 Date: lundi 28 janvier 2002 14:19
 À:'Tomcat Users List'
 Objet:AW: Struts framwork

 There's a real good documentation on
 http://jakarta.apache.org/struts/index.html.

 We are successfully using STRUTS with TC since 2 years now.

  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED] 
  _
 


 -Ursprüngliche Nachricht-
 Von: Henry Lu [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 28. Januar 2002 14:11
 An: [EMAIL PROTECTED] 
 Betreff: Struts framwork


 In our project we want to use the Struts framwork..
 Struts frame work is developed by jakarta and is totally implemented on 
Jsp
 taglibs. Could someone provide more source and docs how to use this
 framwork?

 THanks, Henry


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 
  
--
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.

 
  
==


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Struts framwork

2002-01-28 Thread sumit . rajan

you can extract them using winzip if you are working on windows environment.
or you may also extract it from the command prompt using the following
commad
jar xf filename.war
execute this command inside the folder where the file is kept.

Sumit.

-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts framwork


Amo, do you know how to decode .war file? I downloaded some samples of
struts application and thay are all in .war file. How do I extract files
from these .war file?

Thanks, Henry

 [EMAIL PROTECTED] 01/28/02 08:50AM 
you can also see : http://www.husted.com/struts/ 

I'm also using it successfully in my web apps.

One more thanks to Craig for all his work on Tomcat, Struts, ...

Arno

 -Message d'origine-
 De:   Lauer, Oliver [SMTP:[EMAIL PROTECTED]] 
 Date: lundi 28 janvier 2002 14:19
 À:'Tomcat Users List'
 Objet:AW: Struts framwork

 There's a real good documentation on
 http://jakarta.apache.org/struts/index.html.

 We are successfully using STRUTS with TC since 2 years now.

  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED] 
  _
 


 -Ursprüngliche Nachricht-
 Von: Henry Lu [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 28. Januar 2002 14:11
 An: [EMAIL PROTECTED] 
 Betreff: Struts framwork


 In our project we want to use the Struts framwork..
 Struts frame work is developed by jakarta and is totally implemented on 
Jsp
 taglibs. Could someone provide more source and docs how to use this
 framwork?

 THanks, Henry


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 
  
--
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den 
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht 
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is 
not legally binding. Upon request we would be pleased to provide you with a 
legally binding confirmation in written form. Any form of unauthorised use, 
publication, reproduction, copying or disclosure of the content of this 
e-mail is not permitted. This message is exclusively for the person 
addressed or their representative. If you are not the intended recipient of 
this message and its contents, please notify the sender immediately.

 
  
==


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
The information contained in this e-mail and any files transmitted with it
may be privileged and confidential.  If the reader of this message,
regardless of the address or routing, is not an intended recipient, you are
hereby notified that you have received this transmittal in error and any
review, use, distribution, dissemination or copying is strictly prohibited.
If you have received this message in error, please delete this e-mail and
all files transmitted with it from your system and notify the sender by
reply e-mail or by calling 1-888-338-6076. 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Réf. : RE: Struts framwork

2002-01-28 Thread joseph . vallot



to read war contents, use jar, winzip, or other 'jar-aware' tools...

--
Joseph




This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Struts, JAAS and Tomcat

2001-12-03 Thread David M. Karr

 dirk == dirk storck storck writes:

dirk Hi,
dirk has someone used JAAS (or more JBossSX) for security within Struts and
dirk Tomcat?

dirk Any comments and suggestions are welcome !

I assume you were unable to get it to work.  I implemented form-based
authentication in my Struts/EJB application, using JBoss/Tomcat.

First of all, have you read the chapters in the JBoss documentation that
describe JAAS, and have you experimented with the jaas-howto example?

If you've already gone through that information, you need to summarize what
you've done and what's going wrong before anyone can give you any concrete
help.

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Struts 1.0 has Problems working with Tomcat 4.1

2001-11-16 Thread Scott Edwards

Hammad Said wrote:

 Struts 1.0 fails with Tomcat 4.0.1 on the Window, but woks fine with Tomcat
3.3


 Get the following error message: ( login.jsp is the page browser is trying
to access)


Login.jsp is code is:
%--%@ page import=com.agentware.web.util.WebKeys%--%

%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %

%@ taglib uri=/WEB-INF/struts-html.tld prefix=html % 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
html
head
titleLogin Demo Page/title
/head
body
brspan class=subheaderUser Login/span 
html:form action=/login/submit.do method=POST
 table border=0 width=100% cellpadding=3 cellspacing=0
bgcolor=#ff
tr 
 td class=textUser Name:/td
 td 
html:text property=userBean.userName maxlength=25 size=30/
font color = #FFhtml:errors property=userBean.userName//font
 /td
 /tr
tr 
 td class=textPassword:/td
  td  
 html:password property=userBean.password maxlength=25 size=30/
font color = #FFhtml:errors property=userBean.password//font
 /td
/tr  
 tr 
 tdnbsp;/td
td 
  html:submit property=action value=login/html:submit 
 /td
  /tr
 /table
/html:form
/body
/html

// End of Login.jsp code

 Error Message
org.apache.jasper.compiler.ParseException: /jsp/login.jsp(2,16) Attribute
has no value at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java,
Compiled Code) at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java,
Compiled Code) at
org.apache.jasper.compiler.ParserController.figureOutJspDocument(ParserContr
oller.java, Compiled Code) at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:194)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177) at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:679) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:431) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:355) at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1605) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1448) at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:472) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java,
Compiled Code) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at

RE: Struts 1.0 has Problems working with Tomcat 4.1

2001-11-16 Thread Francis Lalonde

I had the same problem, and reverted to Tomcat 4.0 to fix it. Something to
do with the way Xerces is shared between Tomcat and the Webapp I guess.
Supplying my own XML Parser in the webapp lib didn't help.

-Original Message-
From: Hammad Said [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 17:55
To: '[EMAIL PROTECTED]'
Subject: Struts 1.0 has Problems working with Tomcat 4.1



 Struts 1.0 fails with Tomcat 4.0.1 on the Window, but woks fine with Tomcat
3.3


 Get the following error message: ( login.jsp is the page browser is trying
to access)


Login.jsp is code is:
%--%@ page import=com.agentware.web.util.WebKeys%--%

%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %

%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
html
head
titleLogin Demo Page/title
/head
body
brspan class=subheaderUser Login/span
html:form action=/login/submit.do method=POST
 table border=0 width=100% cellpadding=3 cellspacing=0
bgcolor=#ff
tr
 td class=textUser Name:/td
 td
html:text property=userBean.userName maxlength=25 size=30/
font color = #FFhtml:errors property=userBean.userName//font
 /td
 /tr
tr
 td class=textPassword:/td
  td
 html:password property=userBean.password maxlength=25 size=30/
font color = #FFhtml:errors property=userBean.password//font
 /td
/tr
 tr
 tdnbsp;/td
td
  html:submit property=action value=login/html:submit
 /td
  /tr
 /table
/html:form
/body
/html

// End of Login.jsp code

 Error Message
org.apache.jasper.compiler.ParseException: /jsp/login.jsp(2,16) Attribute
has no value at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java,
Compiled Code) at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java,
Compiled Code) at
org.apache.jasper.compiler.ParserController.figureOutJspDocument(ParserContr
oller.java, Compiled Code) at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:194)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177) at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:679) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:431) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:355) at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1605) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1448) at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:472) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java,
Compiled Code) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java,
Compiled Code) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java,
Compiled Code) at

Re: struts and tomcat 4

2001-09-17 Thread Craig R. McClanahan



On Mon, 17 Sep 2001, Christoph Rooms wrote:

 Date: Mon, 17 Sep 2001 18:58:59 +0200
 From: Christoph Rooms [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts and tomcat 4

 Hi all,

 I tried to run a struts application on tomcat 3.2 and it worked.

 Now I'm running it under tomcat 4rc2 I  get this exception :

 Cannot find ActionMappings or ActionFormBeans collection

 anyone an idea ?

 thanks !!!

 christoph





You need to check the log files created by Tomcat 4 to make sure, but the
most likely explanation is that you did not include an XML parser inside
your web app.  Tomcat 4, up until this point, has not made an XML parser
available to web apps by default.

NOTE:  This will change, however, in the 4.0 final release.  An XML parser
will be made available -- see the Release Notes document that will come
with Tomcat 4.0 (final) for details.

Craig McClanahan





Re: struts and tomcat 4

2001-09-17 Thread simon colston

On Mon, 17 Sep 2001 10:06:26 -0700 (PDT)
Craig R. McClanahan [EMAIL PROTECTED] wrote:

CM 
CM You need to check the log files created by Tomcat 4 to make sure, but the
CM most likely explanation is that you did not include an XML parser inside
CM your web app.  Tomcat 4, up until this point, has not made an XML parser
CM available to web apps by default.
CM 
CM NOTE:  This will change, however, in the 4.0 final release.  An XML parser
CM will be made available -- see the Release Notes document that will come
CM with Tomcat 4.0 (final) for details.

But we'll be able to use our favourite XML parser on a per context basis right?

CM 
CM Craig McClanahan
CM 
CM 
CM 


--
simon colston
[EMAIL PROTECTED]



Re: struts and tomcat 4

2001-09-17 Thread Craig R. McClanahan



On Tue, 18 Sep 2001, simon colston wrote:

 Date: Tue, 18 Sep 2001 10:35:09 +0900
 From: simon colston [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: struts and tomcat 4

 On Mon, 17 Sep 2001 10:06:26 -0700 (PDT)
 Craig R. McClanahan [EMAIL PROTECTED] wrote:

 CM
 CM You need to check the log files created by Tomcat 4 to make sure, but the
 CM most likely explanation is that you did not include an XML parser inside
 CM your web app.  Tomcat 4, up until this point, has not made an XML parser
 CM available to web apps by default.
 CM
 CM NOTE:  This will change, however, in the 4.0 final release.  An XML parser
 CM will be made available -- see the Release Notes document that will come
 CM with Tomcat 4.0 (final) for details.

 But we'll be able to use our favourite XML parser on a per context
 basis right?


Yes.

 CM
 CM Craig McClanahan
 CM
 CM
 CM


 --
 simon colston
 [EMAIL PROTECTED]





Re: struts or tomcat 3.2.1 bug?

2001-09-06 Thread Craig R. McClanahan



On Thu, 6 Sep 2001, juraj Lenharcik wrote:

 Date: Thu, 6 Sep 2001 17:36:36 +0200
 From: juraj Lenharcik [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts or tomcat 3.2.1 bug?

 does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there was
 a message few weeks ago, but i cant find it again. can someone give me a
 tip?

 the problem is, that i have an application under resin 2.0.2 running and
 when i put it on tomcat 3.2.1 it doesnt run. i get an exception:
 javax.servlet.ServletException: Cannot find bean data in scope session.


Check your Tomcat log files for error and exception messages -- this kind
of thing is usually caused by missing classes at startup time.


 thanks
 juraj



Craig McClanahan





Re: Struts-Tomcat 'register' DTD Message

2001-09-05 Thread Craig R. McClanahan

Tomcat 4 does *not* make any XML parser visible to your web applications.
See the release notes document in the top-level directory of Tomcat 4 (it
will be the latest file named RELEASE-NOTES-4.0-B*.txt) for instructions
on how to solve this.

Craig


On Wed, 5 Sep 2001, Calvin Lau wrote:

 Date: Wed, 05 Sep 2001 16:56:36 -0700
 From: Calvin Lau [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Struts-Tomcat 'register' DTD Message

 I just installed Tomcat4.0-b7 and have the examples
 working.  I tried running my Struts webapp that ran fine
 under Tomcat3.2 and it gives me these errors when
 Tomcat starts:

 Starting service Tomcat-Standalone
 Apache Tomcat/4.0-b7
 register('-//Apache Software Foundation//DTD Struts
 Configuration 1.0//EN',
 
'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'

 register('-//Sun Microsystems, Inc.//DTD Web
 Application 2.2//EN',
 
'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'

 register('-//Sun Microsystems, Inc.//DTD Web
 Application 2.3//EN',
 
'jar:file:/c:/web/blitzDev/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'

 Starting service Tomcat-Apache
 Apache Tomcat/4.0-b7

 When I try to hit the webapp root, I get the
 following:

 A Servlet Exception Has Occurred
 Exception Report:
 javax.servlet.ServletException: Cannot find global
 ActionForward for name homepage
  at
 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:452)

  at
 org.apache.jsp._0002findex_jsp._jspService(_0002findex_jsp.java:87)

 I tried adding the struts-examples by sticking the
 .WAR files in the webapps directory and it gave me the
 exact same 'register' messages when I restarted
 Tomcat.  Is this another XML parsing issue?

 I have jaxp.jar and crimson.jar in
 CATALINA_HOME/server/lib, CATALINA_HOME/jasper, and
 JAVA_HOME/lib/jaxp-1.1.  Getting rid of the files in
 one in JAVA_HOME didn't fix anything.

 Anyone know what's going on?






RE: struts in tomcat 3.3-m3

2001-05-31 Thread Ignacio J. Ortega

you already has one inside the TOMCAT_HOME%/lib/container .. the files
jaxp.jar + parser.jar...copy this files to your apps web-inf/lib dir...

or use xerces  http://xml.apache.org/xerces-j/index.html 

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Claudia Pietsch [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 31 de mayo de 2001 0:27
 Para: [EMAIL PROTECTED]
 Asunto: RE: struts in tomcat 3.3-m3
 
 
 Where I can get this Parser?
 
 Claudia
 
 
 At 23:43 30.05.2001 +0200, you wrote:
 Tomcat 3.3 does not put anything on the webapp's classpathin
 particular prior Tomcat 3.3 there was a XMLParser in the classpath of
 the executed webapps..
 
 To solve this issue you need to put a XMLparser in the 
 classpath of your
 webapp  there are to 2 ways to achieve that..
 
 * in the WEB-ibf/lib dir of you webapp, the standard way, or
 * in the %TOMCAT_HOME%/lib/apps dir..
 
 Hope that helps
 
 Saludos ,
 Ignacio J. Ortega
 
 -Mensaje original-
 De: Steve Salkin [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 30 de mayo de 2001 22:15
 Para: '[EMAIL PROTECTED]'
 Asunto: struts in tomcat 3.3-m3
 
 
 Hi-
 Has anyone (else) had trouble deploying a struts application on
 tomcat-3.3-m3 that works fine under 3.2.2? I (and several 
 people here)
 are experiencing oddness when trying to do this. It doesn't 
 seem to be
 particular to our app either, since the struts-example.war 
 also causes
 tomcat to fail during start-up.
 The error is a basically a failure to create a SaxParser from the
 SaxParserFactory - this is a static method that looks for a specific
 concrete class, either from a system property or an
 implementation-defined default. Apparently this is not occuring.
 Workarounds would be welcome: the tag-pooling feature of 3.3 
 has a lot
 of promise for a struts app.
 Thanks,
 Steve Salkin
 
 



RE: struts in tomcat 3.3-m3

2001-05-31 Thread Steve Salkin
Title: RE: struts in tomcat 3.3-m3





Ignacio J. Ortega wrote:
 you already has one inside the TOMCAT_HOME%/lib/container .. the files
 jaxp.jar + parser.jar...copy this files to your apps 
 web-inf/lib dir...
 
 or use xerces  http://xml.apache.org/xerces-j/index.html 


Hi Ignacio-


Thanks for the advice! I have placed parser.jar and jaxp.jar in the struts-example/WEB-INF/lib and now it correctly deploys and runs.

Do you know if this is the new requirement going forward in 3.3.x? If so, I'll mention it on the struts lists so that the deployment instructions for tomcat 3.3.x can include this information.

Thanks again,


S-





RE: struts in tomcat 3.3-m3

2001-05-31 Thread Ignacio J. Ortega

( Please do not post using html, makes almost imposible to have a decent
conversation read http://jakarta.apache.org/site/mail.html)

Well, this is not a new requeriment, is the way that should be done
always, and is the way in which 3.3 and 4.0 setup the webapps
classpath.. that is only the jars present on web-inf/lib are added to
the webapp classpath

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Steve Salkin [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 31 de mayo de 2001 17:01
Para: '[EMAIL PROTECTED]'
Asunto: RE: struts in tomcat 3.3-m3


Ignacio J. Ortega wrote: 
 you already has one inside the TOMCAT_HOME%/lib/container .. the files

 jaxp.jar + parser.jar...copy this files to your apps 
 web-inf/lib dir... 
 
 or use xerces  http://xml.apache.org/xerces-j/index.html  
Hi Ignacio- 
Thanks for the advice! I have placed parser.jar and jaxp.jar in the
struts-example/WEB-INF/lib and now it correctly deploys and runs.
Do you know if this is the new requirement going forward in 3.3.x? If
so, I'll mention it on the struts lists so that the deployment
instructions for tomcat 3.3.x can include this information.
Thanks again, 
S- 



RE: struts in tomcat 3.3-m3

2001-05-30 Thread Ignacio J. Ortega

Tomcat 3.3 does not put anything on the webapp's classpathin
particular prior Tomcat 3.3 there was a XMLParser in the classpath of
the executed webapps..

To solve this issue you need to put a XMLparser in the classpath of your
webapp  there are to 2 ways to achieve that..

* in the WEB-ibf/lib dir of you webapp, the standard way, or
* in the %TOMCAT_HOME%/lib/apps dir..

Hope that helps

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Steve Salkin [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles 30 de mayo de 2001 22:15
Para: '[EMAIL PROTECTED]'
Asunto: struts in tomcat 3.3-m3


Hi- 
Has anyone (else) had trouble deploying a struts application on
tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here)
are experiencing oddness when trying to do this. It doesn't seem to be
particular to our app either, since the struts-example.war also causes
tomcat to fail during start-up.
The error is a basically a failure to create a SaxParser from the
SaxParserFactory - this is a static method that looks for a specific
concrete class, either from a system property or an
implementation-defined default. Apparently this is not occuring.
Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot
of promise for a struts app. 
Thanks, 
Steve Salkin 



RE: struts in tomcat 3.3-m3

2001-05-30 Thread Claudia Pietsch

Where I can get this Parser?

Claudia


At 23:43 30.05.2001 +0200, you wrote:
Tomcat 3.3 does not put anything on the webapp's classpathin
particular prior Tomcat 3.3 there was a XMLParser in the classpath of
the executed webapps..

To solve this issue you need to put a XMLparser in the classpath of your
webapp  there are to 2 ways to achieve that..

* in the WEB-ibf/lib dir of you webapp, the standard way, or
* in the %TOMCAT_HOME%/lib/apps dir..

Hope that helps

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Steve Salkin [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles 30 de mayo de 2001 22:15
Para: '[EMAIL PROTECTED]'
Asunto: struts in tomcat 3.3-m3


Hi-
Has anyone (else) had trouble deploying a struts application on
tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here)
are experiencing oddness when trying to do this. It doesn't seem to be
particular to our app either, since the struts-example.war also causes
tomcat to fail during start-up.
The error is a basically a failure to create a SaxParser from the
SaxParserFactory - this is a static method that looks for a specific
concrete class, either from a system property or an
implementation-defined default. Apparently this is not occuring.
Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot
of promise for a struts app.
Thanks,
Steve Salkin




RE: struts in tomcat 3.3-m3

2001-05-30 Thread Claudia Pietsch

I always have this problem. I'd put the parser.xml in the %TOMCAT_HOME/lib 
dir. I have the same failure.
Thanks Claudia


At 23:43 30.05.2001 +0200, you wrote:
Tomcat 3.3 does not put anything on the webapp's classpathin
particular prior Tomcat 3.3 there was a XMLParser in the classpath of
the executed webapps..

To solve this issue you need to put a XMLparser in the classpath of your
webapp  there are to 2 ways to achieve that..

* in the WEB-ibf/lib dir of you webapp, the standard way, or
* in the %TOMCAT_HOME%/lib/apps dir..

Hope that helps

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Steve Salkin [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles 30 de mayo de 2001 22:15
Para: '[EMAIL PROTECTED]'
Asunto: struts in tomcat 3.3-m3


Hi-
Has anyone (else) had trouble deploying a struts application on
tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here)
are experiencing oddness when trying to do this. It doesn't seem to be
particular to our app either, since the struts-example.war also causes
tomcat to fail during start-up.
The error is a basically a failure to create a SaxParser from the
SaxParserFactory - this is a static method that looks for a specific
concrete class, either from a system property or an
implementation-defined default. Apparently this is not occuring.
Workarounds would be welcome: the tag-pooling feature of 3.3 has a lot
of promise for a struts app.
Thanks,
Steve Salkin




Re: Struts, Velocity, JSP, XSLT?

2001-05-17 Thread Jeff Kilbride

Speed is one consideration. XML and XSLT are great, but are very processor
intense for all the translation/transformation that is done on the fly.

--jeff

- Original Message -
From: Richard Draucker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 9:18 PM
Subject: Struts, Velocity, JSP, XSLT?


 I've been happily using servlets with Tomcat for some time.
 I'm now happily using XSLT for output (Xalan/Xerces) mostly
 cause, oh hell, cause 'everyone' says XML is the way to go.

 The question is... is Velocity vs. XSLT simply a
 religeous difference?  I mean, is there something Velocity
 and Struts offer over XML/XSLT?

 Thanks,
 Richard






Re: struts question??

2001-03-08 Thread Ben Flaumenhaft


Hi John,

With struts connection pools, you need to configure the connection pool
section of the struts-config.xml file. Note that the data source config in
the web.xml file only tells the container that the servlet context needs
access to the referenced data sources -- it doesn't actually tell how to
construct those sources!

The struts example web app contains a struts-config.xml with DB data
sources, I believe.

Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com


- Original Message -
From: "John de la Garza" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 10:52 AM
Subject: struts question??


 I really need an answer...please if you know, respond.  I feel like the
 invisible man!

 I am using this sample code from the struts users guide...with a
 problem...there is no findDataSource() method.


 All I want to do is define a datasource in the context of my servlet
 container...should this be hard?  I tried using the stuff from the servlet
 2.2 spec resource-ref but it doesn't work!


 What is going on?

 ---
 public ActionForward
perform(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
 {
  try {
javax.sql.DataSource dataSource =
  servlet.findDataSource(null);
java.sql.Connection myConnection =
  dataSource.getConnection();

//do what you wish with myConnection
  } catch (SQLException sqle) {
getServlet().log("Connection.process", sqle);
  } finally {

//enclose this in a finally block to make
//sure the connection is closed
try {
  myConnection.close();
} catch (SQLException e) {
  getServlet().log("Connection.close", e);
}
  }
 }
 -


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



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




Re: Struts errors

2001-01-17 Thread Craig R. McClanahan

Rooms Christoph wrote:

 Hi,

 Whenever I add a Struts war to my tomcat server he will give me errors on the 
struts-config.xml.

 extract out of exception :

 Parse Error at line 11 column -1: Attribute "property" is not declared for eleme
 nt "set-property".
 org.xml.sax.SAXParseException: Attribute "property" is not declared for element
 "set-property".
 at com.sun.xml.parser.Parser.error(Parser.java:2795)
 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1357)

 Hope someone can help me on this one :)


It sounds like you have a syntax error in your struts-config.xml file.  It's
also a Struts-specific
issue (not Tomcat related) so you might want to ask questions on the STRUTS-USER
mailing list
instead.  For best results, post your struts-config.xml file -- especially
around line 11 -- and
describe the environment in which you are trying to run.

NOTE:  If you are running Tomcat 3.1, you are strongly urged to upgrade to
Tomcat 3.2 -- 3.1 has
many bugs, some of which impair the ability to run Struts based applications.


 thanks, Christoph


Craig McClanahan

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