Re: Javascript submit

2002-05-17 Thread Adam Grohs

Matt, in JavaScript, the forms sit within a collection below the document
root within the DOM.  You should be able to directly reference your forms
via index through JavaScript, using document.forms[0].submit(),
document.forms[1].submit(), etc.  HOWEVER, I would highly suggest switching
your forms to have different names, as noted in your second version with the
index included or something else uniquely identifying them, as maintaining
references to items within the DOM of the browser through index will be a
real hassle moving forward for page maintenance.  It is a much better
architectural approach to switch the names of your forms, but the above
should work.

Hope this helps,
Adam S. Grohs
Senior Front End Technologist
Scient, Inc.
[EMAIL PROTECTED]

- Original Message -
From: "Matt Read" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 1:54 PM
Subject: Javascript submit


> Hi, I've got a problem with submitting forms via javascript. I've got a
page
> with multiple forms created using  I want submit these
forms
> using a link as opposed to a submit button. However the forms all have the
> same name so  work. It would appear that what I need is an "indexed" attribute on the
> html:form tag.
>
> This would mean that instead of rendering:
>
> ...
> ...
> ...
>
> I would get something like:
>
> ...
> ...
> ...
>
> I could then construct the javascript to submit each form from the index,
> e.g.
>
> ...  document.myForm" + myIndex + ".submit()" %>"/>
>
> Can anyone comment on whether this would be the best way to do it? Is
there
> another way to easily refer to the correct form in javascript?
>
> I would appreciate any help.
> Thanks,
> Matt
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


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




Re: self.close() exception

2002-03-27 Thread Adam Grohs

Bhaskar,
To the best of my knowledge, this approach outlined below has several
minor flaws.  First, it is not possible for the javascipt self.slose()
method to throw a java exception; That exception is likely being thrown by
your action class.  Second, in order to acomplish the functionality that it
appears you are describing, ie. submitting a form in a popup window and then
closing the window, you would need to do something like the following:

function setFilter() {
document.PipelineFilterForm.submit();
}


You may also consider using a regular html:submit button and avoid this
javascript above all together (preferable)
and then AFTER the form is submitted, have your action class forward to a
new generic page with some very simple code like



function closeWindow(){
self.close();
}






OR




function closeWindow(){
self.close();
}
closeWindow();




Not sure if this is the best approach, but it ensures that your action class
succeeds before your window closes, so if there is an error you can forward
to a different page while still inside of the popup window.

Just my 2 cents,
Adam Grohs

- Original Message -
From: "Bhaskar Gopalan" <[EMAIL PROTECTED]>
To: "Struts Group (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 4:14 PM
Subject: self.close() exception


> Hi,
> I'm trying to close a window from a javascript function and getting this
> error:
>
> java.net.SocketException: socket closed (code=0)
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> java.io.IOException(java.lang.String)
> java.net.SocketException(java.lang.String)
> int java.net.SocketInputStream.socketRead(byte [], int, int,
> java.net.SocketImpl, java.io.FileDescriptor)
> int java.net.SocketInputStream.read(byte [], int, int)
> int java.net.SocketInputStream.read()
> java.lang.String java.io.DataInputStream.readLine()
> void
>
com.ibm.servlet.engine.http_transport.HttpTransportHandler.handleConnection(
> java.net.Socket)
> void
> com.ibm.servlet.engine.http_transport.HttpTransportHandler.run()
> void java.lang.Thread.run()
>
> The code is:
> function setFilter() {
> document.PipelineFilterForm.submit();
> self.close();
> }
>
>  property="submitButton"/>
>
> Pls help.
>
> Thnx,
> Bhaskar
>
> --
> 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: Indexed Tag and JavaScript Problem

2002-02-14 Thread Adam Grohs

Your syntax is causing the browser's js interpreter is looking for
"actHour1" as an array object in the JavaScript code, it will return object
expected errors because the form elements name is actually
"actHour[1].faHrsDay1" and there is likely no such array object elsewhere in
your JavaScript on the page.  The following should work:

document.currentForm.elements["actHour[1].faHrsDay1"].value

Hope this helps,
Adam S. Grohs
- Original Message -
From: "SUPRIYA MISRA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 9:50 AM
Subject: Indexed Tag and JavaScript Problem


> Since I am using Indexed tag, my form gets the the following structure
>
> 
>
>  size="6" value="0.0" onchange="update(1,1,3)">
>
> 
>
>
> the update function is in JavaScript where I want to do some check.
> How to I access the form element?
>
> document.currentForm.actHour[1].faHrsDay1.value=1+1+3 does not work.
>
> error message from JavaScript is as follows.
> actHour1 is not an object
>
> HELP 
>
>
> _
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


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




Re: Non-Struts Related JS Question

2002-01-30 Thread Adam Grohs

this should work:



- Original Message -
From: "John M. Corro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 9:31 AM
Subject: Non-Struts Related JS Question


Does anyone know how to call a javascript function from an html link w/o
causing the parent page to reload, but still having the cursor change to a
pointing finger when it goes over the link?

I'm trying to implement the following basic situationuser clicks on a
link, a child window pops up w/ a listing of widgets, user clicks on a
widget, and a value is passed back to the parent page.  I've been able to
get everything working (popup window, widget listing, return value, etc) w/
an anchor tag like this...
Click here to see a listing of Widgets

However, one thing w/ this is that the mouse cursor doesn't change to a
pointing finger when it goes over the link because I don't have the href
attribute set.  I can manipulate the stylesheet settings so that it "looks"
like a regular link (underline, same color as all links), but the cursor
never changes to a pointing finger to indicate to the user that it's just a
plain old link to click on.  When I try putting in the href attribute, the
page tries to reload (don't want that happening).  I've tried a variety of
dummy values for the href (pound sign '#', blank, etc), but every value I've
tried seems to make the page reload.



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




Re: SSL and actions: some secure and some not possible?

2002-01-11 Thread Adam Grohs

Not sure if you have solved this problem yet, but if not, please let me
know, I have an http filter, ie servlet 2.3 filter that does just as you are
asking.
-Adam Grohs
[EMAIL PROTECTED]

- Original Message -
From: "Michael's Lists" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 02, 2002 11:46 AM
Subject: SSL and actions: some secure and some not possible?


> We have a web app in place and would like to force certain actions
> to operate through the SSL layer.
>
> For example, a secure action request uri
>
> http://server.name/servlet/Controller?a=secure
>
> should use SSL where
>
> http://server.name/servlet/Controller?a=open
>
> should not.  Is there any way to configure Tomcat/Apache
> to do this?  Inspecting the protocol and forcing a redirect
> in the Controller does not seem to work.
>
>
>
> --
> 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: Example Site Built using Struts

2001-10-25 Thread Adam Grohs

Robin,
Pleas have a look at http://www.hallmarkstories.com.  Hope this helps.
Adam S. Grohs
[EMAIL PROTECTED]

- Original Message -
From: "Robin Roos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 9:50 AM
Subject: Example Site Built using Struts


> Hello
>
> Can anyone suggest the URLs of a couple of websites built using the Struts
> framework?  My company needs such examples before commiting to Struts for
> our own site.
>
> I am subscribed, so you can reply to the list or direct to me.
>
> Many thanks, Robin.
>
>




Re: How to customize the way Validation Error is display

2001-10-03 Thread Adam Grohs

Have a look at an implimentation description and sample that I've put
together at www.leanonme.org.  Hope this helps.
Thanks,
Adam S. Grohs
[EMAIL PROTECTED]

- Original Message -
From: "Minh Tran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 3:40 PM
Subject: How to customize the way Validation Error is display


> Does anyone know how to control and customize the way the validation error
> is display when when fills out incorrect form information?
>
> Thanks,
> Minh
>




Re: Javascruot with html:errors

2001-10-02 Thread Adam Grohs

Have a look at www.leanonme.org, I have placed a detailed description and
sample the for reference.

Thanks,
Adam S. Grohs
[EMAIL PROTECTED]

- Original Message -
From: "Kwang-Shi Shu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 29, 2001 11:46 AM
Subject: RE: Javascruot with html:errors


> Adam,
>
> Yes, I am interested in learning more. Thanks.
>
> Shu, Kwang-shi  | Tel 732-460-7848
> Village Networks, Inc.  | Fax 732-460-9851
> 246 Industrial Way West |
> Eatontown, NJ 078724| email: [EMAIL PROTECTED]
>
>
> -Original Message-
> From: Adam Grohs [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 29, 2001 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Javascruot with html:errors
>
>
> This response is not necessarily true.  It is possible to call a
particular
> JavaScript method or function from the  tag.  I worked on a
> team from iXL, Inc. and we have just completed a very sophisticated error
> handling mechanism for www.hallmarkstories.com that allows errors to be
> thrown by an action class through the struts error tag and then each error
> that is thrown refers to a specific key in the AppResource.properties file
> that invokes a Javascript method for throwing a client side error.  This
> allows both server-side and client-side validation to be handled by one
set
> of presentation layer code.  I would be very happy to explain the details
> further if you would like more information.
>
> Ex.
> error.header=
>error.email.invalid=throwError("Please enter a valid email
> address")
> error.header=
>
> Adam S. Grohs
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 24, 2001 12:06 AM
> Subject: Re: Javascruot with html:errors
>
>
> > If I understand what you're asking, it's not possible. JavaScript is
> > executed at the client (e.g. the browser), while JSP, including the
> >  tag, is executed on the server.
> >
> > --
> > Martin Cooper
> >
> >
> > - Original Message -
> > From: "Francois Duchaussoy" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, September 23, 2001 9:13 PM
> > Subject: Javascruot with html:errors
> >
> >
> > > Hi,
> > >
> > > Would anyone know how to call a javascript method from a

> > tag?
> > > Basically I would like to highlight a field where an error occurs...
> > >
> > > Any ideas??
> > > Francois.
> >
> >
> >
>
>





Re: New professional STRUTS website

2001-10-02 Thread Adam Grohs

Thinh,
We are in fact utilizing the html:erors tag and passing errors through a
client side controller mechanism.  Please see my last posting named
"JavaScript with html:errors - new STRUTS validation" for details and an
example file.

Thanks,
Adam S. Grohs
[EMAIL PROTECTED]


- Original Message -
From: Thinh Doan
To: [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 4:55 PM
Subject: RE: New professional STRUTS website


For me I'm curious if you use html:errors (ActionErrors) at all?  More
specifically, how did you pop up the singin error on another window instead
of on the same window if html:errors were used?

Nice site, thanks for sharing.

Thinh
-Original Message-----
From: Adam Grohs [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 29, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: New professional STRUTS website


www.hallmarkstories.com

Please have a look at this new site developed to produce offline physcial
product through an online web based application for Hallmark, Inc. by iXL,
Inc.(NYC).  I would be happy to provide more detail into any questions
anyone may have in terms of the STRUTS implimentation or other solutions for
the build.  I have been reading this list for a long time and working on
this project for a very long time hoping to expose STRUTS as a fantastic
framework for implimenting proffessional MVC based web applications.

Thanks,
Adam S. Grohs
[EMAIL PROTECTED]



JavaScript with html:errors - new STRUTS validation

2001-09-30 Thread Adam Grohs
the answer, and a pure client 
side approach is inadequete.  So to mergethe two worlds together there 
needs to be one more step, and that is to havethe set of client side 
validation code, call the same set of error messagesthat the server will be 
using so as to only have to maintain one baseline.Again, by treating the 
Web Tier(front end) as its own smaller MVC system,there becomes a true sense 
of abstraction even within that set of code.  TheJSP page itself along 
with the presentError method provide the true "View"portion of the system, 
the throwError handler and collectError methodprovide the controller for how 
errors are handled by the system along withwhat business logic to run for a 
particular page(error_Login,js).  Theerror_Login.js file contain the 
page specific validate() function that noteswhat functions should be called 
for that page:function validate() {    // Run page 
specific functions declared in .jsp file so error messagescan be stored in 
appResoucres.properties file    
checkUserName();    
checkPassword();    // Execute the collectErrors method 
to display any errors that arepresent or submit the 
form    collectErrors();}The model portion of the 
system where data is received within the businesslogic is encapsulated 
within the page specific JavaScript file that has theJSPfile 
extension(error_Login.jsp).  The code within this page contains 
theactual validation code for the specific fields on the page along with 
a implimentation to extrapolate error messages for a 
particularcase from the appResources file and populate the JavaScript 
validationcode(hence the JSP file type):function 
checkUserName(){    
if(!validateNotEmpty(document.loginForm.userName.value)){    
    
}else{    
if(!validateNumeric(document.loginForm.userName.value)){    
    
}    
if((document.loginForm.userName.value.length 
<7)||(document.loginForm.userName.value.length > 
25)){    
    
}    }}As the page is displayed, the client side 
validation code is populated withthe same code snippets as were thrown 
earlier by the  tag:function 
checkUserName(){    
if(!validateNotEmpty(document.loginForm.userName.value)){    
throwError("","generic","User Name");    
}else{    
if(!validateNumeric(document.loginForm.userName.value)){    
throwError("All User Names must contain at least 
1number","specific","");    
}FLOW OF EVENTSAs the user clicks on the submit button of a 
form, first the error_Login.jsfile gets called from its validate() function 
this then tells the browser tocall the checkUserName() and checkPassword() 
functions within theerror_Login.jsp file which has received the set of error 
messages from theApplication resource file as the page was displayed.  
If one of the clientside functions returns an error on a field, they will 
call the throwError()method within the error_Lib.js file which will created 
a new pageErrorobject and populate it with what type of error and what field 
had a problemor what specific message to display.  Scripting within the 
error_Login.jspfile can determine whether to keep collecting errors or 
return after acrucial one is reached.  After all validation is 
completed in the JavaScripttier, control is passed to the collectErrors() 
controller.  It willdetermine if any errors have occurred and if so 
pass those along to thepresentErrors() handler otherwise it will submit the 
form to the backend forthe action class to begin its work.  If an error 
occurs within an actionclass Validation method, it will be passed along and 
will eventually followthe same mechanism thereby eliminating two code bases 
for error messages andpossibly dissimilar presentation of them to a 
user.I think that is enough to at least intrigue some questions, I would 
be happyto entertain any questions and help out with any problems.  
Currently I amworking on extending the framework to include a GUI tool for 
configuring thepresentation of the error messages, as well a separate system 
for "contentmanagement" of error messages so a business or content person 
can avoidworking directly with a text file.  Also I have been intrigued 
by thecurrent Validator system that many are utilizing and look forward 
toencompassing some method of directly creating both sets of 
validationcode(front end and back end) automatically.There are 2 
very small versions of the sample attached, the one labeled"flat files" is 
pure HTML w/ JavaScript to at least show the mechanism inplace without 
having to modify any existing STRUTS application, and theSTRUTS folder 
contains nearly identical code following the full path above,but will 
require some configuration.Thanks,Adam S. Grohs[EMAIL PROTECTED]- Original Message -From: "Adam Grohs" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Sunday, September 30, 2001 2:11 PMSubject: Re: 
Javascruot with html

JavaScript with html:errors - new STRUTS validation

2001-09-30 Thread Adam Grohs
aller MVC system,
there becomes a true sense of abstraction even within that set of code.  The
JSP page itself along with the presentError method provide the true "View"
portion of the system, the throwError handler and collectError method
provide the controller for how errors are handled by the system along with
what business logic to run for a particular page(error_Login,js).  The
error_Login.js file contain the page specific validate() function that notes
what functions should be called for that page:
function validate() {
// Run page specific functions declared in .jsp file so error messages
can be stored in appResoucres.properties file
checkUserName();
checkPassword();

// Execute the collectErrors method to display any errors that are
present or submit the form
collectErrors();
}

The model portion of the system where data is received within the business
logic is encapsulated within the page specific JavaScript file that has the
JSPfile extension(error_Login.jsp).  The code within this page contains the
actual validation code for the specific fields on the page along with a
 implimentation to extrapolate error messages for a particular
case from the appResources file and populate the JavaScript validation
code(hence the JSP file type):
function checkUserName(){
if(!validateNotEmpty(document.loginForm.userName.value)){

}else{
if(!validateNumeric(document.loginForm.userName.value)){

}
if((document.loginForm.userName.value.length <
7)||(document.loginForm.userName.value.length > 25)){

}
}
}

As the page is displayed, the client side validation code is populated with
the same code snippets as were thrown earlier by the  tag:
function checkUserName(){
if(!validateNotEmpty(document.loginForm.userName.value)){
throwError("","generic","User Name");
}else{
if(!validateNumeric(document.loginForm.userName.value)){

throwError("All User Names must contain at least 1
number","specific","");
}


FLOW OF EVENTS
As the user clicks on the submit button of a form, first the error_Login.js
file gets called from its validate() function this then tells the browser to
call the checkUserName() and checkPassword() functions within the
error_Login.jsp file which has received the set of error messages from the
Application resource file as the page was displayed.  If one of the client
side functions returns an error on a field, they will call the throwError()
method within the error_Lib.js file which will created a new pageError
object and populate it with what type of error and what field had a problem
or what specific message to display.  Scripting within the error_Login.jsp
file can determine whether to keep collecting errors or return after a
crucial one is reached.  After all validation is completed in the JavaScript
tier, control is passed to the collectErrors() controller.  It will
determine if any errors have occurred and if so pass those along to the
presentErrors() handler otherwise it will submit the form to the backend for
the action class to begin its work.  If an error occurs within an action
class Validation method, it will be passed along and will eventually follow
the same mechanism thereby eliminating two code bases for error messages and
possibly dissimilar presentation of them to a user.

I think that is enough to at least intrigue some questions, I would be happy
to entertain any questions and help out with any problems.  Currently I am
working on extending the framework to include a GUI tool for configuring the
presentation of the error messages, as well a separate system for "content
management" of error messages so a business or content person can avoid
working directly with a text file.  Also I have been intrigued by the
current Validator system that many are utilizing and look forward to
encompassing some method of directly creating both sets of validation
code(front end and back end) automatically.

There are 2 very small versions of the sample attached, the one labeled
"flat files" is pure HTML w/ JavaScript to at least show the mechanism in
place without having to modify any existing STRUTS application, and the
STRUTS folder contains nearly identical code following the full path above,
but will require some configuration.

Thanks,
Adam S. Grohs
[EMAIL PROTECTED]


- Original Message -
From: "Adam Grohs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 30, 2001 2:11 PM
Subject: Re: Javascruot with html:errors


> Martin,
> That is correct, the stuts error tag cannot actually invoke a
JavaScript
> method, however it can write one out to the screen and have the browser
> throw such an error at run time of the page.  I will be posting a follow
up
> thread to explain what throwError() (the JavaScript

Re: Javascruot with html:errors

2001-09-30 Thread Adam Grohs

Martin,
That is correct, the stuts error tag cannot actually invoke a JavaScript
method, however it can write one out to the screen and have the browser
throw such an error at run time of the page.  I will be posting a follow up
thread to explain what throwError() (the JavaScript form my response) might
do with a sample set of code.  Without violating any code ownership issues
for the specific implimentation developed for the site listed below, the
general concept and a sample modified implimentation will be available in a
new thread I am going to post in a few hours.  Please see the "JavaScript
with html:errors - new STRUTS validation" thread coming up very soon, I am
just putting the finishing touches on the files.

Thanks,
Adam S. Grohs
[EMAIL PROTECTED]


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 29, 2001 1:08 PM
Subject: Re: Javascruot with html:errors


> Adam,
>
> This is an interesting idea. I'd certainly be interested in hearing more
> about what throwError() does, and what happens when more than one error
> occurs on a page.
>
> I still claim that you are not actually calling JavaScript from the tag,
> though. You may be generating it, but you're not actually calling it.
> However, perhaps this is what the original poster was asking for. :-)
>
> --
> Martin Cooper
>
>
> - Original Message -
> From: "Adam Grohs" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 29, 2001 8:30 AM
> Subject: Re: Javascruot with html:errors
>
>
> > This response is not necessarily true.  It is possible to call a
> particular
> > JavaScript method or function from the  tag.  I worked on
a
> > team from iXL, Inc. and we have just completed a very sophisticated
error
> > handling mechanism for www.hallmarkstories.com that allows errors to be
> > thrown by an action class through the struts error tag and then each
error
> > that is thrown refers to a specific key in the AppResource.properties
file
> > that invokes a Javascript method for throwing a client side error.  This
> > allows both server-side and client-side validation to be handled by one
> set
> > of presentation layer code.  I would be very happy to explain the
details
> > further if you would like more information.
> >
> > Ex.
> > error.header=
> >error.email.invalid=throwError("Please enter a valid email
> > address")
> > error.header=
> >
> > Adam S. Grohs
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, September 24, 2001 12:06 AM
> > Subject: Re: Javascruot with html:errors
> >
> >
> > > If I understand what you're asking, it's not possible. JavaScript is
> > > executed at the client (e.g. the browser), while JSP, including the
> > >  tag, is executed on the server.
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > - Original Message -
> > > From: "Francois Duchaussoy" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Sunday, September 23, 2001 9:13 PM
> > > Subject: Javascruot with html:errors
> > >
> > >
> > > > Hi,
> > > >
> > > > Would anyone know how to call a javascript method from a
> 
> > > tag?
> > > > Basically I would like to highlight a field where an error occurs...
> > > >
> > > > Any ideas??
> > > > Francois.
> > >
> > >
> > >
> >
>
>
>



Re: Know of any consulting companies?

2001-07-05 Thread Adam Grohs

iXL Inc. out of Atlanta, (particularly their New York office) are quite
familiar with the jakarta components and intricately using the STRUTS
framework quite extensively on existing projects and new business.
www.ixl.com

Hope this helps,
Adam S. Grohs

- Original Message -
From: "Eric Loeb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 4:40 PM
Subject: Know of any consulting companies?


>
> Is there an ARS-Digita-like consulting company that
> uses the various jakarta components to build web apps
> for clients?
>
> thanks in advance,
> Eric Loeb
>
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>




Problems with STRUTS 1.0 & Tomcat 4.0

2001-05-09 Thread Adam Grohs



I was wondering if anyone has configured STRUTS 1.0 
on TOMCAT 4.0 B3, I seem to be having some errors on startup of the 
server.  The example, blank, test, and upload applications are not 
deploying correctly.  Below is a sample of the error being thrown in my 
server log file.  Any help would be greatly appreciated, I've implimented 
STRUTS before on a porject I am working on, but I'm kind of new to configuration 
and setup.
 
Thanks in advance for any help.
 
2001-05-09 22:10:18 Manager[/struts-test]: Seeding 
random number generator class java.security.SecureRandom2001-05-09 22:10:18 
Manager[/struts-test]: Seeding of random number generator has been 
completed2001-05-09 22:10:19 StandardWrapper[/struts-test:default]: Loading 
container servlet default2001-05-09 22:10:19 default: init2001-05-09 
22:10:19 StandardWrapper[/struts-test:invoker]: Loading container servlet 
invoker2001-05-09 22:10:19 invoker: init2001-05-09 22:10:19 
StandardWrapper[/struts-test:action]: Marking servlet action as 
unavailable2001-05-09 22:10:19 StandardContext[/struts-test]: Servlet 
/struts-test threw load() exceptionjavax.servlet.ServletException: Error 
instantiating servlet class org.apache.struts.action.ActionServlet at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:794) at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3175) at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:721) at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:388) at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:616) at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:294) at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:383) at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:226) at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1067) at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059) at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253) at 
org.apache.catalina.core.StandardService.start(StandardService.java:353) at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:458) at 
org.apache.catalina.startup.Catalina.start(Catalina.java:707) at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:627) at 
org.apache.catalina.startup.Catalina.process(Catalina.java:177) at 
java.lang.reflect.Method.invoke(Native Method) at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)- Root 
Cause -java.lang.NoClassDefFoundError: 
org/xml/sax/SAXException at java.lang.Class.newInstance0(Native 
Method) at java.lang.Class.newInstance(Class.java:237) at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:787) at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3175) at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:721) at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:388) at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:616) at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:294) at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:383) at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:226) at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1067) at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1059) at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:253) at 
org.apache.catalina.core.StandardService.start(StandardService.java:353) at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:458) at 
org.apache.catalina.startup.Catalina.start(Catalina.java:707) at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:627) at 
org.apache.catalina.startup.Catalina.process(Catalina.java:177) at 
java.lang.reflect.Method.invoke(Native Method) at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)
 
2001-05-09 22:10:19 StandardContext[/struts-test]: 
Context startup failed due to previous errors