hi,
i am in swing based project .How to use Juint
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Norm ha scritto:
Is there any tile caching mechanism available, or, should we develop some sort of cache
before we go to the business tier so we can redraw all of the tiles anyway? I would like to make a
tile sticky when the app knows there is no need to refresh it on any particular
Hello.
I tried my best before posting this and searched through the archives, but
couldn't find anything on this.
I recently came across a team which was doing something which seemed a
little weird more from a designer's (purist?) perspective.
After processing a request, the Action would
Use the following action specific forward in struts-confing.xml file.
action ...
forward name=success
path=/diceSetUp.do?dispatch=diceWebSetUp/
/action
I am sure , it will work fine.
Let me know the results.
Thanks and Regards,
Krishna Mattam
Team Member - CDF
Saurabh Bobde ha scritto:
After processing a request, the Action would simply return a null
ActionForward, like so: return (null);
One of the scenarios why/where they were doing this was, they needed to
write to the response directly.
I've seen this in Struts-Layout, where they send the
Hi Troy,
What you need to is have an index.jsp, specify the index,jsp in your
web.xmllike tihs
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
after that you need to code your index.jsp like this
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
hi Steve,
I had a look at your code snipets and they seem right, this can be stupid to
mention but just check on your war file to see if the tiles-defs.xml is
copied under the WEB-INF/ directory,sometimes this are little mistakes that
we make.
On 3/9/06, Hilton, Steve [EMAIL PROTECTED] wrote:
hi Steve
did you include the your tiles-defs.xml in the web.xml so that its loaded
when your ActionServlet starts up. asn the following
init-param
param-namedefinitions-config/param-name
param-value/WEB-INF/tiles-defs.xml/param-value
/init-param
On 3/10/06, Oshima
Hi guys!
I'm writing an admin webinterface for a web store at the moment,
the put-new-product part.
SITUATION: I have some product attributes like Information Blocks and
Product Details, which are 0..n, so I'm able to delete these, or
create new.
PROBLEM: The problem is, every time I delete
yeah better to use Abbot, or Jemmy or jfcunit..
They are extensions of JUNIT so you can get online documentation by a bit of
googling.
regards,
Anshuman
-Original Message-
From: gomathi [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 1:21 PM
To: Struts Users Mailing List
On 3/10/06, Saurabh Bobde [EMAIL PROTECTED] wrote:
After processing a request, the Action would simply return a null
ActionForward, like so: return (null);
One of the scenarios why/where they were doing this was, they needed to
write to the response directly. (For eg, returning the contents
I have the following code in jsp.
html:textarea name=empOtherDevFocusBO cols=512 rows=3
property=focusText /
Here I am enterd the following text:
Test
Test.
Note:I typed Test and then enter key then tab then Test.
After I submit the html:form , it stores the value perfectly in DB.
After
At 8:23 AM +0100 3/10/06, starki78 wrote:
Hi I made thoughts about filters
(javax.servlet.Filter)
e.g. use them for logging
and performance measuring purposes.
Now as we are using struts I would like
to know if you can, and if it makes
sense to assign a filter to an action.
Can someone help me
Yes I also come to the conclusion that it doesn't fit optimally,
but it's always worth making such considerations to come to new solutions!
Thanks for your input
Starky
-- Initial Header ---
From : Joe Germuska [EMAIL PROTECTED]
To : starki78 [EMAIL
Krishna, Mattam (M.) a écrit :
I have the following code in jsp.
html:textarea name=empOtherDevFocusBO cols=512 rows=3
property=focusText /
Here I am enterd the following text:
Test
Test.
Note:I typed Test and then enter key then tab then Test.
After I submit the html:form , it stores the
On 3/9/06, gomathi [EMAIL PROTECTED] wrote:
Hi
how to test java application in junit.Is there is any example for test.how to
give each class into junit for testing
The MailReader application for Action 1.3 is a fair example of how to
approach unit testing in a web application environment.
*
At 2:55 PM +0100 3/10/06, starki78 wrote:
Yes I also come to the conclusion that it doesn't fit optimally,
but it's always worth making such considerations to come to new solutions!
And speaking of new solutions, it's worth pointing out that in Struts
1.3 you can use the commons-chain API to
On Mar 10, 2006, at 3:00 AM, Antonio Petrelli wrote:
By the way, why are not you using portlets?
That was my thought as well. It sounds like a portlet environment is
more like what you are looking for.
Greg
-
To
It's friday,
Ouftil Adrach (local belgian goddess) struck again. It's raining hard
outside and i will need to get out and catch the train that will lead me
back to week-end. I want to mention the Brussels international fantastic
film festival has started today and i will be there all saturday
gomathi wrote:
i am in swing based project .How to use Juint
Yeah, well, I'd probably check out a jUnit book then. If you're
interested in testing the GUI portion then you'll probably need some
sort of add-on that will pretend it's a user.
Just out of curiosity, what led you to ask this
From: Dakota Jack [EMAIL PROTECTED]
You must have a very small book.
Well, everyone know that your book is the biggest. Don't worry, I won't cross
over your bridge, Jack.
Gary
In my book, as long as it has the three basic principles of encapsulation,
inheritance and
As Joe pointed out, there is no problem using filters with Struts. As Joe
also pointed out, generally speaking, getting a filter to fire for a
specific Action, or group of Actions, is problematic. Struts 1.3, as Joe
yet again pointed out, is a nice solution for this (Joe has been busy!
LOL)
Hi:
I have a LookupDispatchAction in my application. In the JSP mapped to this
action, I need 2 submit buttons with the same name (Search) but with differents
funtionalities. In my ApplicationResource.properties file I have defined 2
diferent properties with the same value:
search.go=Search
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value
equals to some value .
here is my code
bean:define id=test value=0/
logic:equal name=test value=0
bean:define id=test1 value=2 /
/logic:equal
On 3/10/06, temp temp [EMAIL PROTECTED] wrote:
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value
equals to some value .
here is my code
bean:define id=test value=0/
logic:equal name=test value=0
bean:define id=test1
On 3/10/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 3/10/06, temp temp [EMAIL PROTECTED] wrote:
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value
equals to some value .
here is my code
bean:define id=test value=0/
On 3/10/06, David Delbecq [EMAIL PROTECTED] wrote:
It's friday,
Ouftil Adrach (local belgian goddess) struck again. It's raining hard
outside
We need this goddess - the South West of the UK is in a drought and if
it doesn't change we are going to have a v.bad summer. Can you bring
your
On Fri, March 10, 2006 12:14 pm, Niall Pemberton said:
Can you bring
your goddess over here?
That sounds like the type of request that can only end in a police sting
:) LOL
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Oshima, thank you VERY VERY much! That fixed it. I had looked on
so many web site, and at so many examples, and in so many books, and not
one single resource I looked at EVER said to add that code to web.xml.
Thanks again. I really appreciate it!
Steve
-Original Message-
From:
html:errors property=acctNumber
is returning an UL
how to determine the length of the list? would like to check if it has more
than one error for this property?
Thanks.
_
Dont just search. Find. Check out the new MSN Search!
Try using the logic:messagesPresent tag if you wish to check for the
existence of errors on a JSP page.
Or this link provides some help info regarding the errors object.
http://husted.com/struts/tips/017.html
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Friday,
Thankyou for your response.
yah. I know logic:messagesPresent will check if messages are present. but
I would like to know
how many messages are present.
if just one then planning to get only the message not the UL. Now it's
returning ULLImessage/LIUL. planning to get only message if it's
Test Driven Development: By Example ([ISBN]0321146530) by Kent Beck.
Test Driven Development: A Practical Guide ([ISBN]0131016490) by David
Astels
You can find these on Amazon:
http://www.amazon.com/exec/obidos/ISBN=0321146530/alberg30-20
I have a Struts 1.1 application running for my employer. Now I am being asked
if I can create a web service that acts as a front door to the Struts
application. Has anyone ever done this? Is there a way to extend Struts to read
a SOAP body in the HttpRequest instead of the regular request
Hilton, Steve wrote:
Oshima, thank you VERY VERY much! That fixed it. I had looked on
so many web site, and at so many examples, and in so many books, and not
one single resource I looked at EVER said to add that code to web.xml.
Thanks again. I really appreciate it!
Wow; I'm very
Your wish is my command:
http://sourceforge.net/projects/strutsws
This is actually for Struts 1.2.4 IIRC, and a port to 1.3 was contributed
as well, but I doubt you would have much trouble back-porting it to 1.1.
The key is a custom RP, so it should just be a matter of copying the new
code into
On Mar 10, 2006, at 12:52 PM, Dave Newton wrote:
Hilton, Steve wrote:
Oshima, thank you VERY VERY much! That fixed it. I had
looked on
so many web site, and at so many examples, and in so many books,
and not
one single resource I looked at EVER said to add that code to
web.xml.
Just to save anyone that might be interested time, here's what you'll want
to read:
http://sourceforge.net/docman/display_doc.php?docid=26792group_id=126469
That pretty well explains it all (although I think I see a mistake with
regard to specifying the RP in struts-config, but the example app
I use shale and I was wondering if there is there an easy way to know in a
backing bean on the postback that the user actually pressed a commandLink that
navigates to another page than the one the backing bean is for. I want to avoid
unecessary database calls.
Let me give you an example. Let's
Can somebody help me with this?
Michael Jouravlev [EMAIL PROTECTED] wrote: On 3/10/06, Michael Jouravlev
wrote:
On 3/10/06, temp temp wrote:
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value
equals to some value .
here is my
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value.
here is my code
bean:define id=test value=0/
logic:equal name=test value=0
bean:define id=test1 value=2 /
/logic:equal
logic:equal name=test
Do you have a separate form for each detail record? If so, I'd suggest
not doing that and putting the entire thing in a single form with
multiple submits.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
Sent: Friday, March 10, 2006 6:39 AM
To:
On 3/10/06, Danny Lee [EMAIL PROTECTED] wrote:
Hi guys!
I'm writing an admin webinterface for a web store at the moment,
the put-new-product part.
SITUATION: I have some product attributes like Information Blocks and
Product Details, which are 0..n, so I'm able to delete these, or
create
To understand why this is a problem, look at the source of the Java
servlet that's generated. Remember that the JSP is translated statically
into Java, and then the resulting Java is compiled and run.
Try this instead:
bean:define id=test1
logic:equal name=test value=02/logic:equal
On 3/11/06, temp temp [EMAIL PROTECTED] wrote:
Can somebody help me with this?
Well, if I have a problem I usually remove all the stuff that works so I can
isolate the problem.
That way you would have only the code you posted in the JSP (the error would
not be at line 220) so you could post
I'm trying to use some of the extended Tomahawk components and
attributes in a Clay web page. The table is being configured with:
component jsfid=instructorCourseReportTable extends=t:dataTable
attributes
set name=value value=[EMAIL PROTECTED] /
set name=var value=student /
46 matches
Mail list logo