why in struts 2.0.6 i can't extends package from the other file?
for example i have package name = default in struts.xml
in struts.xml i include file struts-xxx.xml
in struts-xxx.xml i want to extend default package but it's error
in struts 2.0.1 it work fine
can any one tell me why
the name of your form is not correct :
TeachingMethodForm --> should be teachingMethodForm.
it could be annoying.
could u post the place ( struts-config) where u declare your form?
2007/2/26, Strachan, Paul <[EMAIL PROTECTED]>:
Hi,
I realise this is probably not a struts problem and I fe
Can you post a copy of the page? We really need to drum up a set of
benchmarks to run ourselves, and this type of page sounds like it
would be a good test case.
Back in the day, there was a common phenomenon where if a page hit
fifty JSP tags, performance suddenly bottomed out. I wonder if some o
Hi Zheng,
Have you profiled your application? Are you sure it is OGNL that makes your
application slow?
>From my experience it is not so slow. At least I have not found it too be a
bottleneck in my application. Not yet :-).
What is really slow in WebWork/Struts2 is jsp tags like, textfield, rad
On 2/26/07, Ray Clough <[EMAIL PROTECTED]> wrote:
I have been unable to get Tiles to load successfully at all, following
the simple instructions on the web site:
http://struts.apache.org/2.x/docs/tiles-plugin.html. Are those
instructions correct/complete? They are incorrect on at least one
po
>If it is your case, you could make it faster, you have to extract
templates
>out of webwork.jar (in your case probably struts.jar) and put them in, for
>example, WEB-INF/templates directory.
Just to know, I saw this many times but without doing this and using
only "template_update_delay" in
There is a page on WebWork Wiki about it:
http://wiki.opensymphony.com/display/WW/Performance+Tuning
Phil,
Since you added this page to the WW wiki, did you also want to add it
to the S2 docs?
I would suggest putting it in the Configuration section, between
Wildcard Mappings and Application Se
Hi
I am using nested:write for print some text that has some html code. in
browser it shows code and not the code effect. how to do that.
--
Cup of Java + Suger of XML = Secure WebApp
if u got a form ( and any data) of type Date( java.util) then u can use:
1.
2. i guess it works as well with
the solution 1 is working , it's extracted from one jsp i made 1 week ago :)
for the validation, well it should be in validation.xml (or u can code the
java script)
good luck
2007/
Hi Mike,
As written in the Wiki:
"Freemarker fails to properly cache templates when they are retrieved from
the classpath. Copying them to the WEB_APP root allows Freemarker to cache
them correctly. Freemarker looks at the last modified time of the template
to determine if it needs to reload the
I have not used Netbeans for over a year and my memory of it is starting to
fade, but I think the answer is "all".
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 25, 2007 10:38 AM
To: Struts Users Mailing List
Subject: Offtopic netbeans
O/T quer
Ok.
I understand. I thought that there was no cache at all.
In development, I also need tempalte to be reloaded as soon as possible.
But in production, I don't care at all so this si not, for me, a
performance issue ...
Thanks
Mike
Vlad2006 a écrit :
Hi Mike,
As written in the Wiki:
"Freem
I have just begun looking into sitemesh, and was pleased to see a struts2
plugin. But the documentation is very sketchy, and I'm not sure what it
adds. I also didn't find mention of the plain jsp PageFilter, it just
mentions velocity and freemarker.
Thanks
In web.xml I found CharacterEncodingFilter with UTF8 and force=true.
That's why character encoding of the request was UFT-8
(getRequest().getCharacterEncoding() = UFT8)
I've tested all decode combinations with this code:
Set encs =
java.nio.charset.Charset.availableCharsets().keySet();
> for sure, i already put struts2-core-2.0.6.jar in my lib folder
> and inside that, there is struts-default.xml in the root folder
> if i remove my struts-pensiun.xml and put into just struts.xml
> everything work fine.
> is there any bug in this release.
> thx
>
This seems to be a problem in
I would any current version of NB would do that. I am not sure about the
version numbers, but usually, all you have to do is to add a server from the
runtimes view and point NB to the correct server folder that contains Tomcat.
Harsh.
-Original Message-
From: Martin Gainty [mailto:[EMAI
I don't think you need a plugin for jsp support. In webwork, there
wasn't any specific support for sitemesh--it just worked. I believe
the same is true for struts2.
On 2/26/07, C. Adams <[EMAIL PROTECTED]> wrote:
I have just begun looking into sitemesh, and was pleased to see a struts2
plugin.
This is a very general question. The feature list of Struts2 lists Ajax tags
and I was wondering if these actually implemented some ajax stuff, i.e. they
communicate with the server via xml requests, or are these tags just front end
DHTML commonly associated with "Ajax".
Hi
I'm using Struts 2.0.06 and I have a simple jsp page
<%@ taglib prefix="s" uri="/struts-tags" %>
which is rendering as
HostName
frozen.brake.co.uk
Start
Time:
2/26/07
HostName
grocery.brake.co.uk
Start
Time:
--- bob <[EMAIL PROTECTED]> wrote:
> This is a very general question. The feature list
> of Struts2 lists Ajax tags and I was wondering if
> these actually implemented some ajax stuff, i.e.
> they communicate with the server via xml requests,
> or are these tags just front end DHTML commonly
> ass
Hi, I'm a new subscriber to this mailing list, so if this issue has been
brought up before, I apologize.
I am having trouble retrieving request parameters in my action class, using the
recommended method described in
http://struts.apache.org/2.x/docs/how-can-we-access-request-parameters-passed-
--- Jeremy Carver <[EMAIL PROTECTED]> wrote:
> [Ljava.lang.String;
>
> Apparently it's like some altered form of String,
That's a String array.
d.
It's here! Your new message!
Get new email alerts wit
I have the following problem:
My validator gets NOT called as soon as I initialize some properties in
my form. In my form bean I have:
public class QueryTripsForm extends ValidatorActionForm
{
private String startPeriodDisplay = "2007-01-01";
private String endPeriodDisplay = "
--- Tom Bednarz <[EMAIL PROTECTED]> wrote:
> Any idea what I am doing wrong here???
Not "wrong", really, but probably you're using an
action-mapping with validate='true' to do the initial
form display. With no defaults it will validate with
an error.
Two ways to get around this are:
1) Use a pre
Oh...thanks, hehe. How simple.
Jeremy Carver
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, February 26, 2007 9:36 AM
Subject: Re: [S2] Request parameter problem
--- Jeremy Carver <[EMAIL PROTECTED]> wrote:
[Ljava.l
Hello:
I have this struts.xml:
http://struts.apache.org/dtds/struts-2.0.dtd";>
/top/Login.jsp
When I go to the url https://tweb.retcgroup.com/thymeleweb/Login.action
it loads fine.
I changed my action to be:
/top/Login.jsp
Now, when I visit the url:
try this:
/top/Login.jsp
with URL:
https://tweb.retcgroup.com/thymeleweb/top/Login.action
It is 'namespace' that gives you action prefix in the URL.
Regards
Dariusz Wojtas
On 2/26/07, Neil Aggarwal <[EMAIL PROTECTED]> wrote:
Hello:
I have this struts.xml:
http://struts
I have no idea, but does it work without Javascript assigned to the button?
On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote:
Hi,
I realise this is probably not a struts problem and I feel a bit silly posting
this question but here goes:
I'm using html:button with EventDispatchAction but
You can also set:
struts.enable.SlashesInActionNames='true'
via property or XML config file (I'm still not
entirely sold on namespaces if you do a lot of links
between them).
d.
Never Miss an Email
Stay con
Hello.
Does anyone know how to get unicode symbols to work in Struts controls?
I have Circle-P - ℗ - Lucida Sans Unicode has that symbol on a PC,
and our MACs also have that font. The Trademark symbol started working
in some controls when I set escapeXML = "true", but no mater what I do I
get a
Dave:
I tried setting the SlashesInActionNames and then
I added a LoginInterceptor to make sure the user
is logged in.
Now, when I try to load this url
https://tweb.retcgroup.com/thymeleweb/marketing/CreateMarketingList.action
I get this error:
There is no Action mapped for action name marketin
Jim Reynolds wrote:
Hello,
I am using the following in a jsp view:
And the source renders:
Which works, but the source no longer gives me a like the 1.2.4 that I was used to using.
If there anyway I can get that to work?
Thanks,
I believe that's a function of whether you're
I'm doing in line table editing and it works.
Here's a (very) cut down version of my form. The code displays a
form/table, where each line in the table corresponds to an element/item in
the prLines collection of the action.
Struts1 allows action errors and messages to be saved into the session
for display after a redirect, and supports automatically clearing the
messages once they've been displayed. Does Struts2 have any support for
achieving the same thing?
ValidationAware doesn't specify any scope-aware methods
On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking at implementing a struts wizard flow (of about 12 pages)
into my struts-1.2.9 application. The struts dialogue project seems
to be along the lines of what I need (pattern-wise).
I have some extra quirements such as:
1. A p
Hello:
In my struts.xml, I have this:
/{1}/{2}.jsp
/top/Login.jsp
https://tweb.retcgroup.com/thymeleweb/top/Login.action
/{1}/{2}.jsp
I would like to have the URL for the loginRedirect result
passed back from my Login class.
Is there a way to do that?
Thanks
Michael - thanks for your reply:
1. the progress menu is just an ordinary left-nav html menu which
displays all the steps of the wizard (plus a state icon - e.g. green
tick) and allows the user to navigate to any page. As you say I can
probably do this myself based on the wizard state/context obje
I'm using the following annotation to specify a result for one of my
actions:
@Results(
@Result(type = ServletActionRedirectResult.class,
value = "register-success", params = {
"activationToken", "${activationToken}"
})
)
This works, resul
Neil Aggarwal wrote:
Hello:
In my struts.xml, I have this:
/{1}/{2}.jsp
/top/Login.jsp
https://tweb.retcgroup.com/thymeleweb/top/Login.action
/{1}/{2}.jsp
I would like to have the URL for the loginRedirect result
passed back from my Login class.
Is there a
I'm currently in the process of migrating my webwork 2 application over
to struts 2. I only have one more remaining issue the function
specified on this page doesn't seem to work
(http://struts.apache.org/2.x/docs/ajax-div-template.html).
function refresh(elementId, href) {
var elementDiv =
You can use "refresh" instead. Or "refreshListentTopics" if you wan to use
topics. "bind" should have been there for backward compatibility (mea culpa)
regards
musachy
On 2/26/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
I'm currently in the process of migrating my webwork 2 application over
to
Laurie:
That worked perfectly. Thank you for the guidance.
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Be
Well the part it is dying on is the "elementDiv.href = href;" so it
isn't even getting to the bind. Also is there a doc on how to use
refreshListentTopics, I don't know if I understand how to use it with a
link?
Musachy Barroso wrote:
You can use "refresh" instead. Or "refreshListentTopics" i
"href" is a valid property on the BindDiv widget, what kind of error are you
getting? (
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js?view=markup
)
ajax docs: http://cwiki.apache.org/WW/ajax-tags.html
Showcase ha
The error I'm getting is "Error: elementDiv has no properties." in
Firefox. Basically Window[elementId] is returning undefined. This
worked fine when I was using Webwork. The only changes I made was to
move everything to struts 2. All my other pages and tags are working
fine, the only issue
I think that's related to Dojo instead of struts, if you do:
windows[id]
it is going to return the element object for the div(as it should), which
doesn't have an "href". If you do:
dojo.widget.byId(id)
it will return the widget for the div.
musachy
On 2/26/07, Adam Ruggles <[EMAIL PROTECTED
The dojo.widget.byId and .refresh() did it. Thanks for you help.
Musachy Barroso wrote:
I think that's related to Dojo instead of struts, if you do:
windows[id]
it is going to return the element object for the div(as it should), which
doesn't have an "href". If you do:
dojo.widget.byId(id)
Has anyone gotten Struts 2 and Tiles 2 to work under Websphere 6.1.
We are a site that has many pages down using Struts 1 and Tiles. We are
testing Struts 2 with Tiles 2 but cannot get it to work.
After performing the action the result returned from Struts 2 has the following
error on the js
Yeah, looks like it is the wrong action I am calling, or better I need
more actions to process a single user input. I still do not feel very
comfortable with writing that many actions around 'CRUDing' an object.
Thanks a lot anyway!
Tom
Dave Newton wrote:
--- Tom Bednarz <[EMAIL PROTECTED]> wr
I have been looking forward to this release. I have been using Struts 2 very
short but I am very stunned by it's power thus far. My congratulations to
all!
Ivo
On 2/24/07, Ted Husted <[EMAIL PROTECTED]> wrote:
The Apache Struts group is pleased to announce that Struts 2.0.6 is
available as a "
50 matches
Mail list logo