You could be thinking of StrutsTestCase but I am not sure if it will test
your JSP pages?
http://strutstestcase.sourceforge.net/
To test web pages you could look at Canoo WebTest
http://webtest.canoo.com/webtest/manual/WebTestHome.html
HTH
Shane
-Original Message-
From: Vinicius
Just found these Someone may find them of interest (or not) :-)
http://javaboutique.internet.com/tutorials/Swing/
http://javaboutique.internet.com/tutorials/Swing/
http://javaboutique.internet.com/tutorials/Swing2/
http://javaboutique.internet.com/tutorials/Swing2/
Shane
Shane Mingins
. XML and jsp
editors totally suck though.
What is the problem with the XML and JSP editors? Is there lack of code
completion? If so have a look at www.intellij.com
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Just a thought ... if linkEdit is only used on the JSP's for Struts would it
be better placed in the resources.properties file?
Shane
-Original Message-
From: Jimmy Emmanual [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 18 November 2003 12:41 p.m.
To: 'Struts Users Mailing List'
Subject
A man has tickets for the Rugby World Cup Final between New Zealand and
Australia. As he sits down, another man comes and asks if anyone is sitting
in the seat next to him. He replies, The seat is empty.
This is incredible, said the man. Who in their right mind would have a
seat like this for
http://www.richsalter.btinternet.co.uk/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
This guy has recently been posting for help to comp.lang.java.help. Now he
would like to pay someone.
Is .it Italy?
Shane
Max [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi to all, can you help me with the realization of a simple app, without
business layer, only struts
/WebTestHome.html
It calls web pages and verifies the results, giving comprehensive reports
on success and failure.
Shane
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 22 October 2003 8:08 p.m.
To: Struts Users Mailing List
Subject: EVALUATION
. Logic
tags could query the state of each input field to decide if it should be
displayed or not.
Any one else?
Shane
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 21 October 2003 2:46 p.m.
To: Struts Users Mailing List
Subject: Form Question
And an offline copy. For those of us not local to the country :-)
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 22 October 2003 2:54 p.m.
To: Struts Users Mailing List
Subject: Re: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on
11/ 5
enlighten me?
Thanks
Shane
Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
)???
Cheers
Shane
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, 20 October 2003 3:29 p.m.
To: Struts Users Mailing List
Subject: Re: Defining Struts in Terms of PofEAA
Shane-
Take a look at
http://martinfowler.com/eaaCatalog
Shane
-Original Message-
From: Peter Abbot [mailto:[EMAIL PROTECTED]
Sent: Monday, 20 October 2003 3:47 p.m.
To: Struts Users Mailing List
Subject: RE: Defining Struts in Terms of PofEAA
I recall a couple of weeks ago somebody responded to a similar question
breaking each
Hi
A mate of mine is looking for a good home for their family's dog. He
said it's really lovable and friendly with kids, but his wife said the
dog makes her nervous when it stares at her (I know - weird - I thought
the same thing). She wants it out of the house ASAP unfortunately. If
you know
Ok so no attachments :-(
http://fattyco.org/~beck/stephen/Free_Dog.jpg
-Original Message-
From: Shane Mingins [mailto:[EMAIL PROTECTED]
Sent: Friday, 17 October 2003 12:28 p.m.
To: '[EMAIL PROTECTED]'
Subject: [FRIDAY] Free Dog.
Hi
A mate of mine is looking for a good
/PPP
http://www.objectmentor.com/resources/bookstore/books/AgileSoftwareDevelopme
ntPPP
And if you get really stuck reading it, the author regularly posts to the
comp.object newsgroup.
HTH
Shane
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Friday, October
Just noticed you mention DAO (Data Access Object). For a free book on EJB
Design Patterns:
http://www.theserverside.com/books/EJBDesignPatterns/index.jsp
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 6:23 PM
To: Struts Users
the Struts layer of my application test-first.
Shane
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, 10 October 2003 3:22 p.m.
To: Struts Users Mailing List
Subject: Re: Tools for Testing
Adam Hardy wrote:
OH NO! Now I have no excuse to ignore
and this could be automated...
beautiful,
-Martin
- Original Message -
From: Shane Mingins [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 10:29 PM
Subject: RE: Tools for Testing
Also Canoo WebTest is a free open source tool
http://www.foulds2000.freeserve.co.uk/economists.htm
http://www.foulds2000.freeserve.co.uk/economists.htm
and then have the validate() method check that
collection and generate the required ActionErrors?
Any thoughts?
Shane
Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522
-
To unsubscribe, e-mail: [EMAIL PROTECTED
://jakarta.apache.org/struts/learning.html
http://jakarta.apache.org/struts/resources/books.html
http://jakarta.apache.org/struts/resources/examples.html
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
for JavaScript?
Any pointers, examples, resources etc would be great :-)
Thanks
Shane
Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
If memory serves me correct BUTTON was only supported by IE has
that changed?
Shane
-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 September 2003 4:48 a.m.
To: Struts Users Mailing List
Subject: BUTTON element
Hi all,
I don't seem
the
validation in the form bean validate() method.
Anyone have thoughts or comments on that?
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:-)
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=%= disable %
Edit/html:submit
And this works.
So is a preferred way of doing things when it comes to tags? Is there an
explanation of these options anywhere? Am I making any sense *grin* ?
Thanks
Shane
-Original Message-
From: deepaksawdekar [mailto:[EMAIL PROTECTED]
Sent: Thursday
%
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
Does that at all help?
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=button.edit//html:submit
/logic:notEmpty
logic:empty name=channelForm property=productList
html:submit disabled=true bean:message
key=button.edit//html:submit
/logic:empty
Thanks
Shane
Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522
Could you not have that page set to session scope so the set selected value
is retained?
There are tips on this page http://husted.com/struts/catalog.html regarding
workflows that may be of help.
Shane
-Original Message-
From: John Habbouche [mailto:[EMAIL PROTECTED]
Sent: Wednesday
http://www.savetheservers.com/ http://www.savetheservers.com/
help as I have yet to use it ... although I
have just this minute found a case in my own application to do so ;-
Shane
-Original Message-
From: John Reynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, 19 September 2003 2:16 p.m.
To: [EMAIL PROTECTED]
Subject: Refreshing Form Submission
Hi
You could use JavaScript to set a field on the form to the value of the
action.
Also have a look at using DispatchAction
http://husted.com/struts/tips/002.html
And for the tips menu:
http://husted.com/struts/tips/index.html
HTH
Shane
-Original Message-
From: Stephane Grenier
Webalizer is free, WebTrends is not :)
-Original Message-
From: Carl-Jakob [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 8:31 AM
To: [EMAIL PROTECTED]
Subject: Help me get my boss of my back
Hi,
We have put up websites for some customers despite I said no.
nooo...
Why don't you create a method that gets whatever data you need to populate
the form and call it from the DispatchAction methods that need it?
Shane
-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 10:54 AM
To: [EMAIL PROTECTED]
Subject: Request
IntelliJ provide a document on supporting developing web apps with
IntelliJ IDEA
http://www.intellij.com/docs/html/webAppl.html
http://www.intellij.com/docs/WebApps.pdf
-Original Message-
From: Paul Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 11:15 a.m.
To:
= + key);
}
Shane
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 9:23 a.m.
To: Struts Users Mailing List
Subject: Re: keys of MessageResources
There are no public methods that return a collection view of keys (I think
this is what you
Well then most of the world are obviously a Fowler groupies. Metsker gets 4
stars on Amazon whilst Fowler gets 4 1/2.
I have not read Metsker but the TOC suggests that these two books are quite
different. From what I have browsed of PoEA it is not a design patterns
explained typed book written
Especially the 30 day trial version of Struts :-)
-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26 August 2003 2:57 p.m.
To: Struts Users Mailing List
Subject: OT: Re Small request...
and besides, by continuing to set my clock back
none of my 30-day evals
/struts/resources/examples.html
I am not sure if any of the examples use Hibernate?
Cheers
Shane
-Original Message-
From: Bill Chmura [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 27 August 2003 8:41 a.m.
To: 'Struts-Users'
Subject: Struts, Tomcat, Hibernate - what the heck?
Hey,
I am having
from.
Cheers
Shane
Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522
the process is complete and BEEN_HERE was not null I removed the
attribute and forwarded to the next page.
HTH
Shane
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]
Sent: Friday, 22 August 2003 12:03 p.m.
To: Struts Users Mailing List
Subject: Telling Users to Wait
Hello Struts
You cannot nest taglibs in this manner. I suggest using a regular a href/
tag and put your mytag in the href attribute.
-Shane
-Original Message-
From: deepaksawdekar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 8:08 AM
To: Struts Users Mailing List
Subject: mailto
I have run the same code for my file uploads in windows and linux without a
problem.
Shane
- Original Message -
From: David G. Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 7:13 AM
Subject: Re: File Upload Data
Steven
I had a similar problem until I realized that you must specify a file and
not a folder for the upload path (i.e. /tmp/upload/upload.txt not
/tmp/upload).
HTH,
Shane
-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 7:24 AM
To: 'Struts
an Alias entry
to the virtual host. You will have to check your container's docs for your
specific environment.
-Shane
-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 10:47 AM
To: 'Struts Users Mailing List'
Subject: RE: file upload problem
I
My solution to this problem is not to define any global forwards and route
everything through an Action. If you are forwarding to a simple JSP defined
by a tile then define an action-mapping using a ForwardAction.
HTH,
Shane
-Original Message-
From: David Holtzhouser [mailto:[EMAIL
.
-Original Message-
From: Van Riper, Mike [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 5:55 PM
To: '[EMAIL PROTECTED]'
Subject: RE: using modules versus simply using multiple struts-config file s
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED
]
Sent: Wednesday, August 13, 2003 6:02 PM
To: Struts Users Mailing List
Subject: Re: Mapping Struts controller servlet to webapp root: trouble
On August 13, 2003 05:40 pm, Bailey, Shane C. wrote:
Do you want to add a filter which will look over every request prior to
Struts getting any requests
What about:
html:form action=/Reg.do
c:if ...
html:hidden property=method value=dispatchMeth1 /
/c:if
c:otherwise
html:hidden property=method value=dispatchMeth2 /
/c:otherwise
/html:form
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13,
That would be great, if all the Struts users changed their mapping to *.asp
Bill G. would think the whole world is using ASP and he would get a real
Viagra moment from that.
-Original Message-
From: Travis Stevens [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:32 PM
I have made Struts work pretty successfully on both browsers. Let me make
sure I understand what you are saying here...
When you say you link to and from these tiles defs you just mean that your
input=tile.def1 and your action's forward path=tile.def2 is that
correct? If so, this is what I do
I use Tiles and so all my forward actions look simply like this:
actionpath=/home
parameter=doc.moduleHome
type=org.apache.struts.actions.ForwardAction
scope=request
/action
Because doc.moduleHome is in the tiles-defs.xml for the current
Mike,
8.1 also works fine for me but 8.1.1 which is 8.1 with SP1 breaks. I have
confirmation that it's not isolated to me so next question is does anyone have
a fix other than downgrading?
Shane
Quoting Mike Jasnowski [EMAIL PROTECTED]:
I'm using WLS 8.1 , Tiles/Struts1.1Final and JSP's w
Short version:
I would think that I could do this then forward name=home path=/home/
and Struts
would know to add the .do for me. When a html:link forward=home is
rendered it does not
have the .do on it. I have to make it forward name=home
path=/home.do/
Is that a bug?
Since
If I remember correctly, from looking at the source code, Struts determines
what extension (or prefix) to add to the request. If /* is used I could see
how it could screw things up. You don't want images and things like that
going through Struts anyway, I wouldn't think.
Why do you want to do
that the query string is separate from the path and so struts
automatically puts on the filter (.do or whatever it may be).
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 12:07 PM
To: 'Struts Users Mailing List'
Subject: RE
things out.
Why do you think Ant is so popular??? It got rid of all the
$var UNIX script
like crap and made it more like tags should be!!!
What are you talking about? ${var} is pretty standard in Ant.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED
mapping when it
does its internal configuration.
Anyhow, I changed the mapping to *.do and everything works great, thanks
Shane!
-Trav
Bailey, Shane C. wrote:
I believe the problem is that you can only have 1 URL mapping to the Struts
Servlet.
All you have to have is your first servlet-mapping
Can anyone name the book the following joke appeared in?
I have cleaned it up a little (the punch line) and I am typing it from
memory so it isn't exactly like the book.
There once was a native American Chief who named everybody in his tribe.
One of the young boys who was a
member of
But, what I really meant about JSTL being replaced was in popularity.
JSP tags are being replaced (in popularity) with Struts tags, your JSTL, and
alike.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 4:02 PM
To: 'Struts Users Mailing
not be omitted in the forward. FWIW, I
think this is proper behavior. Certainly if you html:link to the forward
your html pages will be do-less. Also, you can change to another scheme
(e.g., /action/login) simply by modifying the structs-config.
-Original Message-
From: Bailey, Shane
, SecurityFilter is running smoothly :-)
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:21 PM
To: Struts Users Mailing List
Subject: Re: Allowing only POST for form submittal
Hi Shane,
I don't think it really matters.
Say you have a hidden field
I see the ease of using a flat file for config since a framework doesn't
have to support the many DBs where their data could be stored but I think
you can better protect data in a DB and you won't have parsing errors at run
time. You just need an interface to manipulate the data.
Until Struts
I guess my problem is that I think of Java as being a Sun only product and I
forget about the committees involved in the process of deciding what goes
into the different Java specifications or editions (EE,SE,ME).
-
To
?
Or ask on the correct mailing list?
Or even do some research yourself?
Google. Fifth link down. JSTL reference.
Steve
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: August 13, 2003 2:50 PM
To: 'Struts Users Mailing List'
Subject: RE: very simple if/else
You are practically there; you know Java and XML and that's all you need to
know with Tiles.
http://marc.theaimsgroup.com/?t=10306302322r=1w=2
Check out the post by Cedric, I believe he wrote Tiles.
-Original Message-
From: JavaXML Developer [mailto:[EMAIL PROTECTED]
Sent:
Start here:
http://java.sun.com/webservices/docs/1.2/tutorial/doc/IntroIWA6.html
http://java.sun.com/webservices/docs/1.2/tutorial/doc/IntroIWA6.html
hit the TUTORIAL'S back button. Read the last paragraph.
HeHe.
It sure sounds like JSF is here to conquer not to co-exist.
:-)
, you can change to another scheme
(e.g., /action/login) simply by modifying the structs-config.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:00 PM
To: [EMAIL PROTECTED]
Subject: Is this a bug with struts config file?
Short
A good starting point for all you antidisestablishmentarianist that don't
want to front your JSPs might be the use of the ForwardAction and
global-forwards. That just forwards to a view page without writing a new
class. This way, when you are ready to do the right thing, you can change
some of
So where's the Struts question?
-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
Sent: Thursday, 14 August 2003 2:01 p.m.
To: 'Struts Users Mailing List'
Subject: RE: J2EE certified
I meant getting a web application certified
-Original Message-
From:
simple if/else question
--- Bailey, Shane C. [EMAIL PROTECTED] wrote:
Man (you already used Dude), I already stated that that doc is much
better
than the 50 other docs out there as far as JSTL reference. It appears
to be
a scan of a book in crappy PDF format.
I just think it is very elitist
AFIK, you must have a String data type for html:text/ tags. Personally, I
resort to using 2 getters (String and Date) in my ActionForm to deal with
this. Also, FYI...the bean:write/ tag will take a Date type and allow you
to format it using the format attribute.
HTH,
Shane
-Original
Yey ... a whole week of out office replies ... thanks :-)
-Original Message-
From: Jason Meredith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 13 August 2003 12:01 p.m.
To: Struts Users Mailing List
Subject: Jason Meredith/LDN/FIMAT is out of the office.
I will be out of the office
Will this work:
logic:iterate name=myCollection id=beanA
bean:define id=beanBId name=beanA property=beanB.id/
bean:write name=myHashmap property=%=beanBId%/
/logic:iterate
-Original Message-
From: Wes Kubo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:38 PM
To:
there for JSTL that is not the
point.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:29 PM
To: Struts Users Mailing List
Subject: RE: very simple if/else question
--- Bailey, Shane C. [EMAIL PROTECTED] wrote:
Why isn't there a page
Don't get me wrong. I am more trying to display what I can foresee as a
possibility and am trying to get other's opinions and feedback. I would
LOVE for Struts to be the main Java framework because then I wouldn't have
to relearn a new technology. I think managers who do the hiring will put
started on your own application
I want to rename this right to left file to application.properties
and try it out.
Thanks
From: Bailey, Shane C. [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: application.properties
Why isn't there a page for JSTL reference that is as nice and easy to use
as:
http://jakarta.apache.org/struts/userGuide/struts-logic.html ???
You would be much closer to substantiating your claim of JSTL being faster
to develop with if such a page existed, Ace.
-Original Message-
Actually this is seems like good reading:
http://java.sun.com/webservices/docs/1.2/tutorial/doc/JSFIntro.html
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 1:25 PM
To: [EMAIL PROTECTED]
Subject: [OT] Interesting JSF info
Start
To those of you who have children in your lives, whether they are your own,
grandchildren, nieces, nephews, or students ... here is something to make
you chuckle.
Whenever your children are out of control, you can take comfort from the
thought that even God's omnipotence did not extend to
I think I understand what you want. I would need to know whether you are
using Validator or not (in general how validation is to be performed) to
give a better answer.
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 6:07 AM
To:
question
I know that. But i am looking for a simple example or tutorial particularly
for tiles. If anyone knows, let me know.
Bailey, Shane C. [EMAIL PROTECTED] wrote:
You are practically there; you know Java and XML and that's all you need to
know with Tiles.
http://marc.theaimsgroup.com/?t
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:45 PM
To: Struts Users Mailing List
Subject: Re: JSTL ot struts taglibs?
Bailey, Shane C. wrote:
[Snip]
Why should build files be composed of tags at all? I think Ant is great
too (a lot
not necessarily mean a whole lot
since scriptlets can fit nearly everything said about JSTL but yet everybody
agrees not to use scriptlets. I am just giving another opinion.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 11:21 AM
Yup. It really isn't so bad.
A lot of pages of what? You need a lot of pages even without Struts if your
site has a lot of content. You don't have any extra JSP pages because of it
but it makes you Struts config file a little longer than if you didn't have
to map all your JSPs. But then
?
Is there a default or will this an error ?
From: Bailey, Shane C. [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: application.properties file location
Date: Wed, 13 Aug 2003 11:51:53 -0400
From what you are saying I
I think you could do it a couple different ways...
1.
JSP:
bean:define id=lookupName value=whateverLookupYouWantToGoto/
html:link forward=test paramId=updateMethod paramName=lookupName
...
/html:link
2.
JSP:
html:link forward=gtest .../html:link
struts config:
global-forwards
Here is the source code producing your problem:
ComponentContext compContext = (ComponentContext)pageContext.getAttribute(
ComponentConstants.COMPONENT_CONTEXT, pageContext.REQUEST_SCOPE);
if( compContext == null )
throw new JspException ( Error - tag useAttribute : no tiles context
Has anyone had any issues with JSP's not compiling with WL 8.1.1 and Struts
1.1 using Tiles? I have just upgraded WL and some JSPs compile and others
dont.
Thanks,
Shane
-
To unsubscribe, e-mail: [EMAIL PROTECTED
question
Bailey, Shane C. wrote:
OK, let's vote. Who here thinks that Ace Graham is correct in saying that
these links are as easy to use as a reference (which is what I requested
since I understand the concept of tags in general and I only need a quick
reference):
Print and laminate
You could have two modules, one named public and one named private and so
you would have two different path=/someAction actions one in each modules
struts config.
Then in the private one you have path=/someAction role=Admin and in the
public one you don't have a role attribute or it is role=all
Very interesting. I didn't know you could now have multiple struts-configs
and no modules.
The two problems I had with using modules was (at first) the switching
between them as mentioned. I never took to the SwitchAction so I use global
forwards which do my module prefixes for me. And
it.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 12:01 PM
To: 'Struts Users Mailing List'
Subject: RE: LookupDispatchAction error
I think you could do it a couple different ways...
1.
JSP:
bean:define id=lookupName value
To: 'Struts Users Mailing List'
Subject: RE: Error - tag useAttribute : no tiles context found.
Hi, Shane,
This is just for your information.
An error in html table tag caused the tile context to be lost;-)
This is what it took to get rid of the nasty exception:
fixed this:table border=0
I had the same requirement to just retrieve the original (client side) file
location and not the file itself. This was because I develop strictly for
an Intranet (and not trying to get peoples file names unwillingly or
anything) and the users had mapped drives to the same shared server. One
struts config dtd states:
dynamic If the form bean type is a DynaActionForm subclass
(that you
created), then (and only then) set this attribute to
true.
If the type is set to the default DynaActionForm or any
In the validation.xml file I believe that the validator takes
form name=StringWithoutForwardSlash as validate based on form name and
form name=/stringWithForwardSlash as validate based on the action name.
Meaning that if the validator sees a formbean with the first examples name
it does
Do you want to add a filter which will look over every request prior to
Struts getting any requests? That might be one possibility.
If you have never written a filter then one I know where you can get source
for is at securityfilter.sourceforge.net that one isn't doing necessarily
what you
From what you are saying I think you should try:
message-resources parameter=application/
in your struts config file. Since you specifically say
application.properties as the name of your file.
For instance my file is also called application.properties as opposed to
1 - 100 of 355 matches
Mail list logo