David G. Friedman wrote:
What is wrong with HSQLDB?
its storing BINARY objects that are bigger than declared?
eg: Photo BINARY(4096)
seems to take even 50K GIFs. a way to fix this?
now i really don't want to start a flame war or any war :) about which
is better (or not)
i checked
On 26/05/05 19:46nbsp;Mariano Petrakovsky wrote:
I'm using Jsf with Struts and Tiles... displaying a header, a tree (at
left) and content.
The tree is big to reaload some time a request begin.
Frame is the my first idea... but... reading I'm found this link
On 27/05/05 16:32nbsp;Michael Jouravlev wrote:
* Because you redirect to output action instead of forwarding, it can
be reloaded anytime as many times as needed, either by javascript or
manually by user.
or
meta http-equiv=refresh content=5; URL=http://where.i.was/;
Just out of sudden...
Have you tried j2 or j1?
-Ursprüngliche Nachricht-
Von: Riyaz Mansoor [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 28. Mai 2005 09:48
An: Struts Users Mailing List
Betreff: Re: [OT] cloudscape/derby
David G. Friedman wrote:
What is wrong with HSQLDB?
Just out of sudden...
Have you tried j2 or j1?
-Ursprüngliche Nachricht-
Von: Riyaz Mansoor [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 28. Mai 2005 09:48
An: Struts Users Mailing List
Betreff: Re: [OT] cloudscape/derby
David G. Friedman wrote:
What is wrong with HSQLDB?
Leon Rosenberg wrote:
Just out of sudden...
Have you tried j2 or j1?
whats j2 or j1 ? ^o
riyaz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.versant.com/products/fastobjects/j2
J2 ist pretty much the same to OODBMS what CLOUDSCAPE was to RDBMS,
except, that you actually don't need to map your object to sql, but store
them as is.
Maybe you want give it a try.
Regards
Leon
-Ursprüngliche Nachricht-
Von:
ahhthanks
web.xml...no DOCTYPE herecould this be a problem??
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance version=2.4
ahhthanks
web.xml...no DOCTYPE herecould this be a problem??
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
Ray,
it's not clear what you are trying to do that is different from
standard. Struts puts the ActionErrors in the request by default. The
Messages too.
I used to know this inside out but it's been a year or so... but I think
the key is like this:
Michael--
Thanks for the suggestion. I tried it but it doesn't work for the
html:hidden tag ... generated error message is According to TLD, tag
html:hidden must be empty, but is not.
I think my best bet is follow the suggestion Wendy made in an
earlier post and set the value
Hi, Ray,
Why is what you are doing superior to the standard? The standard is
something like the following and is very efficient, I think?
table
tr
td
!--
ERRORS
--
logic:messagesPresent
ul
html:messages
Hi there:
Thanks for clicking in first. I use ValidatorForm.
Class Myform extends Vaidtorform{
Various fields go here
}
But I would like to add some my own validation to it. Could I safely use
Validate()
Such as
Class Myform Extends Vaidtorform{
Various fields go here
I can replicate this problem on my laptop as well. When I disable the network
connections, I recieve the same errors. So why does struts need to go to
http://struts.apache.org/dtds/struts-config_1_2.dtd to find the dtds??
So how can I make struts find this file locally.
Thanks
Randall
So, do u agree that the best way to store temporary beans is in the session
context??? Is it the right approach?
I changed the scope of the action mapping to session... But I saw that
reset method is called each time a method inside the action is called... I
work with dispatchaction..
--
Hi Martin,
The important link here is the key for your row (row.id). Establish a way
to pass that to your edit page, via a hidden field, for example, and that's
really it.
Recall (Struts 101) that we preface all pages (JSPs) with actions. ... so
your action can take the ID value that was
Ok, this sounds stupid...but I comment out the following line in my
struts-config.xml and everything works fine.
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd;
I am no longer recieving the
Rafael,
I agree with Michael that the session can be a good tool to use in this
case, but you probably don't want to use it exclusively. It's irresponsible
for us, as developers to assume that storage is not one of our concerns.
Each of us have a fiduciary responsibility to our companies and
Dave,
It's about more than that. You can send some amount of data - couldn't tell
you how much. The important thing is that the response has not been
committed. It sounds to me as if Pauls' response has been committed (due to
sufficient output having been sent).
Essentially, you want to
I know I can populate a drop down using a List as follows:
html:options collection=sales property=label
labelProperty=value/
But to clean things up a bit I'd like to put all my department List(s) in a
map. So the collection would be akin to - departmentMap.get(sales), for
example.
Tarek,
Java provides a standard mechanism for you to tell if the person accessing
your application has a certain permission. This is available through
request.isUserInRole(String). Unfortunately, that only works for
Container-Managed Authentication (CMA). You can make it work without using
I actually agree with Jack on this one. Ideally, you should architect your
application into layers:
+--+
| Application |
+--+
| Business Objects |
+--+
| DAO |
+--+
| Persistence |
+--+
The
You will also find that JSTL, etc., are not really made for coding on
the page and that the efficiency loss is huge.
On 5/28/05, Eddie Bush [EMAIL PROTECTED] wrote:
I actually agree with Jack on this one. Ideally, you should architect your
application into layers:
+--+
|
The View Helper pattern creates presentation *content* which requires
processing of dynamic business data. The forces are that the business
data assimillation requirements are nontrivial, embedding business
logic in the view would promote a copy-and-paste type of reuse, you
want a clean
For the most part I agree with DJ. I am a firm believer in the
separation of concerns and the avoidance of business logic in the
'view'.
BUT the event metaphor clouds the issue and as the thin clients become
rich clients, the need to apply some business logic to enable 'richness'
become the
I'm trying to do some in-container testing of my Actions using
CactusStrutsTestCase. I realize this may be a bit off topic, since it deals
with Ant, the Eclipse IDE, JUnit, and Struts, but I'm hoping there is a
Struts user who has experience something like this and can point me in the
right
I'm trying to do some in-container testing of my Actions using
CactusStrutsTestCase. I realize this may be a bit off topic, since it deals
with Ant, the Eclipse IDE, JUnit, and Struts, but I'm hoping there is a
Struts user who has experience something like this and can point me in the
right
Hyrum wrote:
snip
I am trying to use the Ant 'cactus' optional task in my build.xml. This
fails because Eclipse must have the optional task set in the preferences,
but I can't figure out how to do this.
If I have understood your issue correctly, you need add the jar with the
optional task
From: Randall Svancara [EMAIL PROTECTED]
I can replicate this problem on my laptop as well. When I disable the
network connections,
I recieve the same errors. So why does struts need to go
to http://struts.apache.org/dtds/struts-config_1_2.dtd to find the dtds??
So how can I make struts find
Brett, you were right, and I thought I had added the jar. I had mistyped
it, however. Once I got the name right (cactus-ant-1.7.jar instead of
cactus-ant.jar), it worked. Funny how computers only do what you said, not
what you meant.
Thanks for taking the time to reply. Much appreciated.
Brett, you were right, and I thought I had added the jar. I had mistyped
it, however. Once I got the name right (cactus-ant-1.7.jar instead of
cactus-ant.jar), it worked. Funny how computers only do what you said, not
what you meant.
Thanks for taking the time to reply. Much appreciated.
From: Eric C. Hein [EMAIL PROTECTED]
html-el:options collection=\${departmentMap[\sales\]
property=label labelProperty=value/
Was this pasted in? You have a slash in front of the dollar sign, and the
ending curly brace seems to be missing in the collection attribute. I've
never seen
Thanks for the reference Craig; but unless I'm mis-reading you, that
still leaves me with data lookup 'hard coded' in Java classes. My goal
is to be able to change a page's data requirements without
recompilation. I'll take a look at Shale though and see if it has
anything to help in that
Eric
If you absolutely positively need a quote on each side try
quot;
Viel Gluck,
Martin-
- Original Message -
From: Wendy Smoak [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, May 28, 2005 8:32 PM
Subject: Re: Using html:options tag with a Map
Wendy,
Thanks for your help. I will implement your suggestions. I have only been
using struts for about two weeks, and definitely like everything it has to
offer. Kudos to the struts team and people on this list willing to help a newb
out.
Randall
From:
Thanks Wendy.
I changed the variable names to make the example easier to understand and
must have dropped the closing brace. I learned about escaping special
charaters here:
http://courses.coreservlets.com/Course-Materials/pdf/struts/Struts-and-JSP2-EL.pdf ,
but as you have indicated, it's
Hi,
I have started working in Struts and planned to use Struts and iBatis. I
actually studied Struts thru Reumann's site and when I was abt to use iBatis
in my sample app, his site was down. I want to know
- if there are any good tutorials for iBatis and Struts.
- Any idea when the site might
37 matches
Mail list logo