Read Lesson 1 in
http://www.ftponline.com/special/j2ee/modi1/default.aspx which concurs
with the views expressed by all the other posters
On Wed, 29 Dec 2004 16:13:14 -0800 (PST), Manisha Sathe
<[EMAIL PROTECTED]> wrote:
> Thanks to all, I will do both, i.e. Javascript (w/o DynaAction - i hope th
Read Section 5.3 in http://struts.apache.org/userGuide/configuration.html
On Tue, 28 Dec 2004 10:13:17 +0530, Amit Kumar Sharma
<[EMAIL PROTECTED]> wrote:
> Dear All,
>
> We have an existing project where the size of struts-config.xml file is
> ever increasing the struts version we are using is
Avoid Javascript the way a politician avoids a lie detector
bit redundant mate - you can already tell they're lying because their
lips move... no detector required ;-)
Jim Barrows wrote:
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004
As I recall, the wrapper is actually initialised together with the
population of the form. No form no population. No population no wrapper
population.
Quickest workaround is to use specify a 'dummy' form for the mapping.
Just whip up an empty form class, or specify an empty dynaform in your
co
Have you tried using the getAllElements() or getTextElements() methods to
figure out what was given to the MultiPartRequestWrapper? You mentioned
HttpRequest, but don't you mean HttpServletRequest? That could make a big
difference. Also, how are you getting this "wrapped" request?
Regards,
Davi
Thanks Dave,
I am not using log4j or common-logging. I am dependent only on std.out, std.err
and other logs produced by tomcat in CATALINA_HOME/log directory.
Please help.
Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-Original Message-
From: Durham Davi
if the problem is after executing the sql statement then u might not closed
the connection properly. its always good to close the resultset, statement
and connection. If ur action file does not close the sql connection the
system hangs.
- Original Message -
From: "Nadia Kunkov" <[EMAIL PR
Hi,
1) parameter replacement.
Is there any mechanism to have more complex parameter replacement in
messages, e.g. using the commons-bean property syntax (or velocity syntax)
user with username '{0}' successfully registered with id '{1}'
user with username '${user.username}' successfully registere
Then you have the apparent fact that by doing so you are now outside the Java provided i18n stuff,
when you mention 'java provided i18n stuff' are you referring to the
message resources features in struts (message bundles, locales etc)? or
have I missed another java feature somewhere?
So, you ga
Thanks to all, I will do both, i.e. Javascript (w/o DynaAction - i hope this
should be fine) and Serverside validation inside ActionForm.
regards
Manisha
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hi,
I'm running tomcat4.0.4 on a Fedora core 1 box.
I'm bulding an application with struts and I came across a problem.
Every time my app has a problem like not finding the proper forward or problem
with a sql statment my app hangs.
When I fix the problem and go to restart the Tomcat it doesn't s
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 11:26 AM
> To: Struts Users Mailing List
> Subject: Re: Deployment Problem -
>
>
> Thanks. With the "page" parameter it works perfect!
>
> Yes, I will try to upgrade to 1.2 in the near
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 11:18 AM
> To: Struts Users Mailing List
> Subject: Re: message resources in db
>
>
> My reasoning for what I've done is:
> a) it scratches my own itch
> b) it scratches many other
Thanks. With the "page" parameter it works perfect!
Yes, I will try to upgrade to 1.2 in the near future the
problem is : the software is due in two weeks and I still
got some other problems to worry about.
Anyway, anything special to think of when doing the upgrade?
Jim Barrows schrieb:
-Ori
> -Original Message-
> From: Jim Barrows [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 8:15 AM
> To: Struts Users Mailing List
> Subject: RE: message resources in db
>
> > -Original Message-
> > From: Nathan Coast [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday,
My reasoning for what I've done is:
a) it scratches my own itch
b) it scratches many other peoples itch
My work did not stop with OJBMessageResources. I have several
Database-based Impls of commons-resources sitting on sf.net that are ready
for release as soon as common-resources goes 1.0.
When
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 10:05 AM
> To: Struts Users Mailing List
> Subject: Re: Deployment Problem -
>
>
> Allright. Now I get it!
>
> The only problem is in Struts 1.1 (which I wrote the
> application in) t
This question is entirely dependent on what environment your developing for.
95% of my work these days is internal-only applications where we have,
basically, a "captive" audience: IE and nothing else, configured from a
central location and locked down. For me, I can do thing that I would
never
Allright. Now I get it!
The only problem is in Struts 1.1 (which I wrote the application in) the
parameter "action" does not exist in the tag.
What can I do in this case?
Peter
Jim Barrows schrieb:
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29
> -Original Message-
> From: uma.k [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 8:02 AM
> To: 'Struts Users Mailing List'
> Subject: Cannot find bean under name dbCategories
>
>
> Hi,
> I get this exception when I try to use html:options with
> collection="dbCategories".
dang... that's a bummer. I guess it's something in my code. But, i
can't see it. The Exception is where it is supposed to be in the
request ActionErrors and when i place text next to my html:errors tag
it shows up. This is weird. Anyone else have this issue with 1.2+?
Brandon
On Wed, 29 Dec 200
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 9:43 AM
> To: Struts Users Mailing List
> Subject: Re: Deployment Problem -
>
>
> Hello Jim,
>
> well, I got a logical name mapped to it:
>
> input="/WEB-INF/JSP/strut
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 12:44 AM
> To: user@struts.apache.org
> Subject: Which methodology is better?
>
>
> I am very used to HTML/JavaScript. Normally i do all
> validations on clientside through JavaScr
Hello Jim,
well, I got a logical name mapped to it:
input="/WEB-INF/JSP/struts.jsp"
name="postHvForm"
scope="session"
validate="true"
type="de.ktbl.servlets.PostHv">
contextRelative="true"/>
When I simply inv
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 7:49 AM
> To: Struts Users Mailing List
> Subject: Re: Struts versus Version versus MyEclipse I'm lost.
>
>
> You are using incompatible TLDs.
>
> You haven't stated what "Eclipse
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 6:32 AM
> To: Struts Users Mailing List
> Subject: Deployment Problem -
>
>
> Hello ,
>
> I developed my application in an IDE which simulated
> that the application was in the top fol
I'm using a without ActionForm's.
In my Action code I get the HttpRequest wrapped inside a
MultiPartRequestWrapper. However the getParameter()-methods return null for
every form field!
I've double and triple checked that I didn't misspell my variable names.
What could be wrong?
> -Original Message-
> From: Nathan Coast [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 4:17 AM
> To: Struts Users Mailing List
> Subject: message resources in db
>
>
> Hi,
>
> Has anyone developed message resources that pulls messages
> from a db? I
> have followed a
Jakarta POI works great for binary Excel. And if you are a glutton for
punishment, you can write to the Excel XML format. It is torturous to do
so but it does indeed work. And in theory MS is headed in that direction.
--Marty
--- Derek Broughton <[EMAIL PROTECTED]> wrote:
> On Sunday 26 Dec
Hi,
I get this exception when I try to use html:options with
collection="dbCategories".
This is what I am doing
index.jsp
Article
my struts-config.xml
Template.jsp
...
...
My ArticlePreviewAction.java
dbCategories = dbBean.getCategoriesForArticle(myConnection);
reques
http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=76369
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesda
You are using incompatible TLDs.
You haven't stated what "Eclipse" you are using. Last time I checked,
Eclipse was JSP-stupid, so unless you meant to say "MyEclipse" or some other
Eclipse-based IDE, I can't help you with that.
I can tell you that the action attribute was added just after Struts
Hello ,
I developed my application in an IDE which simulated
that the application was in the top folder. When I deploy
my application now it is an subfolder.
The problem is: The redirects don't work anymore!
If do it in simple HTML :
I can get an clean forward. The same with redirect tag:
just re
On Sunday 26 December 2004 23:53, Eddie Bush wrote:
> Actually, you can export text an HTML table to Excel too -- just lie
> and tell it the data is of type "application/excel" and then give the
> filename as per above.
>
> ... handy :-)
but horribly slow :-(
--
derek
---
Hey Brandon,
That's a weird report. I never had problems doing so with Struts 1.1.
What i do is:
1) In my exception jsp page, i use tag.
2) Add an entry to the resource bundle (application.properties)
3) Add the declarative exception handling in my action mapping, like bellow:
Hi,
Has anyone developed message resources that pulls messages from a db? I
have followed a few links that discuss this but can't find any code:
http://wiki.apache.org/struts/StrutsMessageResourcesFromDatabase
these docs mention org.apache.struts.util.OJBMessageResourcesFactory but
I can't find
Hello Badu,
you were right. The problem was that the code got way to
complicated. The source of the "funny" behaviour was that
I didn't clear the HashMap on the first page after I forwarded
to the next one. That resulted in a ping-pong game meaning
that everything I deleted on page two wasn't reall
Well one thing is mandatory:
You must ALWAYS validate on the server side - regardless of whether
there is clientside validation as well or not.
This is because you cant trust what comes in over the wire. It _may_
come from that page you rendered out nicely with all the javascript, or
it may be
38 matches
Mail list logo