Hi,
I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked
just fine. Then I deployed the same .war to Websphere 6.1. None of the
AJAX samples worked. Other samples seems to work normally. Could it be
that Websphere doesn't handle baseRelativePath in djConfig the same way
You can't obtain the servlet request in a container independent
manner. What do you need it for? The only time when you can legally
obtain the servlet request is within an included JSP, or when
dispatching a request to a servlet that is in the same web
application.
Nils-H
On 3/23/07, tom tom <[E
Hi,
We have been trying to create a trading portfolio page which lists about 20
stocks with prices.
We need that stock price to be refreshed every 20-30 seconds after fetching
the price from server, indirectly from database.
I had tried to use Struts2 tag one per stock data, but it overload
the
--- tom tom <[EMAIL PROTECTED]> wrote:
> ActionError actionError = new ActionError("");
> ActionMessage actionMessage = new
> ActionMessage("error.test.error1");
>
> actionErrors.add(ActionErrors.GLOBAL_MESSAGE,
> actionMessage);
http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphon
I think some more components like table ,tabbedPanel ,tree ,treenode which
are look like datarid we can use this
http://struts.apache.org/2.0.6/docs/tag-reference.html
Thanks
Nagesh Reddy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23,
Sorry - I className shouldn't have been in there:
Niall
On 3/23/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:
> P.S. is there an equivalent attribute to "module" for global and/or
> local exception attributes? Right now I have:
>
On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:
P.S. is there an equivalent attribute to "module" for global and/or
local exception attributes? Right now I have:
I want to have module="/error" and path="/system.do" instead. Could I
use a global-forward declaration instead of the actio
Hi,
How can I convert the following struts 1.x to struts
2.0.6.
ActionError actionError = new ActionError("");
ActionMessage actionMessage = new
ActionMessage("error.test.error1");
actionErrors.add(ActionErrors.GLOBAL_MESSAGE,
actionMessage);
above is in a action class and error.test.error1 is
I really like Struts 2 but has anyone had any success in testing Struts 2's
action validation logic?
http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
I'd like to test the validation messages I receive but get an exception
where the objectFactory is null. I've
P.S. is there an equivalent attribute to "module" for global and/or
local exception attributes? Right now I have:
I want to have module="/error" and path="/system.do" instead. Could I
use a global-forward declaration instead of the action path used above?
(e.g. alias a global forward
Dear Niall:
Thanks so much .You are a life saver. It works. Just one note -- the
syntax that works is:
Here the module must start with a "/", and the path is relative to the
module's URL.
Thanks!
Oren
-
To unsubscribe,
Hello every one:
I am looking for a way to pass a resultSet or cachedRowSet to a jsp
page, and display the results in a dataGrid.
The behavior I am looking for is similar to the one offered by Struts
Layout http://struts.application-servers.com/intro/layout.html.
Unforetunatly Struts-Layout doe
I've never actually used modules in anger - but the "contextRelative"
was considered "deprecated" in favour of the "module" attribute since
Struts 1.2.4:
http://struts.apache.org/1.x/userGuide/release-notes-1_2_4.html
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
So I guess you s
It works Thank you very much.Sorry for the complain It was my mistake i just
downloaded src after ur reply i downloaded use cases i was able to run the
jsp it works.
Once again tahnk you very much.
Thanks & Regards
Angelo zerr <[EMAIL PROTECTED]> wrote: There is not another docum
Dear All:
My application context is called "Catalog". It uses Struts 1.3.8. There
are two modules, "default" and "user". In the default component struts
config, I have:
Both methods work and forward to the correct URLs
Hi,
In my porlet I got the following
public class MyProfileAction extends ActionSupport
implements ServletRequestAware
Hence I implemented the public void
setServletRequest(HttpServletRequest arg0) {
but what I can see is arg0 is null. What is the reason
for this.
How can get hold to the Http
Sounds good.
I'll do that right now.
Felipe
Musachy Barroso wrote:
>
> Nope. I don't think there is a topic for it either (but I only have 2K of
> memory :) ), you may want to log a jira ticket for it.
>
> musachy
>
> On 3/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi guys,
I almost forgot.
The 2.0.7 version is getting GA. Maybe it can be a good idea wait this
version to migrate your app. More bugs fixed.
Felipe
Felipe Rodrigues wrote:
>
> Daniel,
>
> About the error:
> Make sure your app has no error. Some kind of errors can throw a Filter
> Start Error, and it
Daniel,
About the error:
Make sure your app has no error. Some kind of errors can throw a Filter
Start Error, and it is what your stack trace seems.
Try also remove all struts related lib's and add the final version again.
About the performance:
Copy the template dir under the struts2-core...jar
Copy the template dir under the struts2-core...jar to your context root.
It will give you a great improvement in Performance.
Felipe
Gajbhe, Laxman (Contractor) wrote:
>
> Hi,
>
>
>
> I have following snippet of code:
>
>
>
> <%@ taglib uri="/struts-tags" prefix="s" %>
>
>
>
>
Well, if it's cleanly deployed, something is funky:
--- Daniel Felix <[EMAIL PROTECTED]> wrote:
>
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132
>
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acn
Just glancing at the error, looks like you have two copies of the
plugin in the classpath:
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acnsf
There is not another documentation (it's my project).
have you try to deploy the war jscontrolstags-usecases-1.0-b1.war? You
sample with swap.
I'm agree with you documentation is poor, I will try write it.
See swap3.jsp. You have an sample. have you insert javascript and css in
your page?
I cleaned before run to deploy.
I already saw the same problem on net with others people.
Any idea ?
-Mensagem original-
De: Dave Newton [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 22 de março de 2007 18:57
Para: Struts Users Mailing List
Assunto: Re: Struts 2.0.6 and Spring
-
I downloaded all the required files but they donot have a sample application
with which I can play make changes test results they have jsp code which
is not complete and no tutorial on how to get started are there any other
providers with good documentation and examples ?
Thanks
--- Daniel Felix <[EMAIL PROTECTED]> wrote:
> After it, I'm migrating from Struts 2.0.1 to Struts
> 2.0.6 to improve my web application, but when I
> start, it occurs an error and stop the server.
I would first check and make sure everything is
cleaned up from the old 2.0.1 version deployment; I'
Have you download usecase jscontrolstags-usecases-1.0-b1? You can found it
http://sourceforge.net/project/showfiles.php?group_id=175409
Swap document is here
http://jscontrolstags.sourceforge.net/controls/swap/swap.html
Angelo
2007/3/22, temp temp <[EMAIL PROTECTED]>:
I tried swap control i
I tried swap control in my application but it does not work the site has no
documentation, no complte examples can I get more assistance with this ?
Thanks & Regards
Angelo zerr <[EMAIL PROTECTED]> wrote: Hi,
you can see JSControlsTags project at http://jscontrolstags.sourceforg
Hi, people
I'm working with Struts 2.0.1, theme ajax and s:div, but the performace is
very slow.
The div load an action in 10 seconds with list of 20 tuples.
After it, I'm migrating from Struts 2.0.1 to Struts 2.0.6 to improve my web
application, but when I start, it occurs an error and
Hi,
you can see JSControlsTags project at http://jscontrolstags.sourceforge.net/
.
There is Swap control (see at
http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
which is enable to swap items select to another select with drag/drop.
it is based on Scriptaculous and Proototype.
You c
It appears that the MailReader Tour on the Tutorials page is having
problems. I've tried for two days and all I get is a Tomcat "HTTP Status
404 - /struts2-mailreader/Tour.do" message.
(*Chris*)
I want a jsp page which should have the capability to drag and drop in
the sense suppose I have a two list
California -- CA
Colorado -- CO
Conneticut -- CN
C -- CA
C -- CO
C
I have this field on a web page:
and this validator configured for it:
The only way I can pass the "Zip Code is required" validation is to remove the
validator entry. All the other fields on the page work
fine with their validators. Is there some issue wi
For my app specific security checking, is it a good idea to put the
checking logic in processValidate() method from Struts processor or
using J2EE filter?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
I discovered something strange today after adding logging to my domain
classes. If I have the following text field on my web page:
the Zip is being requested from User twice! If I change my field to:
it is called once! Of course I get no text from the property file
e
Great suggestion -- thanks to both of you!
JProbe is one of the other tools we were considering anyway, so it could
be very useful to have a comparison handy. I'll take a look!
Chris
-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 9:08 AM
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elilia,
Emilia Ipate wrote:
> You also have to enable your server to accept UTF-8, for WSAS I had to
> use: -D client.encoding.override=UTF-8
For Apache Tomcat, this is done by adding URIEncoding="UTF-8" to your
element in server.xml.
- -chris
---
Nope. I don't think there is a topic for it either (but I only have 2K of
memory :) ), you may want to log a jira ticket for it.
musachy
On 3/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Hi guys,
How call a function when change the tab of my tabbedPanel? Is the only way
use topics?
Tah
Yes, in theory you should be able to use any S2 tag in freemarker, what kind
of problem are you having?
musachy
On 3/21/07, Monttez <[EMAIL PROTECTED]> wrote:
Hi all,
Its is possible to use ajax tags into a freemarker page? It's not working
for me..
The same code works fine in a jsp result
--- Felipe Rodrigues wrote:
> But can I set the value of the param inside
> from teh tag?
>
> Something like:
>
>
>
>
>
>
>March
>April
>
> The real question is, how to pass a value of a param
> from to ?
You don't; the parameter is in the variable created by
the
Forwarded to user list.
--- hfaouaz <[EMAIL PROTECTED]> wrote:
> I am getting a NPE after the action return a
> success. My struts.xml has the location but
>
org.apache.struts2.dispatcher.ServletDispatcherResult
> is saying that the location is null and I get a
> result 'null' not found on the sc
Hi to all i have some problems with messages of validation
When i started to use validation i have an action with some filelds getting
validated (with an xml file, same name of the action). With this approach
when an error ocurred the error apears next to the controls that generated
that error.
ok,
But can I set the value of the param inside from teh tag?
Something like:
March
April
The real question is, how to pass a value of a param from to ?
thanks any way...
Dave Newton-4 wrote:
>
> --- Felipe Rodrigues wrote:
>> Is it possible to send a dinamic par
You also have to enable your server to accept UTF-8, for WSAS I had to
use: -D client.encoding.override=UTF-8
Emilia
-Original Message-
From: Mike Parsonson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 2:39 PM
To: user@struts.apache.org
Subject: UTF-8 encoding problems
Hi,
Hi,
We are developing a struts web application that will allow input of chinese,
Japanese and Latin text.
When submitting form data that is not standard ascii characters, the data is
turned into question marks, eg. ??.
We have already set the encoding of all of our JSP pages to "UTF-8" and
imp
Hi guys,
How call a function when change the tab of my tabbedPanel? Is the only way
use topics?
Tahnks in advance
--
View this message in context:
http://www.nabble.com/How-catch-an-event-of-changing-the-selectedTAb-in-a-TabbedPanel--tf3447548.html#a9614810
Sent from the Struts - User mailing l
I'd second that book recommendation. I've read it and there's a lot of
good tips in there.
On 3/22/07, Karr, David <[EMAIL PROTECTED]> wrote:
One I like is "Pro Java EE 5 Performance Management and Optimization",
by Steven Haines. Note that Steven Haines is associated with Quest
Software and Jp
+1
the way I think of this is can you directly instantiate the entity?
If No entity is abstract
If Yes entity is concrete
M-
---
This e-mail message (including attachments, if any) is intended for the use of
the individual o
--- Felipe Rodrigues wrote:
> Is it possible to send a dinamic parameter using
> tag?
Sure.
Since the "href" attribute needs to be built with
anyway, see:
http://struts.apache.org/2.x/docs/url.html
d.
Fi
Can someone tell me the best way to deal with multipart parameters in a
Filter without affecting struts?
In my filter, request.getParameterMap() returns an empty map because the
multipart content has not yet been parsed. I had a look in the struts
code and saw references to a MultipartRequestW
Hi guys,
Is it possible to send a dinamic parameter using tag?
I mean, if I click at one link, the param value is 5, if I click at another
link the param value is 7.
Is that possible?
thanks
--
View this message in context:
http://www.nabble.com/Dinamic-param-using-anchor-%28s%3Aa%29--tf34466
--- "Krishna, Hari (FTT-CInternet)" wrote:
> What's wrong with your question man. Struts is
> related to Presentation layer and LDAP is something
> that comes into picture in Business layer's try to
> understand how to call business layer components
> from Action class
Nothing is *wrong* with the
Christopher,
I think you should just start by measuring different layers of your
application and different pathes the use cases go, and then start to
think how to improve things that are slow.
Blind performance tuning without knowing where the problem lies is the
last thing that will help you.
r
I don't know XML validation for the Struts 2.x, but if it's the same than
Struts 1.x, it would be works.
FormView use XML validation to set information about field (required, date).
If you have interested with FormView, you could explain me the XML
validation used with Struts 2.x and I could
deve
Hi,i'm using struts frame work and oracle portals for developing my
application.
we came thru the refresh prob in struts for this i came to know dat we can
use token methods to solve this problem.
when i tried with out portals this is working fine,but when i tried the same
in oralce portals this i
(agree on the auth aspect)
On the presentation layer, would someone know about a LDAP data
browser/editor using Struts ?
Thanks.
On 3/22/07, Krishna, Hari (FTT-CInternet) <[EMAIL PROTECTED]> wrote:
What's wrong with your question man. Struts is related to Presentation layer
and LDAP is someth
56 matches
Mail list logo