digest

2002-02-14 Thread cody.burleson


digest


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Loading pdf files using jsp

2002-02-12 Thread cody.burleson



Maybe you meant that you wanted to "WRITE" a PDF file from JSP?  Loading a
PDF file from a JSP is no different than loading any other web page from
JSP. If the client browser has the Adobe Acrobat plugin installed, any
hyperlink to PDF files will spawn the PDF file in the requesting browser.
You may need to ensure that your server is configured to accepct the PDF
mime-type, but other than that, it's a simple deal.

To write PDF's dynamically, there is a Java library that you can obtain
that is free. You'll have to dig for it though, cause I simply cannot
remember the name or where to get it. There are also numerous commercial
libraries that assist with writing dynamic PDF's on the server.

- Cody







[EMAIL PROTECTED] on 02/12/2002 04:27:32 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Loading pdf files using jsp




Hello,
 I want to load a PDF file from JSP.
Is it possible.

Regards
Arun



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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




RE: URL handling problem with struts ...

2002-02-11 Thread cody.burleson


Well, it's not dibilitating. I can hack it.  I guess I'm neutral on this
one.

- Cody





"Barr, Scott [IBM GSA]" <[EMAIL PROTECTED]> on 02/11/2002
08:01:41 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:  RE: URL handling problem with struts ...



I disagree. Most messages are relatively small, and so long as people dont
send attachments there generally isn't too much of a problem.
The delete key is a great filter :)

Scott

> -Original Message-
> From:   [EMAIL PROTECTED]
> [SMTP:[EMAIL PROTECTED]]
> Sent:   Tuesday, February 12, 2002 12:28 PM
> To: Struts Users Mailing List
> Subject: Re: URL handling problem with struts ...
>
>
> I second that motion.  We do not have filtering capability here at my
work
> so I have to manually delete messages!
>
> - Cody
>
>
>
>
>
> Mark Rines <[EMAIL PROTECTED]> on 02/11/2002 07:19:43 PM
>
> Please respond to Struts Users Mailing List
>   <[EMAIL PROTECTED]>
> To:   Struts Users Mailing List <[EMAIL PROTECTED]>
> cc:
> Subject:  Re: URL handling problem with struts ...
>
>
> Phew,
> I vote that we split up this mail list into several topics such as
> installation, configuration, add-ons (such as strutsTests) and extending
> the
> various ActionXXX classes. I am really having trouble keeping up with all
> (over 110 just today) the email.
> Mark
>
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
> received
> this in error, please contact the sender and delete the material from any
> computer.
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: URL handling problem with struts ...

2002-02-11 Thread cody.burleson


I second that motion.  We do not have filtering capability here at my work
so I have to manually delete messages!

- Cody





Mark Rines <[EMAIL PROTECTED]> on 02/11/2002 07:19:43 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: URL handling problem with struts ...


Phew,
I vote that we split up this mail list into several topics such as
installation, configuration, add-ons (such as strutsTests) and extending
the
various ActionXXX classes. I am really having trouble keeping up with all
(over 110 just today) the email.
Mark

> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




DETAIL/QUESTION: patterns.doc, 1.4.4 Struts CMV,Table 1.5 - Struts view helpers

2002-02-10 Thread cody.burleson



1.4.4 Struts CMV, Table 1.5  - Struts view helpers

This part has me confused. I have been using a STRUTS-FORM libary tag that
you do not mention here. Either the tag has been somehow wrapped into one
of the other tags and I do not know it yet, or maybe you have forgotten it.
I am guessing that you know about something we all do not - that only a new
release of struts will reveal? Is the FORM taglib getting wrapped up into
the HTML taglib? In any case, I have been using the following in my
web.xml:


 /form
 /WEB-INF/struts-form.tld


and the following on my pages:

<%@taglib uri="/form" prefix="form"%>

So, I was confused to see this tag unmentioned in Section 1.4.4, Table 1.5.

- Cody



The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: mapping jsp *.do how to ?

2002-02-10 Thread cody.burleson


You can map JSPs without having to pass through Action objects by simply
defining the JSPs as Global Forwards in your struts-config file:

  
 
  

So, in the above example, calling addUser.do will just get me straight to
the JSP.

- Cody







"Arik Levin ( Tikal )" <[EMAIL PROTECTED]> on 02/10/2002 01:33:43
PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:  mapping jsp *.do how to ?


I need to map all my JSP's to  -  *.something  -  not just the actions
JSP's.
How should I do this?

Should I write some base action and use it as some handler or there is an
other way?







The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Screen Flow based on UserAgent in Struts

2002-02-10 Thread cody.burleson


I believe the USR AGENT is passed in the request header. You should,
therefor be able to easily get a handle on it using your Action object.

To enumerate through all header names available:

java.util.Enumeration e = request.getHeaderNames();
while(e.hasMoreElements()) {
 String name = (String) e.nextElement();
 String.value = request.getHeader(name);
 System.out,println("ELEMENT = " + name + ", VALUE = " + value);
}

I think the user agent header name is just "User-Agent".  Try that.

- Cody






Sam Cheung <[EMAIL PROTECTED]> on 02/10/2002 12:37:49 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   [EMAIL PROTECTED]
cc:
Subject:  Screen Flow based on UserAgent in Struts


Hi,

Is there a way to config Struts to forward a different
jsp based on the User Agent of the HTTP Request? I
would like to use the User Agent to identify the
client type (e.g. where desktop or a mobile phone) and
send out either HTML content or WML content.

I come up this idea, I am wondering if there are
better solutions:

Have a different forward name, different path for each
device type:
For example, in struts-config.xml


 
 


And in the perform method of my action code, I have
something like:

if user agent is desktop
 return (mapping.findForward("successHTML"));
else
 return ((mapping.findForward("successWML"));


Thanks for any ideas.

Sam

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Setting a Bean in an Action and Getting it on a Page

2002-02-10 Thread cody.burleson



Thanks, Ted!  You are the almighty Struts super-hero.  But, one more
question...

To use  on 02/10/2002 09:18:18 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: Setting a Bean in an Action and Getting it on a Page


You might find the Struts bean tags easier to use that the standard JSP
actions, since there is not as much red tape involved.

For example, to simply write your test string



is all that is needed. The tag will figure out the rest =:o)

http://jakarta.apache.org/struts/struts-bean.html

http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/bean/package-summary.html#package_description


If you need to expose testString as scripting variable, see the
bean:define tag.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/



[EMAIL PROTECTED] wrote:
>
> Can someone help me with this?
>
> 1.  In an Action, I populate the value of a Bean.
> 2. Then, in the Action, I put the Bean in the session like this:
>
>   session.setAttribute("theUserList",userList);
>
> 3.  On a JSP page, when I use tags to try to get at the Bean, however, I
> think
>  I am only creating new Beans. I am having some success because
>  my log4j statements show that I get into the Bean on the JSP page,
>  but I never get the value set by the Action, so I must be only
> creating
>  a new Bean everytime.
>
> So I guess the question is,
>
> what is the synax for accessing a bean which should already be in the
> session.  I have been using something akin to the following without
> success:
>
>  ="com.magneta.model.UserList"/>
> 
>
> Thanks,
>
> Cody
>
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
received
> this in error, please contact the sender and delete the material from any
> computer.
>
> --
> 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]>





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Setting a Bean in an Action and Getting it on a Page

2002-02-10 Thread cody.burleson



Can someone help me with this?

1.  In an Action, I populate the value of a Bean.
2. Then, in the Action, I put the Bean in the session like this:

  session.setAttribute("theUserList",userList);

3.  On a JSP page, when I use tags to try to get at the Bean, however, I
think
 I am only creating new Beans. I am having some success because
 my log4j statements show that I get into the Bean on the JSP page,
 but I never get the value set by the Action, so I must be only
creating
 a new Bean everytime.

So I guess the question is,

what is the synax for accessing a bean which should already be in the
session.  I have been using something akin to the following without
success:





Thanks,

Cody



The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: HTML tags - WHY?

2002-02-07 Thread cody.burleson


Maybe I should rephrase the question.  I understand what the tags are for
when related to form items and even hyperlinks (allowing forwards), but
what is the point of duplicating the others?

- Cody





Jim Crossley <[EMAIL PROTECTED]>@jimmy.ifleet.com on 02/07/2002 04:14:45
PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>

Sent by:  [EMAIL PROTECTED]

To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: HTML tags - WHY?


That is certainly the biggie.  Coupla others:

- Transparently inserts context path prefix.
- Automatically encodes html-specific characters

"Krueger, Jeff" <[EMAIL PROTECTED]> writes:

> One thing is it will populate the tag with the value from your formBean.
>
> Jeff
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 3:00 PM
> To: Struts Users Mailing List
> Subject: HTML tags - WHY?
>
>
>
>
> Can someone help me understand why struts duplicates almost all standard
> HTML tags. In all of these cases, struts adds something special that is
not
> already inherent in the tag?
>
> - Cody
>
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
received
> this in error, please contact the sender and delete the material from any
> computer.
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> --
> 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]>





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




RE: HTML tags - WHY?

2002-02-07 Thread cody.burleson



I understand that. But what is the use of all the tags that are not related
to forms?

- Cody





"Krueger, Jeff" <[EMAIL PROTECTED]> on 02/07/2002 04:01:12 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  RE: HTML tags - WHY?


One thing is it will populate the tag with the value from your formBean.

Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 3:00 PM
To: Struts Users Mailing List
Subject: HTML tags - WHY?




Can someone help me understand why struts duplicates almost all standard
HTML tags. In all of these cases, struts adds something special that is not
already inherent in the tag?

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


--
To unsubscribe, e-mail:

For additional commands, e-mail:


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




HTML tags - WHY?

2002-02-07 Thread cody.burleson



Can someone help me understand why struts duplicates almost all standard
HTML tags. In all of these cases, struts adds something special that is not
already inherent in the tag?

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: How to go about??

2002-02-06 Thread cody.burleson


Correction.

Husted's stuff is a vast improvement over the stuff I've been seeing as of
yet.

Go Ted!

(woosh - wiping the raw sweat off my brow...)

- Cody





STEVE WILKINSON <[EMAIL PROTECTED]> on 02/06/2002 05:25:31 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts user <[EMAIL PROTECTED]>
cc:
Subject:  Re: How to go about??


Sanjay,

1. Your team will have a learning curve, but that mostly has to do with the
tag libraries and the struts-config.xml file.
2.  Yes, but you will have to convert the tags to the struts tags.
3.  Use it and read about it.  see the following web sites:
http://www.husted.com/struts  Look at the "Projects and Examples",
"Tutorials", and "Other Resources".  I have a sample project that is listed
on the site.  It's at http://www.newparticles.com/struts
4.  http://husted.com/about/scaffolding/kickstart.html  and
http://husted.com/about/scaffolding/strutByStrut.htm should help.

5.  Subscribe to the user list, read often, and give back what you learn.
Good luck,
Steve
- Original Message -
In my team
1. No one has any knowledge about Struts but they are
very good with Java and J2EE.
2. Except for a HTML designer, most of the programmers
are involved with backend programming. They have done
very little HTML work. I was wondering if we will be
able to create JSP's using Struts HTML tags and other
tag libraries if a form is defined using pure HTML.

3. What is the best way to go about to learn Struts to
use in practical life and how much time it takes?

4. What strategies did you guys adopt to move to
Struts?

5. All pointers to valuable resources and design
stratergies will be appreciated.

Thanks you ,
Sanjay







__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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




The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: How to go about??

2002-02-06 Thread cody.burleson



Good luck Sanjay!  Even the documentation to Struts itself does not tell
you how to use it. Tells you how to build parts, but not really how to get
them together.  It's typical developer documentation.  Open source software
is wonderful, but developers do not seem to be as enthusastic about
documenting as they are about developing. (Natural, I guess.who's gonna
sit and write good documentation anyway.  This is almost as hard as writing
good software!)

We need to start the Open Source Documentation Initiative and save this
glorious revolution from its one greatest flaw.


- Cody






Sanjay Choudhary <[EMAIL PROTECTED]> on 02/06/2002 04:11:23 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  How to go about??


Hi Friends,

I am very new to Struts. All I have done is worked out
couple of examples from web to understand the
Architecture. We are in a process of designing a
Product and plan to use Struts Framework with EJB's.

In my team
1. No one has any knowledge about Struts but they are
very good with Java and J2EE.

2. Except for a HTML designer, most of the programmers
are involved with backend programming. They have done
very little HTML work. I was wondering if we will be
able to create JSP's using Struts HTML tags and other
tag libraries if a form is defined using pure HTML.

3. What is the best way to go about to learn Struts to
use in practical life and how much time it takes?

4. What strategies did you guys adopt to move to
Struts?

5. All pointers to valuable resources and design
stratergies will be appreciated.

Thanks you ,
Sanjay







__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




RE: speed of struts

2002-02-06 Thread cody.burleson



I would be interested to hear an example of such an app where the use of
HTML forms is a good decision over some sort of cutom control or
spreadsheet control, grid control, or desktop tool that is web-enabled (in
this case). I have had no experience where such a thing was necessary. And
I would never think to build a spreadsheet out of web-page.  Why not just
build a web page out of a spreadsheet?

Perhaps Pete can provide more details to the original issue and we can see
if HTML is really even the best way.

I hear what you are saying, Martin..just never seen such a
thing.(at least not that anyone would actually use.)

- Cody






Martin Farrell <[EMAIL PROTECTED]> on 02/06/2002 09:33:29 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:  RE: speed of struts


hi

i think it depends on the type of application - if it is similar
information
then you could have a 10*5 array (some form of corporate time sheet maybe)
-
to help the user submit the information faster. rather than having 5 * 10
forms with the inevitable network delays that would give the user dialing
up
from home

your essentially moving from a form filing metaphor to a spreadsheet
metaphor idea.

martin



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 06 February 2002 15:32
To: Struts Users Mailing List
Subject: RE: speed of struts




Good point.  Under no circumstances whatsoever should the user be expected
to do data entry for 50 items on a single web page unless they items all
happen to be simple checkboxes.  This is a known principal in
user-experience architecture and Web site usability. If you need some lab
data or something that backs this up, I can probably find something if I
dig around.

Data entry is a cumbersome process. Users must be incented through the
process by parsing the process itself into manageable chunks and giving
users motivation throughout.

Consider a "wizard"-based data entry metaphor to correct this issue.
Also, make sure that you give appropriate feedback to the user after each
wizard step.
Consider also adding a motivator and possibly even a "step-map" that shows
location in the overall data entry process.
If you really want to be aggresive, consider also allowing automatic save
of the current state so that the user can always pick up where they left
off on new sessions.

- Cody





"Galbreath, Mark" <[EMAIL PROTECTED]> on 02/06/2002 07:14:57 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:  RE: speed of struts


50 fields in a form???  Me thinks the bug is in the design.

Cheers!
Mark

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 6:02 AM
To: [EMAIL PROTECTED]
Subject: RE: speed of struts


I had a form with lots of custom tags. When run under the Sun 1.3 JDK it
was
slow as molasses. Sun 1.2 JDK or IBM 1.3 was instantaneous. A few mailing
list posts pointed me to a bug in Sun's 1.3 having to do with nested
try/catch blocks in the compiled JSP.

Try your page under Sun 1.2 or the IBM JDK and see if it makes a
difference.

Lee


-Original Message-
From: Christopher Cheng [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 3:50 AM
To: Struts Users Mailing List
Subject: RE: speed of struts


My form does not have a lot of tag processing (acutally none) The time it
takes to load the page is proportional to the number of instances of form
objects appeared on the JSP.

For instance, outputting a radio set is A LOT slower than outputting a drop
down list since you just have to pass a collection to the "iterate", but
you
have to actually put all the  options on the JSP.





Option A
Option A
Option A
Option A

-Original Message-
From: Pete Carapetyan [mailto:[EMAIL PROTECTED]]
Posted At: Wednesday, February 06, 2002 12:10 PM
Posted To: Struts
Conversation: speed of struts
Subject: Re: speed of struts


I have had the same problem on one very large form with lots of back end
tag
processing. Would be interested to know if anyone had performed any
profiling on similar situations to identify where the bottlenecks were.

Struts wrote:

> I found out that if I include a lot of html form fields in a form (over
50). The jsp pages seems to be awfully slow to load (almost 10 seconds). I
made it a little bit faster when I converted all radio button sets to drop
down list, still it is very slow. The speed to load up seems to
exponentially related to the number of form fields.
>
> Has anybody got the same problem?
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:


--
Pete Carapetyan
http://datafundamentals.com
Java Development Services

Open standards technology for commercial profitability



--
To unsubscribe, e-mail:


RE: speed of struts

2002-02-06 Thread cody.burleson



Good point.  Under no circumstances whatsoever should the user be expected
to do data entry for 50 items on a single web page unless they items all
happen to be simple checkboxes.  This is a known principal in
user-experience architecture and Web site usability. If you need some lab
data or something that backs this up, I can probably find something if I
dig around.

Data entry is a cumbersome process. Users must be incented through the
process by parsing the process itself into manageable chunks and giving
users motivation throughout.

Consider a "wizard"-based data entry metaphor to correct this issue.
Also, make sure that you give appropriate feedback to the user after each
wizard step.
Consider also adding a motivator and possibly even a "step-map" that shows
location in the overall data entry process.
If you really want to be aggresive, consider also allowing automatic save
of the current state so that the user can always pick up where they left
off on new sessions.

- Cody





"Galbreath, Mark" <[EMAIL PROTECTED]> on 02/06/2002 07:14:57 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
cc:
Subject:  RE: speed of struts


50 fields in a form???  Me thinks the bug is in the design.

Cheers!
Mark

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 6:02 AM
To: [EMAIL PROTECTED]
Subject: RE: speed of struts


I had a form with lots of custom tags. When run under the Sun 1.3 JDK it
was
slow as molasses. Sun 1.2 JDK or IBM 1.3 was instantaneous. A few mailing
list posts pointed me to a bug in Sun's 1.3 having to do with nested
try/catch blocks in the compiled JSP.

Try your page under Sun 1.2 or the IBM JDK and see if it makes a
difference.

Lee


-Original Message-
From: Christopher Cheng [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 3:50 AM
To: Struts Users Mailing List
Subject: RE: speed of struts


My form does not have a lot of tag processing (acutally none) The time it
takes to load the page is proportional to the number of instances of form
objects appeared on the JSP.

For instance, outputting a radio set is A LOT slower than outputting a drop
down list since you just have to pass a collection to the "iterate", but
you
have to actually put all the  options on the JSP.





Option A
Option A
Option A
Option A

-Original Message-
From: Pete Carapetyan [mailto:[EMAIL PROTECTED]]
Posted At: Wednesday, February 06, 2002 12:10 PM
Posted To: Struts
Conversation: speed of struts
Subject: Re: speed of struts


I have had the same problem on one very large form with lots of back end
tag
processing. Would be interested to know if anyone had performed any
profiling on similar situations to identify where the bottlenecks were.

Struts wrote:

> I found out that if I include a lot of html form fields in a form (over
50). The jsp pages seems to be awfully slow to load (almost 10 seconds). I
made it a little bit faster when I converted all radio button sets to drop
down list, still it is very slow. The speed to load up seems to
exponentially related to the number of form fields.
>
> Has anybody got the same problem?
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:


--
Pete Carapetyan
http://datafundamentals.com
Java Development Services

Open standards technology for commercial profitability



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Possible to configure NetBeans to use TomCat 4?

2002-02-05 Thread cody.burleson



Does anyone know how to configure NetBeans for using TomCat 4 instead of
the old TomCat?

Thanks,

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: How to put useBean data in HTML attribute?

2002-02-05 Thread cody.burleson


OK.  I knew it COULD be done that way, but I keep reading in all my books
that it is not good design to put Java code in your JSP. I guess a certain
amount of it is necessary from timr to time.  Thanks! I will do this.

- Cody





Richard Yee <[EMAIL PROTECTED]> on 02/05/2002 12:30:18 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: How to put useBean data in HTML attribute?


Cody,
You can't nest tags - you can't have one tag inside the <>'s of another
tag.
To do what you want, try this:

<% String ref = "admin_userForm.jsp?user_id=" + currentUser; %>
<%= currentUser %>


-Richard


>
> <%= currentUser %>
>


At 11:37 PM 2/4/2002 -0600, you wrote:


>Could someone please shed some light on the following?  What would be the
>solution for an attempt like this? Consider this code snippet that has an
>obviously incorrect syntax:
>
>
> 
>
>
>I am trying to set a URL paramer with bean data
(admin_userForm.jsp?user_id
>=), but because it is inside of an HTML
>attribute, it is not working. I end up with an uninterpereted param value
>of "user_id=". I know it's just a syntax
>issue. I can think of a better way to do it, but not without introducing
>java code into the page.
>
>What is the more elegant Struts-centric way to do this?
>
>- Cody
>
>
>The information transmitted is intended only for the person or entity to
>which it is addressed and may contain confidential and/or privileged
>material.  Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipient is prohibited.   If you
received
>this in error, please contact the sender and delete the material from any
>computer.
>
>
>--
>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]>





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




How to put useBean data in HTML attribute?

2002-02-04 Thread cody.burleson



Could someone please shed some light on the following?  What would be the
solution for an attempt like this? Consider this code snippet that has an
obviously incorrect syntax:





I am trying to set a URL paramer with bean data (admin_userForm.jsp?user_id
=), but because it is inside of an HTML
attribute, it is not working. I end up with an uninterpereted param value
of "user_id=". I know it's just a syntax
issue. I can think of a better way to do it, but not without introducing
java code into the page.

What is the more elegant Struts-centric way to do this?

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Questions from an Idiot who Longs to Understand Struts

2002-02-04 Thread cody.burleson



Sounds like a plan Richard. I shall try it!

Thank you.

- Cody





Richard Yee <[EMAIL PROTECTED]> on 02/04/2002 02:31:53 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: Questions from an Idiot who Longs to Understand Struts


Cody,
I'd suggest not using a custom tag to contain your list and instead just
use a regular bean class.
You can then use the jsp:usebean tag to instantiate the bean and then I
think the iterate tags will be able to call the getUserList method from the
class

Regards,

Richard

At 12:17 PM 2/4/2002 -0600, you wrote:

>OK -
>
>So, not long ago, having read about MVC and having been introduced to
>Struts by discovering it on the Jakarta site, I embarked upon my journey
to
>learn it.  Absolutely frustrated with the documentation (it appers to be
>written for people who happen to know a thing or two), and ffrustrated by
>the lack of support references in bookstores or the online community - I
>broke doen and started implementing my own MVC. Why? Because I at least
>found a step by step reference for how to do it.
>
>Anyways
>
>Having done the MVC myself, I finally got to the place where I thought
>("OK, now I think I will probably be able to comprehend Struts").
>
>So I begin to convert my app.
>
>Here's where I stand:
>
>I've got all the tld's set and tested and struts is up and rearing to go
>(as far as I can tell).
>I've got Poolman set and tested; ready for use in the system (as I heard
>this was more robust than the b uilt-in Struts pool manager).
>Log4J is in.
>
>And now I am just stuck on the most basic, simplist things!
>
>
>I'm trying to iterate through a list and I am just stuck - somebody please
>help.  Here's what I have got:
>
>First, a custom tag called userList:
>
>
>***
>// UserListTag.java
>
>package com.magneta.tags;
>
>import org.apache.log4j.*;
>import java.util.List;
>import java.util.ArrayList;
>import javax.servlet.jsp.tagext.TagSupport;
>
>public class UserListTag extends TagSupport implements
java.io.Serializable
>{
>
> // a category instance for log4j logging
> private Category cat = Category.getInstance(UserListTag.class.getName
>());
>
> private List userList;
>
> public int doStartTag() {
>
> cat.debug("in doStartTag()");
>
>
> userList = new ArrayList();
> userList.add("cburleson001");
> userList.add("bshoemate001");
> userList.add("jacarey001");
> userList.add("agilbert001");
> userList.add("rafael001");
> userList.add("margetic001");
>
>  cat.debug("storing userList bean in page scope");
> pageContext.setAttribute("userList",userList);
>
> return SKIP_BODY;
>
> }
>
> public List getUserList () {
> return userList;
> }
>
>}
>
***
>
>
>Now, here's what I am trying to do on my JSP page - just simply iteratte
>through the list with the following...
>
>* from admin_userAdmin.jsp
>
>
> 
>
> 
> 
> 
>
>***
>
>BUT when I hit the page, I get the following exception
>
>"javax.servlet.ServletException: No getter method for property userList of
>bean userList"
>
>
>Can someone shed some light? Help me people - I am on square one.
>
>- Cody
>
>
>The information transmitted is intended only for the person or entity to
>which it is addressed and may contain confidential and/or privileged
>material.  Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipient is prohibited.   If you
received
>this in error, please contact the sender and delete the material from any
>computer.
>
>
>--
>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]>





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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

Questions from an Idiot who Longs to Understand Struts

2002-02-04 Thread cody.burleson


OK -

So, not long ago, having read about MVC and having been introduced to
Struts by discovering it on the Jakarta site, I embarked upon my journey to
learn it.  Absolutely frustrated with the documentation (it appers to be
written for people who happen to know a thing or two), and ffrustrated by
the lack of support references in bookstores or the online community - I
broke doen and started implementing my own MVC. Why? Because I at least
found a step by step reference for how to do it.

Anyways

Having done the MVC myself, I finally got to the place where I thought
("OK, now I think I will probably be able to comprehend Struts").

So I begin to convert my app.

Here's where I stand:

I've got all the tld's set and tested and struts is up and rearing to go
(as far as I can tell).
I've got Poolman set and tested; ready for use in the system (as I heard
this was more robust than the b uilt-in Struts pool manager).
Log4J is in.

And now I am just stuck on the most basic, simplist things!


I'm trying to iterate through a list and I am just stuck - somebody please
help.  Here's what I have got:

First, a custom tag called userList:


***
// UserListTag.java

package com.magneta.tags;

import org.apache.log4j.*;
import java.util.List;
import java.util.ArrayList;
import javax.servlet.jsp.tagext.TagSupport;

public class UserListTag extends TagSupport implements java.io.Serializable
{

// a category instance for log4j logging
private Category cat = Category.getInstance(UserListTag.class.getName
());

private List userList;

public int doStartTag() {

cat.debug("in doStartTag()");


userList = new ArrayList();
userList.add("cburleson001");
userList.add("bshoemate001");
userList.add("jacarey001");
userList.add("agilbert001");
userList.add("rafael001");
userList.add("margetic001");

 cat.debug("storing userList bean in page scope");
pageContext.setAttribute("userList",userList);

return SKIP_BODY;

}

public List getUserList () {
return userList;
}

}
***


Now, here's what I am trying to do on my JSP page - just simply iteratte
through the list with the following...

* from admin_userAdmin.jsp








***

BUT when I hit the page, I get the following exception

"javax.servlet.ServletException: No getter method for property userList of
bean userList"


Can someone shed some light? Help me people - I am on square one.

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Reporting Writing

2002-01-17 Thread cody.burleson


We have developed some Flash based reports that are interactive and render
on the client side broswer using Flash XML API.  These objects make their
own request to the server, so they can hit a servlet and recieve XML.  If
you're interested, just email me directly.

- Cody





Chris Hane <[EMAIL PROTECTED]> on 01/17/2002 02:12:52 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:   [EMAIL PROTECTED]
Subject:  Reporting Writing



Group,

This is a bit off topic; however, there seems to be a good discussion going
on.  I'm new to the java world (less than 1yr) and am using struts to
develop an internal application.  One of the requirements is to generate
reports.  I'm currently rolling my own reports using struts/jsp.

I was wondering if any out there had experience with robust reporting
packages (free or commercially available) that they would recommend to help
create dynamic reports pulling information from a SQL database.  I know of
several that run on windows NT; however, I am looking for a Java based
application or API set that could run on Linux & windows.

I found one out there called Espress Report that I just started to
evaluate.  If anyone has had experience with it, what are your thoughts.

Thanks,
Chris
[EMAIL PROTECTED]


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: "Struts Fast Track" review

2002-01-15 Thread cody.burleson



I recieved my copy of the book just 2 days ago.
This book seems more like a companion to some course that must be
instructor led.
What good are these exercises if they contain no answers?
I can sit and make up exercises all day!
I appreciate the author's attempt to shed some light on the world of
struts,
but I would definately have to say that I do not beleive he has succeeded.
I think trioal and error will teach me faster.

- Cody





Dick Starr <[EMAIL PROTECTED]> on 01/15/2002 09:41:12 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   struts-user <[EMAIL PROTECTED]>
cc:
Subject:  "Struts Fast Track" review


Thanks Vic, for wanting to help others learn Struts. However, as you point
out in your book, you are not an author. I would rate this book at 1/2 star
of a possible 5. I suppose it's true that you can do the exercises and get
up on Struts, but I think that there is more useful information of this
type
on the web.

I am new to both Struts and Java, and have been buying lots of books. I
have
been very happy with every Wrox book  I have purchased. "Professional JSP
2nd Edition" has an excellent chapter on Struts by Steve Wilkinson.
"Professional JSP Site Design" is my favorite book so far, with an
introductory struts chapter with a database example by Sathya Narayana
Panduranda and three additional chapters with a database example by Ted
Husted. I would rate both these books at 5 stars.

Ted Husted will have a book out in a few months, see
http://husted.com/about/scaffolding/index.htm .

Dick Starr
[EMAIL PROTECTED]


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Recommend struts tutorial...

2002-01-15 Thread cody.burleson



Here's the only tutorial I have found:

http://gallery.bluestone.com/Scripts/SaIsapi.dll/StrutsTrailMap.class/struts-trailmap/default.htm







Alex Paransky <[EMAIL PROTECTED]> on 01/14/2002 08:26:02
PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Recommend struts tutorial...


Is there a good Struts tutorial that one can recommend.  The documentation
does not show how to use the tags and when.

Thanks.
-AP_


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Where is the messages tag...

2002-01-14 Thread cody.burleson


Here is an example of the message tag in use for a page title - the keyt
points to a resource bundle key.

<%@ page language="java" %>
<%@ 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" %>







- Cody







Alex Paransky <[EMAIL PROTECTED]> on 01/14/2002 03:43:24
PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Where is the messages tag...


I am just starting with STRUTS and have a basic question...

I looked at the struts documentation, and it mentions that there should be
a
messages (not message) tag.  I only was able to find errors tag.  I want to
show a message to the user, which is not an error.  Should I still be using
the errors tag?

Thanks.
-AP_


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Advice needed on Stuts versus Struts/Expresso

2002-01-10 Thread cody.burleson


As I understood trhe documentation - it does not wish to communicate with
stored procedures on purpose as a design desicision so that new DBs can be
plugged in and out interchanbgeably more easily.  But I guess they could
still design that functionality anyway for those developers who must
integrate with DB's that may have already got stored procedures in them.

- Cody





Peter Pilgrim <[EMAIL PROTECTED]> on 01/10/2002 11:43:07 AM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: Advice needed on Stuts versus Struts/Expresso



Expresso helpsa lot if you have been building action command mapping
in every single Action that you have written.

String action = form.getAction()
if ( action.equalsIgnoreCase("prompt")) {
...
return mapping.findFrward("prompt);
}
else if ( action.equalsIgnoreCase("add")) {
...
return mapping.findFrward("add");
}
else if ( action.equalsIgnoreCase("remove")) {
...
return mapping.findFrward("remove");
}

The ActionForm bean is redundant because Expresso
has its own controller element architecture. The powerful
feature to use Expresso would be the ease-of-use of its
database objects, especially if you work database-driven
applications. It is missing communication with store procedures
though.

HTH
--
Peter Pilgrim ++44 (0)207-545-9923

 Swamped under electionic mails


 Message History



From: [EMAIL PROTECTED] on 09/01/2002 10:58 EST

Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  Advice needed on Stuts versus Struts/Expresso



Hi all,

I've gotten a full app to work with Struts and have a good understanding
of how things are supposed to be done and work.

Now I am looking at possibly using Expresso to speed development.

In anyone's experience what would I lose by moving to Expresso.  I can
see how it would speed development, but do I lose anything that struts
gives me?  Is there anything that I would come across that I could not
do with Expresso that I could do with Struts?

I've read all the JCorporate docs on the struts integration and such,
but would like to draw on the experience of those more, well
experienced.

I guess I am at the point where I understand Struts so I am hesitant to
move on to something else if I will just be coming back to struts later.

My needs rotate mostly around rapid development of applications.

Thanks much for this information and all the previous help in getting me
going with struts.

PS. For anyone starting with struts, get Ted Husted's struts-catalog and
read it once a day while you are learning struts.  In the beginning you
may not understand it, but as the days go on, more and more will help
you out.  (Thanks Ted)


Bill Chmura
Ensign-Bickford Industries, Inc.
Information Technologies Department



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






--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




RE: Thanks! -> Advice needed on Stuts versus Struts/Expresso

2002-01-09 Thread cody.burleson



Well, for starters -

First rule of thumb:

Always provide one basic generic implementation procedure in step-by-step
tutorial format (HelloWorld x2).

Is this somewhere?  Did I miss this?  It is so difficult to open all the
configs and try to get an idea of how to build an app, struts integrated,
just by studying API's and such.  One single little hand-holding tutorial
would be all that I would need to get sailing.

How important is this?  EXTREMELY.

When evaluating new solutions, consultants have limited time.  If the value
of the solution and the way the solution is implemented cannot be clarified
briefly and succinctly, the consultant will abandon interest even when the
answers may be just around the next corner.  I myself have not yet
abandoned my interest.  With struts, I was able to come to a quick flow
sequence because I found tutorials online.  I could have never gotten there
with the API.  Now, I understand the API when I read it.

I will make some notes as I continue with my attempts to understand
Expresso and will be happy to deliver them if and when I begin to achieve
results.


Cody Burleson
Principal Consultant
PwC Consulting






Michael Nash <[EMAIL PROTECTED]> on 01/09/2002 06:02:48 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  RE: Thanks! -> Advice needed on Stuts versus Struts/Expresso


Cody:

Any and all ideas on how we can make the Expresso doc better *really* will
be listened to! Honest! :-)

It always lags the code, I think that's the nature of the beast, but the
core group are very serious about making the doc as high-quality as the
code. We've just upgraded to allow all the core contribs to be able to
online edit and upload new doc, which will start to help soon I hope as
well.

Let us know what we can do better, please!

Mike

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 3:00 PM
> To: Struts Users Mailing List
> Subject: Re:Thanks! -> Advice needed on Stuts versus Struts/Expresso
>
>
>
> But good luck working with Expresso right off the bat.  Does
> anyone in this
> whole open source world know anything about proper, usable, and useful
> documentation
>
>
> (sorry - it just gets frustrating; truth is -->  I'm probably
> just an idiot
> and I hate to admit it.)
>
>
> - Cody
>
>
>
>
>
>
> [EMAIL PROTECTED] on 01/09/2002 12:35:04 PM
>
> Please respond to Struts Users Mailing List
>   <[EMAIL PROTECTED]>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Re:Thanks! ->  Advice needed on Stuts versus Struts/Expresso
>
>
>
> Thanks everyone for the information on moving to struts.
>
> It has been most helpful.  Still not sure what I am going to do in the
> long run, but at the very least I will learn expresso so I can make a
> more informed decision...
>
> I am also going to try to get an answer on if they are planning on
> keeping pace with struts...
>
> Thanks again for a lot of excellent points on this topic.
>
>
> Bill Chmura
> Ensign-Bickford Industries, Inc.
> Information Technologies Department
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If
> you received
> this in error, please contact the sender and delete the material from any
> computer.
>
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail:



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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Expresso installation - administrator access?

2002-01-09 Thread cody.burleson


So, I installed the Expresso.war file.  And It all seems to be working ok.
But I cannot login to configure the app.  Is there a default install
administrator login?  When I regiuster a new user, I still do noit get
appropriate access.  Sorry - I know this is not the "Exprosso" list, but i
searched all the "docs" and found nothing.

- Cody


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re:Thanks! -> Advice needed on Stuts versus Struts/Expresso

2002-01-09 Thread cody.burleson


But good luck working with Expresso right off the bat.  Does anyone in this
whole open source world know anything about proper, usable, and useful
documentation


(sorry - it just gets frustrating; truth is -->  I'm probably just an idiot
and I hate to admit it.)


- Cody






[EMAIL PROTECTED] on 01/09/2002 12:35:04 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   [EMAIL PROTECTED]
cc:
Subject:  Re:Thanks! ->  Advice needed on Stuts versus Struts/Expresso



Thanks everyone for the information on moving to struts.

It has been most helpful.  Still not sure what I am going to do in the
long run, but at the very least I will learn expresso so I can make a
more informed decision...

I am also going to try to get an answer on if they are planning on
keeping pace with struts...

Thanks again for a lot of excellent points on this topic.


Bill Chmura
Ensign-Bickford Industries, Inc.
Information Technologies Department



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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson


Thanks!  I had not even been aware of Expresso.  This may be , in fact, a
better learning path to struts.

No flames.

This is great advice.

- Cody





Pete Carapetyan <[EMAIL PROTECTED]> on 01/08/2002 05:55:28 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:  Re: Newby - Looking for more idiot-proof documentation


I am going to start attracting flames if I keep saying the same thing over
and
over again, but here goes


If you absolutely know what you are doing and can knock out an app with
everything in a day or so, this does not apply to you. But if you are not a
struts genius, and want to start with something that already works, try a
framework such as Expresso that has your security, database access layer,
and
everything else already built, where you can change code that works, rather
than
recreating everything from tutorials.

You can always go back to the from scratch stuff one piece at a time, but
at
least you will be starting with a secured site that works from the first
day and
holds pretty religiously to reasonable standards(?).


[EMAIL PROTECTED] wrote:

> For example -
>
> I want to start by creating my security model.  Users in the database,
> login creates a session, access control lists, etc.  Is there an example
of
> a user handliung system anywhere?  Does struts provide any functions to
> help me work with my database or do I need to just do my own standard
JDBC?
>
> - Cody
>
> Cody Burleson/US/MCS/PwC@Americas-US on 01/08/2002 04:57:38 PM
>
> Please respond to Struts Users Mailing List
>   <[EMAIL PROTECTED]>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Newby - Looking for more idiot-proof documentation
>
> Ok, so I am in love with what I see so far about struts.  Bud god forbid,
I
> can't even begin to imagine how to build anything with struts.  I have
> scoured the documentation and find them to be lacking the tutorial-like
> quality that idiots like me require.  Can anyone recommend any online
> references?  I have done the tutorial in the HP trailmap.  Can't seem to
> find anything else.  Ordered a book, but it will not be here for a while
as
> it is not yet published, I just learned.  Arggghhh.
>
> Thanks in advance,
>
> - Cody
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
received
> this in error, please contact the sender and delete the material from any
> computer.
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
received
> this in error, please contact the sender and delete the material from any
> computer.
>
> --
> To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>

--
Pete Carapetyan
http://datafundamentals.com
Java Development Services

Open standards technology for commercial profitability



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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson


For example -

I want to start by creating my security model.  Users in the database,
login creates a session, access control lists, etc.  Is there an example of
a user handliung system anywhere?  Does struts provide any functions to
help me work with my database or do I need to just do my own standard JDBC?

- Cody





Cody Burleson/US/MCS/PwC@Americas-US on 01/08/2002 04:57:38 PM

Please respond to Struts Users Mailing List
  <[EMAIL PROTECTED]>
To:   [EMAIL PROTECTED]
cc:
Subject:  Newby - Looking for more idiot-proof documentation



Ok, so I am in love with what I see so far about struts.  Bud god forbid, I
can't even begin to imagine how to build anything with struts.  I have
scoured the documentation and find them to be lacking the tutorial-like
quality that idiots like me require.  Can anyone recommend any online
references?  I have done the tutorial in the HP trailmap.  Can't seem to
find anything else.  Ordered a book, but it will not be here for a while as
it is not yet published, I just learned.  Arggghhh.


Thanks in advance,

- Cody

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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





The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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




Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson


Ok, so I am in love with what I see so far about struts.  Bud god forbid, I
can't even begin to imagine how to build anything with struts.  I have
scoured the documentation and find them to be lacking the tutorial-like
quality that idiots like me require.  Can anyone recommend any online
references?  I have done the tutorial in the HP trailmap.  Can't seem to
find anything else.  Ordered a book, but it will not be here for a while as
it is not yet published, I just learned.  Arggghhh.


Thanks in advance,

- Cody

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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