mraible wrote:
I tried [EMAIL PROTECTED] value="text('key')"/] and that doesn't seem to work
either. I don't have a struts.xml or struts.properties in my project. I
tried putting the i18n bundle in all packages using it at the Action level
(ActionName.properties), but that didn't work either. Cre
Hi guys,
I'm using Struts 2.0.11 for a standard web application and using annotations
all the way. I have the following action, with some fields and getters /
setters omitted for brevity:
@ParentPackage("default")
@Results( {
@Result(name = "input", type = ServletDispatcherResul
I am having difficulty with authentication of user levels.
I have to kinds of users "user" and "administrators".
What we did in mySQL db is make a user table and in it, a "level" column is
placed containing whether a user is "administrator" or not.
there's no problem with this actually (I just wro
Hello
I have a reset() that generates a random number. However after the first page
view the same number persists. How do I stop this caching by the server? tia.
I am having difficulty with authentication of user levels.
I have to kinds of users "user" and "administrators".
What we did in mySQL db is make a user table and in it, a "level" column is
placed containing whether a user is "administrator" or not.
there's no problem with this actually (I just wro
I'm not sure if I'm missing something here, but using the
ServletActionRedirectResult with parse=true and extra parameters does
include these parameters in the redirect URL.
The problem is that this mechanism is limited to string-based (or
string-parseable) parameters, so you're ruling out object
You can configure sticky sessions, which means that requests that go to one
server in your cluster will always go to that server. To me this defeats the
purpose of the cluster because if that machine goes down the user will be
sent to another server, but their session will be gone with the down ser
That note about not using type conversion for dates probably has to do with
the fact that dates can be formatted and so parsed using different patterns
depending on different locales. If your code uses a fixed pattern such as
yours, I suppose you can ignore this.
So based on that, you can simply
Thanks. That is what I suspect also but I am trying to weed out other
possibilities... can I then take your response to mean : "Yes, Struts 2 DOES
support clustering"?
newton.dave wrote:
>
>
> This is almost certainly a server configuration issue; in general nothing
> on
> the framework / app
Hi Guillaume,
yep, I'm familiar with the ServletActionRedirectResult, and I'm
especially familiar with bug you mentioned (you and I both commented on
it, asking for a backport to 2.0.x...on that note, anyone with commit
access want to backport https://issues.apache.org/struts/browse/WW-2170
and rel
Following up months later as this has come up again now that 2.1 is close to
release. The current version does log messages for invalid properties, but
it doesn't blow up for invalid properties which is more of what I'm looking
for.
When I blogged about this[1], one of the responses was the follo
>
> Hello All,
>
> I get this error, when I click on submit button
>
> *404 Not Found :
> Servlet error:* Parsing error processing resource path
> /WEB-INF/cfg/struts-config.xml
>
> I am using tags inside action-mapping to access Application
> Module from Bc4jContext in struts action class. When I
You can read those files and write them to the outputstream.
musachy
On Thu, Apr 10, 2008 at 6:11 PM, Jerome <[EMAIL PROTECTED]> wrote:
> Hi all
> i'm using Struts to make a web interface for a bioinformatic application
> developed here. With Struts i can check out the validity of the input data
Hi Brad,
Have you tried this:
http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect
I've used this for a while with good results, although recently I've
stumbled on WW-2170 ( https://issues.apache.org/struts/browse/WW-2170 ). It
seems to occur only when using annotations though.
Chee
Hello All,
I get this error, when I click on submit button to Action Class
*404 Not Found :
Servlet error:* Parsing error processing resource path
/WEB-INF/cfg/struts-config.xml
I am using tags inside action-mapping to access Application
Module from Bc4jContext in struts action class. When I co
Hi all
i'm using Struts to make a web interface for a bioinformatic application
developed here. With Struts i can check out the validity of the input
data, control the job running on our cluster, and get back the result.
Here is my problem: the result are made of various html files. How can i
--- mojoRising <[EMAIL PROTECTED]> wrote:
> We have struts running great on a single server but when we test in our
> clustered environment there are problems: The user is not staying on the
> same server the initial request came in on, so their session is getting
> lost. Does struts 2 support a c
How are you clustering the HTTP session? Usually this involves
configuration of the app server so that it is stored in some type of
non-transient storage.
/Ian
mojoRising wrote:
We have struts running great on a single server but when we test in our
clustered environment there are problems:
We have struts running great on a single server but when we test in our
clustered environment there are problems: The user is not staying on the
same server the initial request came in on, so their session is getting
lost. Does struts 2 support a clustered enterprise environment? If so, is
there
Hi all, dear Ralf,
thanks a lot for your answer it was really helpful.
Honestly, I didnt understand the call-stack-principle
behind the interceptors at all. So your hint:
"To understand recursion, you must understand recursion"
was a good one and also this picture:
[1] http://struts.apache.org/2.
I'm running struts 2.0.11.1 and trying to use some AJAX things with the
provided dojo.
listenTopics="show_contacts" formId="msg_form"/>
This is working, but if I add a closable="true" to the this
will crash as there is not such thing.
How can I make this work?
This mail serves thi
I'm using the combination you mention without any problems.
Check the order you're using the servlet filters in, mine is;
struts-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp sitemesh com.opensymphony.module.sitemesh.filter.PageFilter
struts org.apache.struts2.dispatcher.FilterDi
2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
>
> Antonio Petrelli wrote:
>
> 2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
> >
> >
> > > StandardContext[/project]Exception starting filter struts2
> > > java.lang.UnsupportedClassVersionError:
> > > project/FileUploadAction (Unsupported major.min
Antonio Petrelli wrote:
2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
StandardContext[/project]Exception starting filter struts2
java.lang.UnsupportedClassVersionError:
project/FileUploadAction (Unsupported major.minor version 49.0)
As Al Sutton noticed before, is *your* class that i
The page that you are refering to is for 2.1, as stated on the top of
the page. The reason why the documentation is all mixed together wit
"2.1" warnings on some pages is because we don't have branches on the
wiki (or separate wikis) for different versions, as I mentioned on
another thread.
regard
Thank you. I found my problem was not really with my code. I
accidentally find the remote tab working fine with IE. But it shows
nothing in Firefox. The jsp alone display ok in firefox, I can also
include the jsp using the s:include tag, but when I changed it to remote
tab, nothing shows up on
I feel your pain and there was some talk to branch the wiki for
different versions, but it never happened.
musachy
On Thu, Apr 10, 2008 at 2:32 PM, goelshek <[EMAIL PROTECTED]> wrote:
>
> There is so much talk about Struts 2.1 and so many examples that work only
> with 2.1, not 2.0. So where do
For Struts 2.0 (NOT 2.1):
The documentation for introduction to
http://struts.apache.org/2.0.11.1/docs/ajax-client-side-validation.html Ajax
Client Side Validation says that "The validation occurs on each onblur
event for each form element". The
http://struts.apache.org/2.0.11.1/docs/ajax-vali
See the download section on the website:
http://struts.apache.org/download.cgi
musachy
On Thu, Apr 10, 2008 at 1:38 PM, Jiang, Jane (NIH/NCI) [C]
<[EMAIL PROTECTED]> wrote:
> Musachy,
>
> Thanks for your suggestion. Do you mean this showcase?
>
> http://www.planetstruts.org/struts2-showcase/a
t; Regards
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
__ Informacin de NOD32, revisi n 3016 (20080410) __
Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com
-
To unsubscri
There is so much talk about Struts 2.1 and so many examples that work only
with 2.1, not 2.0. So where do I download 2.1 from? A GA release is clearly
not available. So why even put examples out there for a distro that is not
available?
Musachy Barroso wrote:
>
> If you are using 2.0.8 or 2.0
The showcase [1] has an autocompleter example page with demonstrations
of several of its features and accompanying source.
~DVA
[1] http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/
-Original Message-
From: Joey [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 6:2
Hi
I have something like this:
aaa
bbb
And the problem is, that only parmB is set, parmA have default value.
To have both params set properly I must set all param on stack or on
action, but how to mix it?
Im usin
The only problem with the scope plugin is that it will use the session,
which may break the whole notion of POST-redirect-GET: if the data in
the session is removed or replaced by later requests, then pressing the
back or refresh buttons on the initial page with errors will not yield
the same respo
Has anyone had any experience of using these three together? I have Struts 2
and SiteMesh working together happily, but soon as I add Struts Menu I get the
error below.
I believe it is due to SiteMesh and not Struts 2 but am not sure on this.
Has anyone seen this before?
Thanks.
javax.servl
Hi,
Define setter setCategory(String value) for NewsAction
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Musachy,
Thanks for your suggestion. Do you mean this showcase?
http://www.planetstruts.org/struts2-showcase/ajax/tabbedpanel/example3.j
sp
I found the source for the jsp, but there is no source code for the
action. Is there a place to download the complete source code?
Thank you,
Jane
hello everybody,
i'm very new with struts 2,and i'm developing a web interface i need to realise
in few days; my problem is that i would like to create a web menu with n
buttons, one for each category of a set; once a button associated with a
specific category is pushed,i don't want a new actio
Hi.
I'm looking for documentation for the Table Tags plug-in. The projects
home page only contains a few JSP samples. A complete example with an
Action implementation would be of much help.
Lars
Also, note that if you have IIS running, you would need to change the
listening port (on either IIS or Apache).
Lukasz Lenart wrote:
Hello. To preface I am very new to using Apache. I am attempting to
experiment locally, however I cannot connect to local host nor the
127.0.0.1 directly. I am
Thanks Laurie,
I actually thought of a tag file but thought it might be the lazy way out.
We actually use them extensively for dropping in html components.
I feel a lot better now.
Thanks
Z.
>
> Zoran Avtarovski wrote:
>> > Hi,
>> >
>> > We porting/upgrading a relatively simple survey tool ov
2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
> StandardContext[/project]Exception starting filter struts2
> java.lang.UnsupportedClassVersionError:
> project/FileUploadAction (Unsupported major.minor version 49.0)
As Al Sutton noticed before, is *your* class that is compiled with
Java 5 and pu
HI all,
I am using appfuse as start-up application for one project.
The problem is that when I upgraded from struts 2.0.11.1 to 2.1.1 my test
cases are no longer working as ActionContext.getContext() returns null.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg29571.html
I read about the refa
Antonio Petrelli wrote:
2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
the working environment is: tomcat 5.0.30, jdk 1.4.2, struts 2.0.11 on a
linux suse server; we followed the procedure to retrotranslate the
following files from struts-2.0.11-j4.zip
The "j4" package contains alr
Hi Peter,
On Thu, Apr 10, 2008 at 12:08 PM, Peter Theissen <[EMAIL PROTECTED]> wrote:
> I have the "SimpleInterceptor":
> >>>
> public String intercept(ActionInvocation invocation) throws Exception {
> System.out.println("The action is being intercepted!");
> return invocation.invoke();
Hi Everybody.
Just want to know how to can I use "Autocompleter" as GMail style,
I mean, in GMail website, When I type more than 1 recipient name in
"To:" text box, the text box can complete with each recipient name.
I have checked Antocompleter document in Struts2 website, but didn't
find any u
Hello,
first of all thanks for all your previous answers. Somehow,
I got the interceptor working for the simplest case, but
honestly I still dont know exactly why. Maybe it was a
caching issue.
Now I have some questions:
I have the "SimpleInterceptor":
>>>
public String intercept(ActionInvocati
You need to use OGNL expression rather than JSP RT expressions:
http://struts.apache.org/2.0.11.1/docs/tag-syntax.html
though generally, just the name= is enough unless you need the value to
come from one place but get saved somewhere else on submit.
L.
Tauri Valor wrote:
I get the followin
Zoran Avtarovski wrote:
Hi,
We porting/upgrading a relatively simple survey tool over to struts2 from an
old php version.
The tool manages questions which can one of a fixed type (radio, drop,
checkbox, text) and then persists responses to DB.
Where I need some advice is how to implement the st
Mohiit wrote:
I am using Struts 2. I want to open the page in the new window when I click
on an icon. I am using tag and giving action by tag.
i.e., ,/s:url>
This way it is opening an action in same page. I want it in the new window
like in HTML tag we can do it by
Paula,
Quick question; Any reason you can't upgrade to Java 1.5 and use the primary
distribution and not a retrotranslated one?
Al.
P.S. Your problem is that your projects classes are being compiled with a
JDK >= 1.5.
- Original Message -
From: "Paula Estrella" <[EMAIL PROTECTED]>
2008/4/10, Paula Estrella <[EMAIL PROTECTED]>:
>
> the working environment is: tomcat 5.0.30, jdk 1.4.2, struts 2.0.11 on a
> linux suse server; we followed the procedure to retrotranslate the
> following files from struts-2.0.11-j4.zip
The "j4" package contains already retrotranslated versions
Hello, We have a small application developed with struts2 for uploading
files and returning the results of doing something with the files and we
are trying to run struts2 with java 1.4.2 but it is not working after
many attempts to remove the filter start error; could you please give us
some hi
2008/4/10, Lukasz Lenart <[EMAIL PROTECTED]>:
>
> Some home work? ;-)
Nope, just a phone interview :-D
Antonio
I get the following error :
According to TLD or attribute directive in tag file, attribute value does
not accept any expressions
I could get the value using html tag '>'
Thanks,
Tauri.
Tauri Valor wrote:
>
> Hi
>
> Is there a way to include value for textfield tag in struts2 , Im trying
Hi,
We porting/upgrading a relatively simple survey tool over to struts2 from an
old php version.
The tool manages questions which can one of a fixed type (radio, drop,
checkbox, text) and then persists responses to DB.
Where I need some advice is how to implement the struts 2 display mechanism.
> ActionSupport?
Ugh... sorry this came from xwork ;-)
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Some home work? ;-)
> What are the most popular classes to be used in Struts?
ActionSupport?
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
> Hello. To preface I am very new to using Apache. I am attempting to
> experiment locally, however I cannot connect to local host nor the
> 127.0.0.1 directly. I am looking to try and get the "IT works!" Apache
Are you using Skype? By default, Skype block port 80 and 443, disable
such port in S
59 matches
Mail list logo