Just set the stuff that I had in my batch file, i.e. PATH and
CLASSPATH with JAVA_HOME and the jars.
Jack
On Wed, 22 Dec 2004 02:42:03 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> You set the wrong variable in Windows. You need to set CLASSPATH to include
> the lib directory, various t
Is it possible to display the output as an applet in struts? if so how is it
possible ?
Thanks ,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks to all, will try it out now
Thanks once again
Manisha
Dakota Jack <[EMAIL PROTECTED]> wrote:
Just set the stuff that I had in my batch file, i.e. PATH and
CLASSPATH with JAVA_HOME and the jars.
Jack
On Wed, 22 Dec 2004 02:42:03 -0500, David G. Friedman
wrote:
> You set the wrong v
where can i get the API's for the packges in struts (e.g beanutils) to
download, i am not always online when i am doing web development, and i need to
reffer to them. the ones i have found are all online.
on the jakarta-struts.war, unzipped it. Go to the webapps/
On Wed, 22 Dec 2004 09:45:51 +0100, Olasoji Ajayi <[EMAIL PROTECTED]> wrote:
> where can i get the API's for the packges in struts (e.g beanutils) to
> download, i am not always online when i am doing web development, and i need
> to re
that only contains the ones for the struts packages, i need the ones for the
rest of the packages in the struts lib folder like the commons packages
especially the beanutils
- Original Message -
From: "Neil" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: We
Struts is really fairly Applets agnostic, Jay. You don't have to make
any connection with Struts to do Applets. I don't know if there is
some special code out there tangential to Struts but connected, like
Struts file upload.
Jack
On Wed, 22 Dec 2004 14:05:49 +0530, Jay Chandran
<[EMAIL PROTEC
Hi Jay,
You can have an applet client, which talks to struts on the server side
and displays the values. In this case, your client GUI should be applet
and from the applet, you can communicate with struts action class. Use
DTO's as data carriers between the client and Servlets. Try searching
for a
Thanks Ram and jack .. :-)
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 22, 2004 3:13 PM
Subject: RE: Displaying applets
Hi Jay,
You can have an applet client, which talks to struts on the server side
and displays the values. In this c
You should be able to find the docs in the binary downloads for the
commons components in question.
http://jakarta.apache.org/site/binindex.cgi
I find its often helpful to have a copy of the source to hand as well.
http://jakarta.apache.org/site/sourceindex.cgi
Olasoji Ajayi wrote:
that only cont
Hi,
I am moving some sites from static apache servers to tomcat & struts
servers.
I need to preserve some legacy links from older versions of the sites,
which have since been moved. This has previously been done with htaccess
and the Redirect command.
E.g.
Redirect/docs/index.html http://w
You can download a source distribution or check it out from CVS/SVN
and then build the docs as normal. I don't think the commons
projects distribute generated doc, but most of them use Maven, so if
you have Maven installed and check out from CVS, you can just use
"maven site" to generate a loc
Hi,
I am looking for a "Best practice" of using the ActionForms. We are using
lot of Forms(both ActionForm and DynaActionForms) in our application. All
these Forms share some common properties and some validation logic is also
common.
Currently we are using the Inheritance in the ActionForms, to s
On Wednesday 22 December 2004 02:29, Dakota Jack wrote:
> There actually are a lot of things you can do with this that are not
> obvious and are consistent with what seems to be impossible. You can
> actually get around almost all of the restrictions on type='file'> without breaking security. Yo
Hi all
I have the following jsp layout for my pages
Included header.jsp
STRUTS PAGE
Included footer.jsp
Now in the header.jsp I have my site logo and I also want to add
breadcrumbs. I want to establish and maintain a session throughout the app
and if the session is invalid i want to r
To be fair, Derek, you are following a long tradition. I think there
was even a challenge on the Internet to do this. However, you are
wrong. I DO it all the time. You need to think out of the box. I
have given you the solution. I can give you code, but it is
interesting and instructive (to m
On Wed, 22 Dec 2004 14:59:04 -, Donie Kelly <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have the following jsp layout for my pages
>
> Included header.jsp
>
> STRUTS PAGE
>
> Included footer.jsp
>
> Now in the header.jsp I have my site logo and I also want to add
> breadcrumbs. I want to est
Since the form you'd need to retrieve is named depending on the main page
content, you won't know that information in the header (not easily anyway).
I mean, think of it this way... when your page is converted to a servlet, the
header code is included in with the main page, and then the footer,
On Wed, 22 Dec 2004 08:38:39 -0800 (PST), [EMAIL PROTECTED]
>
> (Caveat: I may be wrong about all this :) )
>
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
Frank, you are a hoot. ;-) You must be great to have as a work partner.
I
Yes, if the enjoyment I cause my wo-workers was worth money, I'd be a rich man
indeed. My wife would have her new car and I'd have my 60-inch plasma TV. Oh
well, back to reality :(
The way I read the original post is that he wanted to have some common code in
header.jsp access the form associ
Andrew,
BINGO! I looked back, and indeed, the property in question has multiple
getters/setters. I'm going to modify the names of the extraneous
getters/setters and see if this makes a difference.
Thanks for the tip!
Mike
Andrew Hill wrote:
Ive not seen your code so Ive no idea if this is what y
Plasma TV? Not a new copy of Java Today? LOL ;-)
The form has a name from the mapping. Whatever servlet, html, etc.
you have is going to reflect that form, right? What you want to do is
manage the RESPONSE not the REQUEST, right? The form is not in the
request but in the response.
The heade
This is my first time having someone else do the page design. I'm thrilled
to have someone else do it, but they use DreamWeaver and I'm not sure what's
going to happen if it sees . Then there's the fun of JSTL
tags embedded within HTML tags, which works fine but can't exactly be
considered valid
Try using Velocity insteald of JSP. Velocity works much better with
Dreamweaver and the Velocity guys have put together the Velocity
Struts Tools which should make the conversion easier.
Don
On Wed, 22 Dec 2004 12:02:21 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> This is my first time havin
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 22, 2004 12:02 PM
> To: Struts Users Mailing List
> Subject: Struts and DreamWeaver
>
>
> This is my first time having someone else do the page design.
> I'm thrilled
> to have someone else
+1
Headaches galore if you give an inch on this one, in my experience.
Jack
On Wed, 22 Dec 2004 12:10:52 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 22, 2004 12:02 PM
> > To
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 22, 2004 12:14 PM
> To: Struts Users Mailing List
> Subject: Re: Struts and DreamWeaver
>
>
> +1
>
> Headaches galore if you give an inch on this one, in my experience.
I forgot to ment
I'm gonna give a small bump here, cuz I'm really still troubling with
this (for work). So if anyone have any idea or any other approach, please...
Tnx,
Ritchie
Ritchie Warsito wrote:
Hi I'm new to all of this. I'll try to keep it clear.
I've playing around with tiles in a struts application that
From: "Jim Barrows" <[EMAIL PROTECTED]>
> If you're paying them... who cares? It's your dime, your way or the
highway :)
Nope, it's another department on campus. There is no contract, and no clear
lines of ownership... I could have taken over the entire thing but I hate
doing layout and page des
Hello everybody,
Since TEXTAREA doesn't have a MAXLENGTH attribute (which is quite useful, by
the way), I wanted to implement my own solution using behaviours (hfc) to
alter the standard TEXTAREA element. However, I've realized that this is not
compatible with Struts' tag, since TLD validation thr
I performed a quick tweak of the JSP, but still get the same error.
After more inspection, though, I think your assessment is on target.
There are a handful of places where the accessor methods are overloaded
(needlessly), and they typically correspond to my problem properties. I
will need to d
Ritchie,
Have you tried adding redirect="false" on your elements? This
will make sure all action chaining stays within the request and DOES NOT
make client redirects which would lose data. Also your "/accOptions" as a
double left arrow "<<" (syntax error).
Regards,
David
-Original Message
On Wed, December 22, 2004 1:56 pm, Dakota Jack said:
> Plasma TV? Not a new copy of Java Today? LOL ;-)
No self-respecting geek would choose the magazine! :)
(self-respecting geek... talk about an oxymoron!)
> The form has a name from the mapping. Whatever servlet, html, etc.
> you have is g
Solution: Don't use the Struts tags. :)
Seriously, people tend to forget (or don't know to begin with) that they are
NOT required to use Struts.
Alternatively, limit the input via Javascript as an onKeyDown event handler.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Techno
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 22, 2004 12:31 PM
> To: Struts Users Mailing List
> Subject: Re: Struts and DreamWeaver
>
>
> From: "Jim Barrows" <[EMAIL PROTECTED]>
> > If you're paying them... who cares? It's your dime, y
At 4:29 PM -0300 12/22/04, Ritchie Warsito wrote:
I'm gonna give a small bump here, cuz I'm really still troubling
with this (for work). So if anyone have any idea or any other
approach, please...
Tnx,
Ritchie
you can remove your DoTiles action and use the name of a tiles
definition in the "path
I completed a non-Struts JSP project with a designer who used
DreamWeaver. I hooked him up with the Tortoise CVS client, and we didn't
have any problems. Occasionally I would find tabs blown out, that was
about it. The HTML was fine. The site is in production and works in IE
and Mozilla. He tol
Hello all... I have a situation where I have to insert a path into a Javascript
call, like so:
");">
Problem is, on Windows anyway, the path includes a backslash, so when rendered
you get for example:
A:\
The filtering in probably only escapes characters that
have significance in HTML, not JavaScript. Since 'A:\' doesn't need to
be escaped in raw HTML content, it doesn't do anything with it.
[EMAIL PROTECTED] wrote:
Hello all... I have a situation where I have to insert a path into a Javascript
That's indeed what I suspected, but I was hoping...
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Wed, December 22, 2004 3:14 pm, Jeff Beal said:
> The filtering in probably only escapes characters that
> have significance in HTML, not
How about:
This gets around the problem of not escaping the
back-slash altogether.
-- Jeff
[EMAIL PROTECTED] wrote:
Hello all... I have a situation where I have to insert a path into a Javascript
call, like so:
");">
Problem is, on Windows an
Hmm, gotta admit you lost me Jeff... is nodeValue a property of an anchor tag?
I don't see it in my references...
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Wed, December 22, 2004 3:16 pm, Jeff Beal said:
> How about:
>
> property
You DID put me on to one answer though... I can pass this.innerText, that
works. I'd still like to know what the nodeValue was though, I've never seen
that...
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Wed, December 22, 2004 3:25 p
nodeValue is part of the W3C DOM. (See
http://www.w3.org/TR/DOM-Level-2-Core for the full specification.) The
W3C DOM is a language-neutral specification for accessing a document
object model, whether HTML or XML. The org.w3c.dom package in Java 1.4
is an implementation of the standard for X
Yes, Frank. Believe it or not, I know what u mean and I agree with u. ;)
However, in this case, that would mean I'd have to rebuild views (JSP) which
were tightly coupled to Struts tags/forms (time constraints at that time)
and that would take a while.
Indeed, for the moment, I'd decided to use p
Interesting... The latest O'Reilly Dynamic HTML book, which is usually
exceptional in it's completeness and quality, doesn't seem to mention that.
Maybe it's just not layed out how I would have expected and it's in another
part of the book.
In any case, thanks for the info, and for the gentle
Jim Barrows wrote:
DreamWeaver should support the tags, and ignore the JSTL. My biggest worry with DreamWeaver would be the HTML code the thing generates. Typically it's pretty abysmal. I have marketing people who generate better HTML then DreamCleaver does.
I don't know what version of DreamWea
Another consideration is that, I believe, .htc's are IE-only. At least, I
think that was the case when I built an app using them a year or two ago. Has
that changed? If not, is being tied to IE an issue for you?
I'd be interested to know if this is across-browser solution, just for my own
kn
Wendy Smoak wrote:
Ugh, the first thing they sent was a solid block of tags. I
explained the virtues of external style sheets and sent it back. From the
other messages, it sounds like I'm better off doing it myself. :/ I'll try
to get a clean formatted example out of them and just use that. Th
If you don't mind parting with a few dollars you can buy the equivalent of a
Struts Plugin for Dreamweaver.
http://www.fwasi.com/products/
All the best
Matthew Ryan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
What are the differences among ValidatorForm,
DynaValidatorForm, and DynaValidatorActionForm? And
when to use each of them?
__
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
http://celebrity.mail.yahoo.com
---
ValidatorForm is not a DynaForm, which means to use it, you should
create a class that extends it, and define your properties as instance
variables the way you would if you were to extend ActionForm.
However, you could define validation rules through Validator and so
your form won't have to implem
Frank,
Donie is getting more than was planned for out of us.
First, to be fair to Donie, the answer to his problem is clear. We
are discussing somethings that are unnecessarily far afield. A
servlet can clearly know its own name. And, since the servlet creates
the response object and the htm
It is glad to know that it can be done. But I do not know how to do it.
On the right side, the web page shows words like "Home", "Ricks"
and "Trivera". How can I put images instead of words?
The following is my tiles-defs.xml and controller.
tiles-defs.xml:
public class MyMenuAction impleme
Thanks for your help Eddie! Regex worked perfect.
I had given up hope on getting right regex.
Thanks Again!
- Original Message -
From: "Eddie Bush" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 20, 2004 12:12 AM
Subject: Re: Struts Form Vali
Jack
On Thu, 23 Dec 2004 09:37:44 +0800, PC Leung <[EMAIL PROTECTED]> wrote:
> It is glad to know that it can be done. But I do not know how to do it.
> On the right side, the web page shows words like "Home", "Ricks"
> and "Trivera". How can I put images instead of words?
> The following is my
New to struts -
Downloaded the struts and testing one simple html form. I am finding .tlds and
.jars files in 2 directory
1)One inside {struts installed dir}/lib
2)Second one inside {struts installed dir}/contrib/struts-el/lib
First of all why these 2 locations and what's the difference ? Norm
LOL - I'm glad it's what you're looking for. Consider it my Christmas
present to you. Now, what'd you get ME? ;-)
I still don't recommend your approach :-) You might wind up rejecting
peoples' names because they don't fit your regexp!
Good Luck!
On Wed, 22 Dec 2004 20:41:52 -0500, [EMAIL PROT
Hi Vijay,
Comments intermixed.
On Wed, 22 Dec 2004 08:51:16 -0500, Vijay K Dasari
<[EMAIL PROTECTED]> wrote:
> Hi,
> I am looking for a "Best practice" of using the ActionForms. We are using
> lot of Forms(both ActionForm and DynaActionForms) in our application. All
> these Forms share some commo
If you want to use the "EL" versions of the tags then use the second,
otherwise use the first.
The "EL" versions allow you to use expression language in a Servlet 2..3
environment If your using Servlet 2.2 then you can't use them and if your
using Servlet 2.4, then you don't need them because the
Thanks a lot, prety clear to me
regards
Manisha
Niall Pemberton <[EMAIL PROTECTED]> wrote:
If you want to use the "EL" versions of the tags then use the second,
otherwise use the first.
The "EL" versions allow you to use expression language in a Servlet 2..3
environment If your using Servlet 2.
There is a prepareOtherAttributes() method that you can override to add
attributes you require, so you could easily create your own custom
implementation that extends TextareaTag. You would have to either modify the
struts tld to use your custom implementation and add the maxlength
parameter - or s
Dakota Jack wrote:
Frank,
Donie is getting more than was planned for out of us.
We're like that Scottrade dude that builds the log cabin for his buddies
in that commercial :)
Before I go any further, let me be sure you understand something... If
anything I say comes across like I'm talking do
Hi,
I have a problem regarding naming an excel
when it is saved and have control to name the worksheet name in the excel.
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","attachment;filename=xlProduct.xls");
now iam able to name th
See within:
On Thu, 23 Dec 2004 00:16:57 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
>
>
> Dakota Jack wrote:
> > Frank,
> >
> > Donie is getting more than was planned for out of us.
>
> We're like that Scottrade dude that builds the log cabin for his buddies
> in that commercial :)
>
look at this page ( search for "naming" )
http://www.mrexcel.com/td0007.html
[EMAIL PROTECTED] wrote:
Hi,
I have a problem regarding naming an excel when it is saved and have
control to name the worksheet name in the excel.
response.setContentType("application/vnd.ms-excel");
response.setHe
Are you using any wrapper classes for creating an Excel document.?
[EMAIL PROTECTED] wrote:
Hi,
I have a problem regarding naming an excel when it is saved and have
control to name the worksheet name in the excel.
response.setContentType("application/vnd.ms-excel");
response.setHeader("Cont
Hey this is new to me plz send me how u r creating the excel sheet..
I ll appreciate for it
Regards
Shiva
On Thu, 23 Dec 2004 11:42:31 +0530, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
>
>
> I have a problem regarding naming an excel when it is saved and have control
68 matches
Mail list logo