r u being sarcastic??? I hope u dont...
Anyway... I USED my "whiteboard"... And I have to draw it on my PC in order
to show it... In order to generate my SQL statements... In order to connect
my DB and manage it...
Just looking for somw tools... Just researching... Just learning...
Thanks for ur
Thanx David, Gary.
On 10/4/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> The use-case application's purpose is to demo the requirements of a specific
> feature of Shale. We have not built an example using all the Shale
> features.
>
> Shale is a framework built on top of JSF. It provides value
+1 For a whiteboard, but how inferior do I feel next to Frank. Were not
worthy...
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 04 October 2005 05:25
To: Struts Users Mailing List
Subject: Re: database design
I think the smartest thing I ever did was this...
Hi!
Is there a way to load data (from database or file on
the server) into org.apache.struts.upload.FormFile
object?
Cheers,
Leo
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
Frank:
I agree with you in that a big whiteboard is the best place for
data design.
I had an old boss that used to tell me that if you can't do it
on paper, you can't possibly hope to tell the computer how to
do it.
I think people nowadays are too impatient to design things well.
They just start
I think the smartest thing I ever did was this...
I have an office at home... just one of the bedrooms that is my
sanctuary of geekdom... about 6 months ago we were walking through Home
Depot... no, sorry, Lowes... we were looking for some sort of paneling
to spruce the place up a bit.
What
Rafael Taboada wrote:
Hi folks. When u design a database... What soft do u use?? What's the best??
I use Embarcadero E/R... Is there any program better than embarcadero?
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar
This actually does get me some of the information. Unfortunately since
I'm sticking another servlet (my action) in between, the exception acts
like it's coming from my action. So it appears I may have to go the
route of extending the ExceptionHandler. I was hoping there was a way to
avoid that, but
>
> after long time of scepticism I decided to try out Shale. I downloaded
> the shale nightly and installed it on my tomcat 5.0.28. Somehow it was
> not very satisfying. The struts-shale-usecases runs (or I suppose it
> to run) with a lot of warnings, but dont give the example, an
> applicati
Leon,
The point you made about Shale performing form submissions is more of a JSF
(JavaServer Faces) issue to help it retain state information to properly
generate, validate, and so forth the JSF pages. I don't believe Shale tries
to make JSF navigation any different. I have seen some discussion
On 10/3/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
>
> Oh I see, sorry.
>
> That would be a tomcat thing. I have a suspicion that there may never be
> an exception. Tomcat (or your appserver) is just creating an error -
> that doesn't mean that it actually threw a Java exception.
That's not comple
Well, that's what I would want. The stacktrace.
Class that threw the exception. Exact exception type. Stacktrace.
I thought I'd be able to get at those from within the action forwarded
to by the web.xml.
Preston
>>> [EMAIL PROTECTED] 10/3/2005 4:34:06 PM >>>
Oh I see, sorry.
That would be a t
Oh I see, sorry.
That would be a tomcat thing. I have a suspicion that there may never be
an exception. Tomcat (or your appserver) is just creating an error -
that doesn't mean that it actually threw a Java exception.
I believe that it is merely a status for the http response packet. The
tex
Your previous answer seems to point to the culprit being the call to the
third party software - as you don't have the source then maybe you should
contact the third party to see if they can shed some light on this issue.
I doubt the issue is Struts messing up the reference of the ActionForm
passed
I dont know if this is how you *have* to do it, but it's how I do it...
I have the same requirements you enumerate here, and this is how I
accomplished it. Works very well. What you have essentially is a class
that looks a lot like an Action (but isn't actually one... look at the
execute() si
Right, but even at this point, if I did this, how do I get at the
Exception within the action? The actual exception thrown that lead to a
500 error? That's what I'm trying to figure out. Regardless of how I get
there.
Preston
>>> [EMAIL PROTECTED] 10/3/2005 3:55:12 PM >>>
Yes you could do that,
Yes you could do that, or you could try
404
/error404.do
500
/error500.do
and map them to the same action class with a useful parameter for
mapping.getParameter() - perhaps slightly less coding.
Preston CRAWFORD on 03/10/05 23:10, w
The Http client call is a third party software, unfortunately I don't have
its source code to debug it. I tried to deploy the app in Tomcat 5.0, but
it couldn't run due to some methods missing in the xml parsing library. My
app is just a small part of the overall app, and they are all programmed
Don't use relative address for stylesheet or use or
on the JSP page.
On 10/3/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hello
> I have a jsp page where in i have defined a style
> sheet, when i reload the page, or revisit the page
> from some other link i loose the style sheet, and the
> p
Is this what I have to do?
All I want to do is throw up a default error page that looks like the
rest of the site, but ALSO log the error, no matter what kind it is.
Nothing more.
Preston
>>> [EMAIL PROTECTED] 10/3/2005 3:09:05 PM >>>
What version of Struts are you using? Have a look at this:
Even then, is there any way to get at the exception at self so it gets
printed? The problem is that when you setup web.xml to send it to an
action (I can't figure out a different way to do this that is fairly
simple) it's almost like the app server swallows it for the most part
and passes little in
I can't imagine why that would happen, but, do you define the stylesheet
in the page or link/include it?
Frank
Ashish Kulkarni wrote:
Hello
I have a jsp page where in i have defined a style
sheet, when i reload the page, or revisit the page
from some other link i loose the style sheet, and the
Hi,
after long time of scepticism I decided to try out Shale. I downloaded
the shale nightly and installed it on my tomcat 5.0.28. Somehow it was
not very satisfying. The struts-shale-usecases runs (or I suppose it
to run) with a lot of warnings, but dont give the example, an
application develope
What version of Struts are you using? Have a look at this:
http://struts.apache.org/userGuide/building_controller.html#exception_handler
That's probably the way you want to go, might save you some trouble.
I'm not sure when it was introduced though, so if your a ways behind in
Struts version
At 10:37 PM +0100 10/3/05, Adam Hardy wrote:
Has anybody got any experience of using Hibernate pojos with nesting
& lazy loading in their JSPs in an enterprise app? Are there any
caveats?
Yes, you must be quite careful to preserve an open session throughout
the entire view, or to use Hiberna
Has anybody got any experience of using Hibernate pojos with nesting &
lazy loading in their JSPs in an enterprise app? Are there any caveats?
I have always transfered the data from Hibernate beans into my own form
beans or bespoke view DTOs in my actions, until now.
It seems nice and easy t
Preston CRAWFORD on 03/10/05 21:47, wrote:
I'm trying to setup global exception handling. I have web.xml sending
404 and 500 exceptions to /error.do. In that action I should be able to
get at the exception, shouldn't I? Or do I have to do that earlier in
the process? I simply want to get at the e
Hmm. Good question. Last time I looked, mysql uses ansi sql, right? In
that case, it should work.
Barnett, Brian W. on 03/10/05 20:34, wrote:
Adam,
Does Visio work with MySQL?
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 1:31 PM
To: Str
I'm just wondering if anyone has a workaround or suggestion for the
following "bug":
http://issues.apache.org/bugzilla/show_bug.cgi?id=36687
Properties, request params, request attributes are all null when the file
submitted in the file field is greater than the maxFileSize setting in the
Hello
I have a jsp page where in i have defined a style
sheet, when i reload the page, or revisit the page
from some other link i loose the style sheet, and the
page looks ugly
does anyone know why this happens, and how to resolve
this
It happens in IE and mozilla browser
Ashish
I'm trying to setup global exception handling. I have web.xml sending
404 and 500 exceptions to /error.do. In that action I should be able to
get at the exception, shouldn't I? Or do I have to do that earlier in
the process? I simply want to get at the exception and log it.
Preston
--
No. What information would be useful and relevant? Struts-config? The
form bean itself? The action, the JSP? I didn't want to overload the
list, obviously.
Preston
>>> [EMAIL PROTECTED] 10/3/2005 9:40:37 AM >>>
Preston CRAWFORD wrote:
>Don't really have any instance variables in the actions. Jus
Hey fellows,
Here at my work we use Sybase PowerDesigner. I like it very much.
My 2 cents,
Daniel Silva.
On 10/3/05, Barnett, Brian W. <[EMAIL PROTECTED]> wrote:
> Adam,
> Does Visio work with MySQL?
>
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Monday, Octo
Adam,
Does Visio work with MySQL?
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 1:31 PM
To: Struts Users Mailing List
Subject: Re: database design
Rafael Taboada on 03/10/05 18:22, wrote:
> Hi folks. When u design a database... What soft do
Solution found.
Starting Struts 1.2, contextRelative attribute is no longer used. Instead,
I had to use "module" attribute to define context root of where jsp file
is.
> Hello,
>
> I need help with struts forward with contextRelative set to false. Whan
> ran, the struts prefixes module name i
Rafael-
I assume you have looked at E/R Studio?
http://www.embarcadero.com/downloads/downloaderstudio.jsp?Tracking_ID=409&Tracking_Code=Google2
Saludos,
Martin-
- Original Message -
From: "Rafael Taboada" <[EMAIL PROTECTED]>
To: "Struts List"
Sent: Monday, October 03, 2005 1:22 PM
S
Rafael Taboada on 03/10/05 18:22, wrote:
Hi folks. When u design a database... What soft do u use?? What's the best??
I use Embarcadero E/R... Is there any program better than embarcadero?
microsoft visio. would use a linux tool but haven't found one. i prefer
the way visio allows you to rou
Mahmoud-
If your webapp is called foo, create a file
$TOMCAT_HOME/conf/Catalina/localhost/foo.xml
You will need to match the exact name of the identified resource contained
within foo.xml
later on you will reference
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lo
> />
>
> Is this possible?
Yes, If you use and tags as in
> It will not format some values unless I declare them as primitive values.
> As soon as I change numTons on the release object it formats fine.
>
Interesting. The tag will use the PropertyUtils.getProperty()
to the value for that property and then format it. The getProperty() of
PropertyUtils re
Hi,
In one of our STRUTS Application, we provide excel download for the
users in worldwide.
We get all the data from data layer and write that string-buffer into
the client using the content type as follows.
response.setContentType("application/ms-excel;");
response.s
Hi folks. When u design a database... What soft do u use?? What's the best??
I use Embarcadero E/R... Is there any program better than embarcadero?
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Try VTSurvey at
http://vtsurvey.sourceforge.net
J.
-Original Message-
From: Rafael Taboada [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 12:10 PM
To: Struts List
Subject: Polls,Surveys
Hey guys, I'm looking for any Poll/Survey systems. Do u know any system
about how to crea
Is the myArrayList on the ActionForm that's causing the problem?
If so, Assuming that other users make changes to that ArrayList when they
change the state in their form, I would check and make sure that the
"myArrayList" is not static or is not getting populated from a singleton
source.
On 10/3
Hi,
I have written a plugin for a Struts app which accesses a DB connection via
a datasource. The datasource is defined in the Tomcat server.xml file, and
is loaded via a library we wrote. I know the datasource works fine because I
can access if from other classes in the app. But when I start up T
Preston CRAWFORD wrote:
Don't really have any instance variables in the actions. Just the logger
and some static member fields brought in via an interface that aren't
used for this example.
Servlets? Filters?
There's (essentially) zero way for a session-scoped data to get injected
into so
Murray,
I'm with Martin. I'd be more likely to skip your call to createQuery():
session.createQuery("from com.pancakes.website.controller.form.SectionForm
order by seq").list();
And instead use something like this:
session.find("from SectionForm s order by s.seq").list();
Why? You shouldn't
From: "Vince Law" <[EMAIL PROTECTED]>
Sent: Monday, October 03, 2005 9:09 AM
> Niall,
>
> I am using Struts 1.2.7.
> Tomcat 5.5.9
> OS - Window XP professional (with Service Pack 2)
>
> I tried what you suggested me:
> ProgramGroupForm pgForm =
> (ProgramGroupForm)request.getAttribute(mapping.getAt
Hey guys, I'm looking for any Poll/Survey systems. Do u know any system
about how to create polls/surveys???
Thanks in advance
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Don't really have any instance variables in the actions. Just the logger
and some static member fields brought in via an interface that aren't
used for this example.
Preston
>>> [EMAIL PROTECTED] 9/30/2005 7:52:29 PM >>>
If the ActionForms are truly in session scope then the shared state
isn't i
Sorry about the top-posting. I need to get GroupWise figured out so I
can have it act like other email clients.
Anyway, yes, I'm sure of this. There are no instance variables in our
actions. I test my arraylist on my Form Bean to make sure it's not
empty, then I iterate through it.
So for exampl
Hi everyone.
Sorry for the OT question, but I just tried to google a web frontend
to OLAP in java, and it always return just JPivot and openI. Did you
guys know other web frontends for BI, that returns BSC like monitors
and decision cubes?
Thanks in advance
Rafael Mauricio Nami
-
Good Morning Murray-
At first glance
The query parameter in the session.createQuery method does not seem to be
formulated properly and appears not to be SQL92 compliant
based upon the example provided here
http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/worked-example.html
Anyone
Please bear with me - I'm new to struts.
I've been to the link provided by Kishore, but this implies I have to obtain
my parameters from a Java bean. I want to create the message in my JSP, with
i18n, similar to the following:
And without the use of scriplets, as in:
<%
String myMsg = "Server
Please visit http://www.roseindia.net/struts
"Pentareddy, Marreddy (US - Hyderabad)" <[EMAIL PROTECTED]> wrote:I am new to
struts ..
Please give idea abt setting paths and war files to copy.
Marreddy.p
-Original Message-
From: Tamas Szabo [mailto:[EMAIL PROTECTED]
Sen
In that case the scope of the variable is only to that particular session. If
some one else logins and the same action is getting called then the data will
be available in a separate session. If there is a concurrent access then you
need to check how you are creating the session object also. ve
well, I just make use of session.setAttribute(),
How will it become global variable?
2005/10/3, Murugesan, Kathiresan (Cognizant)
<[EMAIL PROTECTED]>:
>
> it won't share until you have "userPrivileges" as global variable in your
> action class.
>
> Regards
> Kathir.
>
> ___
it won't share until you have "userPrivileges" as global variable in your
action class.
Regards
Kathir.
From: ??? [mailto:[EMAIL PROTECTED]
Sent: Mon 10/3/2005 1:32 PM
To: Struts Users Mailing List
Subject: Is session.setAttribute unique for all sessions?
In
Niall,
I am using Struts 1.2.7.
Tomcat 5.5.9
OS - Window XP professional (with Service Pack 2)
I tried what you suggested me:
ProgramGroupForm pgForm =
(ProgramGroupForm)request.getAttribute(mapping.getAttribute());
pgForm.getType();//same problem, returned "null"
pgForm.getDescription();
In an Action, an attribute is set by
session.setAttribute("Privileges", userPrivileges);
If another session logins and the same Action is called again,
will the two sessions share the same attribute?
Thanks
-
To unsubscribe, e-m
I have been using Struts extensively in my applications for several years
and recently noticed some strange behavior. I format numbers and dates as
follows:
This is used in hundreds of places throughout my application and works fine
if the value is java.lang.Double, but recently this sta
61 matches
Mail list logo