I upgraded from STRUTS 1.0 and I also upgraded to tomcat 6.0 from a 4.xx
Soren
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 28, 2007 3:31 AM
Subject: Re: Problems with my struts_config.xml?
On 6/27/07, Søren Blidor
On 6/27/07, Søren Blidorf <[EMAIL PROTECTED]> wrote:
Can anybody see if something is wrong with this struts-config.xml. I have just
upgraded struts to 1.2.9.
And a simple .do call does not work. Nothing happends. I get a blank screen and
no errors is reported i the logs
Just out of interest
--- Jeromy Evans wrote:
> This page omits attr from the context map diagram:
> http://struts.apache.org/2.x/docs/ognl.html
Not any more (once it propagates :)
d.
Sick sense of humor? Visit Yahoo! TV's
It's not left out (of the wiki, but I left it out of
my head, I guess :/
I know the feeling!
This page omits attr from the context map diagram:
http://struts.apache.org/2.x/docs/ognl.html
but the equivalent WW page includes it:
http://wiki.opensymphony.com/display/WW/OGNL
--
Whoops!
What he said.
--- Jeromy Evans wrote:
> I'm unsure why this was deliberately left out of the
> duplicate pages of the S2 wiki, but it's still
> described at WW:
It's not left out (of the wiki, but I left it out of
my head, I guess :/
http://struts.apache.org/2.x/docs/ognl-basics.html
You can access variables in the page context using the OGNL expression
#attr.propertyname, although I also prefer JSP EL.
I'm unsure why this was deliberately left out of the duplicate pages of
the S2 wiki, but it's still described at WW:
See #attr at the bottom of this page:
http://cwiki.apa
--- Bill Johnson <[EMAIL PROTECTED]> wrote:
> I was under the impression that the tag
> could access page-scoped variables, but it doesn't
> seem to work for me.
AFAIK access the OGNL stack, not
scoped variables.
Session and request are put on the stack, but not
page. Bear in mind if you're ru
Thanks
In fact they are already there! I made a mistake writing the email...
Il giorno 27/giu/07, alle ore 22:05, Guillaume Carré ha scritto:
2007/6/23, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
yes the templates are into
WEB-INFO/templates
you have to put them in tour WEB-APP root, meaning
BTW, I did see this:
https://issues.apache.org/struts/browse/WW-1576
but i'm using struts 2.0.8 and the xwork version is 2.0.3. Is this
still an xwork problem that I should ask about on opensymphony?
On 6/27/07, Steve C <[EMAIL PROTECTED]> wrote:
Hello. I am in the process of migrating my ap
2007/6/23, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
yes the templates are into
WEB-INFO/templates
you have to put them in tour WEB-APP root, meaning the directory
directly above WEB-INF
Freemarker won't find the templates in your WEB-INF directory, meaning
freemarker won't cache them
you migh
mfnospam wrote:
not sure whether this works - I'm new to s2 myself.
However there seems to be a possibility to configure brwoser caching in
struts.properties:
struts.serve.static.browserCache=false
maybe this helps
kind regards
matthias
I believe the OP is using Struts 1, though. The equival
Try turning on Struts debug logging. Either the request is never getting
to the Struts Action servlet (perhaps due to a configuration error in
your web.xml) or it is failing in a way that's not producing any errors.
Debug logs should help narrow things down.
L.
Søren Blidorf wrote:
Your righ
This is a great link, thanks so much Mark.
Session
> On 6/27/07 10:24 AM, "Toni Lyytikäinen" <[EMAIL PROTECTED]> wrote:
>
>> Or better yet, create a Login interceptor or Login filter that checks
>> the session and redirects to login page if the required key is not
>> there. Make package(s) of t
Hello. I am in the process of migrating my application from webwork
2.2.x to Struts 2 and have encountered a problem. I have a custom
interceptor which has a member variable injected by Spring. This
object is a request scoped bean which is contructed using a factory
method from another bean whi
Ok, it is done (I was bored today :) ). Make sure that the object returned
from the value stack, from the "root" expression is not null.
regards
musachy
On 6/27/07, Max Pimm <[EMAIL PROTECTED]> wrote:
Thanks a million. At the moment i'm not using the interceptor but am
deserializing my variabl
Hi Stan
Looks as if this is possible if you create your own ControllerSupport
classes (and config the classes as Spring Managed beans)
http://forum.springframework.org/showthread.php?t=17091
Anyone else?
M--
This email message and any files transmitted with it contain confidential
information
I am trying to discover a way to inject my Tiles "controllers" using Spring.
My Struts 2 site is wired using Spring with the exception of the Tiles
objects. Does anyone know if this is supported? I'm not seeing much
traffic on the Tiles forum.
Thanks,
Scott
--
View this message in context:
h
I have a question, is it a good practice to subclass dao? Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I was under the impression that the tag
could access page-scoped variables, but it doesn't
seem to work for me.
I am using the displaytag library for creating tables
as shown here:
id:
In the last column I am trying to reference the
page-scoped "row" object that is created by
disp
attachment?
M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy th
Thanks.
This is my web.xml. Which looks alot like your surgestions.
Any idears
action
org.apache.struts.action.ActionServlet
application
ApplicationResources
config
/WEB-INF/struts-config.xml
debug
2
detail
Chris,
Thank you.
I solved this problem finally.
I use a CharacterEncodingFilter you mentioned to set character encoding to
UTF-8.
Actually I've tried this filter before, but it didn't work.
The reason why it didn't work is the order of fitler mapping is incorrect in
my web.xml.
This filter must
Thanks a million. At the moment i'm not using the interceptor but am
deserializing my variable to a Map using your JSONUtil.deserialize and
then populating my variable inside my action class (i've copied your
JSONInterceptor.populateObject method).
I look forward to doing this in a cleaner way
On 6/27/07 10:24 AM, "Toni Lyytikäinen" <[EMAIL PROTECTED]> wrote:
> Or better yet, create a Login interceptor or Login filter that checks the
> session and redirects to login page if the required key is not there. Make
> package(s) of the actions you want to expose to authenticated users only and
Or better yet, create a Login interceptor or Login filter that checks the
session and redirects to login page if the required key is not there. Make
package(s) of the actions you want to expose to authenticated users only and
put the interceptor into that packages interceptor stack.
On 6/27/07, W
Vincent,
Vincent Lin wrote:
> I use POST in my form.
:(
You mentioned that MSIE seems to fail, while Mozilla Firefox works. Is
this behavior consistent? Does ff always work? Does MSIE always fail?
Can you check to see what character encoding (in the HTTP headers) is
being sent from the client w
As Ian mentioned if you look at the testcases here:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/
you will get an idea, basically an instance of the tag is created, the
output is written to an StringWriter and at the end the spaces are remo
Nope, the interceptor doesn't have that, but it would be really easy to add,
I will add it on the next few days.
regards
musachy
On 6/27/07, Max Pimm <[EMAIL PROTECTED]> wrote:
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
(http://cwiki.apache.org/S
I use POST in my form.
On 6/27/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Vincent,
Vincent Lin wrote:
> I'm having problem to submit Chinese characters from browser to web
server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expec
Vincent,
Vincent Lin wrote:
> I'm having problem to submit Chinese characters from browser to web server.
GET, POST, or both?
If it's only failing for GET, check to make sure that your app server
knows to expect UTF-8 strings in URLs (in Tomcat, for instance, this is
specified in the element of
Take a look in the source, I believe there are examples on how the theme
templates are tested.
/Ian
Mark P Ashworth wrote:
Good Day,
I am busy in the process of developing a theme that uses the css_xhtml theme
as the base and currently the process is
1. Make a change to the template
2. Depl
Well hi hehe another post on webflow ..
1. Any one tried out the feuture "SWF flow execution key can be managed in
the session rather than as a hidden field on the client." dont whant to
havae hidden params in jsp.? The example is only using the hidden param in
jsp.
2. Currently im trying to ad
Good Day,
I am busy in the process of developing a theme that uses the css_xhtml theme
as the base and currently the process is
1. Make a change to the template
2. Deploy and run the application
3. Determine in the HTML why something does not look right
It would be cool if I could make a change
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
(http://cwiki.apache.org/S2PLUGINS/json-plugin.html). My case is a
little different as i am not using SMD. I receive calls to the action
with parameters passed via the query string. Most of these paramete
Can anybody see if something is wrong with this struts-config.xml. I have just
upgraded struts to 1.2.9.
And a simple .do call does not work. Nothing happends. I get a blank screen and
no errors is reported i the logs
***
http://struts.apache.org/dtds/st
But why does it works in Firefox while it doesn't work in IE?
I think it might be caused by different http request header made by IE and
Firefox.
There might be an Interceptor or servlet filter in struts2 which change the
character encoding according to the header of http request.
On 6/27/07, Em
> -Original Message-
> From: Jon Wilmoth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 8:24 PM
> To: Struts Users Mailing List
> Subject: Re: [S2] login action w/FORM authentication?
[snip]
> This is a major bummer to say the least. I'm not sure if the tomcat
implementation
Hello Session,
See replies in context below -
> -Original Message-
> From: Session Mwamufiya [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 11:58 PM
> To: 'Struts Users Mailing List'
> Subject: Struts 2 Login example using a session
>
> Hi,
>
> I tried to follow the simple
Hello!
Im currently trying out the webflow plugin for S2 and trying out the example
i got an exception.
It happens when i got to step2 i click on backbutton on browser and then on
step1 i try to go to step2.
Then i got a
"javax.servlet.ServletException:
org.springframework.webflow.engine.NoMa
it just sets a variable that i need to use in the action.
newton.dave wrote:
>
> What does the "upload()" method in your
> do?
>
> --- vbharath19 <[EMAIL PROTECTED]> wrote:
>
>>
>> when i get the formfile using getthefile
>>
>>
>>
>> newton.dave wrote:
>> >
>> > --- vbharath19 <[EMAIL P
There is no interceptor, from what I know.
You should try to found where exactly lies the problem:
- is struts doing something wrong or the request got from the client is
already bad. You can check that by looking in the HttpRequest object, in
the debug mode
Emilia
-Original Message-
Fro
Emilia,
I've tried -Dclient.encoding.override=UTF-8, it doesn't seem to change
anything.
It's really wired that when I use IE, the Chinese characters will be
scramble.
But when I use firefox, it works correctly.
The funny thing is that the browser language setting of my IE is "zh_TW"
while the
--- Mansour <[EMAIL PROTECTED]> wrote:
> I am trying to iterate over a list and display rows
> in different style:
>
>
>
>
You're allowed to change my variable names.
I think ${foo} will work, at least if you're on a JSP
2.0 container, but I can't test it at the moment.
Can't think of any
Vincent,
Your server must have as a Java VM Argument this line:
-Dclient.encoding.override=UTF-8
(search on google client.encoding.override and you will find more)
Emilia
-Original Message-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 12:56 PM
To: St
Hi, i'm trying to populate a Map with the tag , but when i read
the map in my action i find a String array and not a String.
In my JSP i have:
where "proprieta" is my Map. In the action i have:
...
private Map proprieta = new HashMap();
public Map getProprieta()
{
By the way the settings in my JSP:
<%@ page contentType="text/html; charset=UTF-8" %>
Did I miss anything else?
On 6/27/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
Hi
I'm having problem to submit Chinese characters from browser to web
server.
I have the following settings in struts.proper
Hi
I'm having problem to submit Chinese characters from browser to web server.
I have the following settings in struts.properties:
struts.locale=zh_TW
struts.i18n.encoding=UT8
But when I submit Chinese characters to web server.
It gets scrambled characters.
(The wierd thing is that sometimes
Tony Yawe wrote:
The error message is attached!
No, it isn't. Perhaps the mailing list is stripping the attachment. In
any case, you need to provide more than just an error message.
- What version of Struts are you using?
- What are you trying to do?
- what were you expecting to happen?
- Wh
Hello,
if you have questions about JSPTabControl don't hesitate to ask me.
Regards Angelo
2007/6/27, Yoge <[EMAIL PROTECTED]>:
I have used http://webfx.eae.net/dhtml/tabpane/tabpane.html in our site
http://site24x7.com
May be u can try that also
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL P
I have used http://webfx.eae.net/dhtml/tabpane/tabpane.html in our site
http://site24x7.com
May be u can try that also
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL PROTECTED]
site24x7.com
On 6/27/07, Kavita Mehta <[EMAIL PROTECTED]> wrote:
I'm using Struts 1.2 ...
wd search more on JSPTabCo
The error message is attached!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
here is an example that is working.
datavaluebluedatavaluewite">
52 matches
Mail list logo