2008/3/12, Griffith, Michael * [EMAIL PROTECTED]:
if( getFlush() ){
LOG.debug(Flushing output stream);
out.close(); // ...and flush...
}
Yup you're right! Please open a JIRA issue:
https://issues.apache.org/struts/browse/WW
In fact
2008/3/13, Antonio Petrelli [EMAIL PROTECTED]:
2008/3/12, Griffith, Michael * [EMAIL PROTECTED]:
if( getFlush() ){
LOG.debug(Flushing output stream);
out.close(); // ...and flush...
}
Yup you're right! Please open a JIRA
Hi,
I am new to Struts and new to this list. I want to create a blog with
struts as a university project and have been wrestling with this
(obscenely) simple problem for two days without any progress. Maybe any
of you struts experts may help out here:
All I want to do is access a GET
Sean Chen wrote:
Dear all,
The latest struts wml tag library I found is struts-wml 1.1. Does
anyone know what I can work with wml tag with struts 1.3.x?
Thank you
Sean
Since I'd never heard of struts-wml I googled, and found the SourceForge
project page for it. It doesn't look like
Hi
I'm Trying to use ActionForm and Action class in my struts2. I Used the
struts 1 plugin for this. I followed the procedure, which they given. Still
i'm finding error in this.
I'm giving my entire application here.
strutslogin.jsp
---
%@ taglib prefix=s uri=/struts-tags
Kindly help.. I have not been able to solve it yet.
-- Forwarded message --
From: Rushikesh Thakkar [EMAIL PROTECTED]
Date: Fri, Mar 7, 2008 at 3:40 PM
Subject: Parameters: Invalid chunk ignored (parameters not passed)
To: Struts Users Mailing List user@struts.apache.org
I am
Hi friends
Can any one tell me how to implement ajax in struts 1.1 with simple
example.Can any one provide complete code for that.
Thanks in advance
Raghu Varma Bhupathiraju
--
View this message in context:
http://www.nabble.com/How-to-implement-ajax-in-struts-1.1-tp16024761p16024761.html
Sent
Hi Tauri,
I don't have time to try it myself right now, but what I meant was
create an additional default package that contains no actions. I'm not
sure if it will help though. The idea is that when the default action
mapper can't match the namespace, it falls back to an empty back.
Like
--- Christoph Kepper [EMAIL PROTECTED] wrote:
action name=artikel method=input class=action.ArtikelAction
result name=success type=redirectActionadmin/result
result name=input/WEB-INF/jsp/artikelForm.jsp/result
/action
My action class (ArtikelAction.java) contains the property private
--- udaykumar [EMAIL PROTECTED] wrote:
I'm Trying to use ActionForm and Action class in my struts2. I Used the
struts 1 plugin for this. I followed the procedure, which they given. Still
i'm finding error in this.
It would be helpful if you'd tell us *what* error(s). Just saying it doesn't
--- Raghu varma bhupathiraju [EMAIL PROTECTED] wrote:
Can any one tell me how to implement ajax in struts 1.1 with simple
example. Can any one provide complete code for that.
...
You'd have to provide a somewhat less-nebulous requirement. There are dozens
of ways to implement Ajax in Struts
Any ideas?
-Original Message-
From: Peters, John
Sent: Friday, March 07, 2008 10:57 PM
To: 'Struts Users Mailing List'
Subject: Struts get string and is boolean
Is it possible to have multiple methods for the same value?
Then have the jsp either load a text box or a check box For
--- Peters, John [EMAIL PROTECTED] wrote:
Any ideas?
I haven't seen any replies other than my own.
Dave
From: Peters, John
Is it possible to have multiple methods for the same value?
Then have the jsp either load a text box or a check box For example
Depending the circumstance I load
Thankssorry I missed it..inbox was cluttered
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 9:27 AM
To: Struts Users Mailing List
Subject: RE: Struts get string and is boolean
--- Peters, John [EMAIL PROTECTED] wrote:
Any ideas?
If the disable attribute is present in a HTML tag it will be disable,
no matter what the value of the attribute is.
So if I have a s:select and I say disabled=false it will be
disabled (renders disabled=disabled).
But if we have a text, and we set readonly=false it will not be editable.
On my
Hi all !
I have a little issue and I find no clues on the web, so i'm turning myself
to you.
I have a piece of code like this :
div id=menu_image_galleryss:property value='id'/
s:property id=s:property value='id'/ value=id/
s:a theme=ajax href=%{EditImageGallery}
I made a slight error
readonly=%{fullAccess} with s:textfield does not work but
input type=text name=description id=description s:if
test=!fullAccessreadonly=true/s:if /
works.
On Thu, Mar 13, 2008 at 10:48 AM, Richard Sayre [EMAIL PROTECTED] wrote:
If the disable attribute is present in a
try:
s:a theme=ajax href=%{copyImageGallery}
targets=dataImageDiv%{id}/Copy/s:a
if id is on the stack, you can get it with OGNL
On Thu, Mar 13, 2008 at 10:49 AM, matthieu martin [EMAIL PROTECTED] wrote:
Hi all !
I have a little issue and I find no clues on the web, so i'm turning myself
--- matthieu martin [EMAIL PROTECTED] wrote:
s:property id=s:property value='id'/ value=id/
That's not valid XML; you can't nest tags like that. Off the top of my head I
don't recall if the id attribute will eval OGNL or not.
Dave
Add parameter formFilter=formFilter to your s:submit .../
and create Javascript function in head
function formFilter(element) {
return true;
}
it's funny but works! :-)
Rushikesh Thakkar wrote:
Kindly help.. I have not been able to solve it yet.
-- Forwarded message
On Thu, Mar 13, 2008 at 3:26 PM, Richard Sayre [EMAIL PROTECTED]
wrote:
try:
s:a theme=ajax href=%{copyImageGallery}
targets=dataImageDiv%{id}/Copy/s:a
if id is on the stack, you can get it with OGNL
This works, thanks a lot. I haven't working for a long time with struts 2
and I still
When I deploying my War file in Weblogic 8.1, I am getting the following
error:
Error in using tag library uri='/WEB-INF/tlds/struts-html.tld'
prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag' has no
setter method corresponding to TLD declared attribute 'acceptCharset', (JSP
Hi all !
I have a rather disturbing issue with a file upload.
I have the s:file tag used along with a form. This works just fine, I get
my files on the server. In my action, I move my file where I want to, and I
create my entry in the database. I refresh my div containing my images.
The problem
2008/3/13, kannan_307 [EMAIL PROTECTED]:
When I deploying my War file in Weblogic 8.1, I am getting the following
error:
Error in using tag library uri='/WEB-INF/tlds/struts-html.tld'
prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag' has
no
setter method corresponding
I tried it and Its Not Working !!
Thanks anyways, but can you tell me what does it do? I didn't find any
property as 'formFilter' in the documentation given for s:submit / in the
tag reference.
On Thu, Mar 13, 2008 at 3:32 PM, bierb [EMAIL PROTECTED] wrote:
Add parameter formFilter=formFilter
--- Rushikesh Thakkar [EMAIL PROTECTED] wrote:
Thanks anyways, but can you tell me what does it do? I didn't find any
property as 'formFilter' in the documentation given for s:submit / in the
tag reference.
http://struts.apache.org/2.0.11.1/docs/dojo-submit.html
Dave
Dave Newton wrote:
--- matthieu martin [EMAIL PROTECTED] wrote:
s:property id=s:property value='id'/ value=id/
That's not valid XML; you can't nest tags like that. Off the top of my head I
don't recall if the id attribute will eval OGNL or not.
To be pedantic, JSPs are not XML
Laurie Harper wrote:
Dave Newton wrote:
--- matthieu martin [EMAIL PROTECTED] wrote:
s:property id=s:property value='id'/ value=id/
That's not valid XML; you can't nest tags like that. Off the top of my
head I
don't recall if the id attribute will eval OGNL or not.
To be
Thanks Dave. Thats the one I am using, but I was referring to
http://struts.apache.org/2.x/docs/submit.html
Bierb, can you tell me what does your code do? I might get an idea..
Does anybody have an Idea of when this error is thrown?
07.mar.2008 15:30:46
I have done it.. It goes like this:
(1) The Action:
public class PrepareScreen extends ActionSupport {
private String yesOrNo;
public String execute() throws Exception {
yesOrNo = true;
return SUCCESS;
}
public String getYesOrNo() {
return yesOrNo;
}
Ha ha I was trying this and couldn;t get it to work. My mistake was
fullAccess = true, so readOnly=%{fullAccess} was returning true, i
meant to say readOnly=%{!fullAccess}.
thanks
On Thu, Mar 13, 2008 at 1:01 PM, Rushikesh Thakkar
[EMAIL PROTECTED] wrote:
I have done it.. It goes like this:
I actually thought you couldn't nest s:* tags. You can nest them in
regular HTML tags because the JSP and the HTML are interpreted at
different steps, so from the separate perspectives of the two parsers
there's not really any nesting going on (the JSP parser on the server
only cares about JSP
I am attaching a WAR file which uses code to obtain the user id via NTLM.
This code works fine on Tomcat and Weblogic 9.2 on unix (if i do not use
s:form/ in the Home.jsp - I do not know why that breaks
http://www.nabble.com/file/p16032835/NTLM1.war NTLM1.war )
This WAR does not work on Weblogic
I am working on a piece of code where a single action services several
methods. It uses a wildcard mapping and the method attribute of the
s:button/ tag is what drives the specific methods. I was unable to get
the validators to work and started debugging the
AnnotationValidationInterceptor to
Thanks to your hint I found the mistake :-)
Dave Newton wrote:
I tried to get some debug information from the params interceptor and
put the following code into my struts.xml (inside the action):
interceptor-ref name=params
param name=logEnabledtrue/param
param name=logLevelDEBUG/param
Check if form action=query works.
I had the same issue with this on a UNIX environment(struts 2). When i
replaced the s:form tag with the regular form tag...it worked fine
Tarun Reddy wrote:
Hi all,
I'm using NTLM authentication to let the user in. After the user gets into
the
Ok i found out what was going wrong.
I used the sun package to encode new
sun.misc.BASE64Encoder().encodeBuffer(msg1)
I replaced it with a class I got from http://iharder.net/base64 and it works
fine now. I did not know sun.* apis are not supposed to be used
dgv123 wrote:
I am
I am trying to use dojo and the JSON plugin, but I have hit a snag. I am
using JSON to serialize: ArrayListProject projectList.
It seems to do this fine, as I can see the result in firebug. The
problem I am having is that the JSON response seems to be missing
something, and I cant figure out how
you don't have a projectList field in the response, only an array of
objects. If you do:
responseObject[0].name
it will return Alarming page.
musachy
On Thu, Mar 13, 2008 at 4:30 PM, Stanley, Eric [EMAIL PROTECTED] wrote:
I am trying to use dojo and the JSON plugin, but I have hit a snag. I
Musachy,
Thanks for the quick reply. I just added what you suggested and
tried it. This is the response:
undefined
What else can I check?
-Ryan
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 2:36 PM
To: Struts Users Mailing
Musachy,
I tried just printing out responseObject[i] where I was 1-10,
and it returns the actual characters of the response like it is an
array:
responseObject[0] = [
responseObject[1] = {
responseObject[2] =
Is it a problem with converting my ArrayListProject into json?
-Ryan
Laurie Harper, email-me please. I think I have help to you.
An emabrace
[EMAIL PROTECTED]
- Original Message -
From: Laurie Harper [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, March 13, 2008 5:26 AM
Subject: Re: struts wml
Sean Chen wrote:
Dear all,
The
I really like the treatment the JQuery
http://jquery.bassistance.de/validate/demo/ validation plugin (not struts
plugin), gives for a user experience. I would really like the rules to come
from back end rules and decorate the form fields the same way if the back
end bounces a validation error.
Martin,
Im not sure I catch what your saying. I understood it was the
json plugin that determined the format of the json response. I am not
using an autocompleter either.
-Ryan
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 4:15
Stanley, Eric wrote:
I tried just printing out responseObject[i]
How in your javascript code do you convert the text of the response into
responseObject?
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Dale,
I am using dojo, so here is the snippet that handles the
request/response:
var kw = {
url: url,
mimetype: text/json,
method: POST,
load: function(responseObject, ioArgs) {
console.debug(responseObject[0].name); // Dump it to the
console
Hi all
i'm just starting with struts2 (even with struts at all). Of course i first
read some how-to-starts. But there is one thing i don't understand.
I'm trying to create a simple little chat app. I have two action classes,
one for the normal chat user, one for the moderators. Both classes
If response[i] is a char then the response is a text, not an object.
If I don't remember wrong dojo builds the object for you when the
mimetype is application/json, but I am not sure right now. Use the
eval function to turn the text into an object.
musachy
On Thu, Mar 13, 2008 at 5:31 PM,
Hi All,
I took the current quickstart application and added sitemesh to the
pom.xml and added all the necessary files for sitemesh, the dojo that listed
the Persons broke. The decorator works but the ajax failed with Error loading
'/quickstart/list.action' (200 OK) Is there any special
Musachy,
That seems to work. I now see the proper response when I call
response[0].name. Thanks.
-Ryan
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 3:45 PM
To: Struts Users Mailing List
Subject: Re: [struts] JSON plugin
If
For a POJO you can use dependency injection such as Spring or Guice or you
can instantiate the object the normal way
BusinessServiceObject bso = new BusinessServiceObject();
in your action class. There is nothing special about accessing your BSO's in
Struts.
Regards,
Randy Burgess
Sr. Web
The current usage of Annotating methods seems broken.
Its still applying all the validation rules to all methods despite methods
having different validation requirements.
The Struts Zero Config/Annotation/Auto Config needs help
Hopefully, a http://jira.opensymphony.com/browse/XW-603
Hi Randy
Hi all
I just read a bit regarding Spring. As far as i understand its focus is on
J2EE appllications. I guess for what i want to do in a first step (my simple
chat app) it would be overkill to use Spring. Do i get that right?
I would prefere to go the most simple way if possible. So,
--- Frank Fischer [EMAIL PROTECTED] wrote:
I just read a bit regarding Spring. As far as i understand its focus is on
J2EE appllications. I guess for what i want to do in a first step (my
simple chat app) it would be overkill to use Spring. Do i get that right?
Not really.
IMO Spring is a
Hi Frank,
Have a read of Martin Fowler's article on deciding which option best
suits you:
http://martinfowler.com/articles/injection.html
As Dave described you have many possibilities, but the common techniques
are (not in order of preference):
a. Use a ServletContextListener to to setup
thx all,
i solve my problem with quartz, i used it with spring
thx so much
- Original Message
From: Peters, John [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, March 12, 2008 10:14:18 PM
Subject: RE: Struts 2 scheduler
Depends on the
I am using the struts version 1.2.4
Antonio Petrelli-3 wrote:
2008/3/13, kannan_307 [EMAIL PROTECTED]:
When I deploying my War file in Weblogic 8.1, I am getting the following
error:
Error in using tag library uri='/WEB-INF/tlds/struts-html.tld'
prefix='html': The Tag class
akash agrawal-2 wrote:
Hi,
Is this possible to do selective validation using validation.xml? What I
meant by this is that calling a different set of validation on
each(different) invocation of same action and same method.
Quite possible: in that case u would write valildation as:
hi,
We have two pages a.jsp and b.jsp developed with the action class mehods
Ac.a() Ac.b() that render these pages. Now we need to develop a new page
c.jsp which is combination of both a b.jsps.
i can include the jsps into the c.jsp. But what abt the action class behind?
can they not get
59 matches
Mail list logo