Hi,
I would like to know where can i get all possible values for structs
constants?
i am evaluating struts 2 rest plugin and want to have some custom handlers.
I would like to know where can i get information on this. I am trying to
figure out this from source code of rest plugin and str
Give me another suggestion pz.
mthalis wrote:
>
> i have already implemented login, logout parts using struts(jsp). But the
> case is after logged out, when i press back button it is redirected to
> the particular page that i was in before logged out. these are my codings,
> and plz kind enoug
Another thing that you can do is specify in the dwr.xml exactly which
attributes you want to return from the action so you can control what you send
though AJAX and what not.
Regards,
Néstor Boscán
-Mensaje original-
De: lllewell [mailto:laura.llewel...@gfs.com]
Enviado el: Tuesday, F
Hmmm ... that's strange I've been using the latest DWR 2 library without
problems, really strange. Well I'm glad it worked out for you. What I like
about this form of AJAX is that you can invoke the Action just like you would
be doing in a form submit. Other things that I've done is encapsulate
It is null. Can you point me in the direction of what I am missing?
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton
From: Musachy Barroso
To: Struts Users Mailing
In addition to Musachy's response, I'd add that normally it's reasonable
to include a bit more information that "I get the null pointer
exception", like *where* the exception is occuring.
Dave
Security Management wrote:
Struts 2.1, every time the LoggedInInterceptor runs, I get the null point
It seems like the default message for that validator is null. Try
adding a break point to ValidatorSupport:getMessage and see if the
defaultMessage is null.
musachy
On Thu, Feb 19, 2009 at 3:31 PM, Norris Shelton wrote:
> validateObject
--
"Hey you! Would you help me to carry the stone?" Pin
I am looking to set-up validation, but I am getting errors. I added the
following to my struts.xml:
The class that I want to validate is defined as follows:
@ParentPackage("conap")
publ
An action that is an interceptor? That won't end well. Making the
interceptor implement SessionAware won't work. You can get access to
the session in the interceptor using:
ActionContext.getContext().getSession();
musachy
On Thu, Feb 19, 2009 at 3:23 PM, Security Management
wrote:
> Struts 2.1
Struts 2.1, every time the LoggedInInterceptor runs, I get the null pointer
exception. Any ideas:
Struts.xml:
Ok, thanks Dave I will try that.
newton.dave wrote:
>
> SanJ.SANJAY wrote:
>> I am planning to redo the struts 2 integration with S1 as it is so
>> confusiong
>> and frustrating. So this time I do not want to copy blindly all the jars
>> from distribution of S2 to my S1 WEB-INF/lib. Can anyone
SanJ.SANJAY wrote:
I am planning to redo the struts 2 integration with S1 as it is so confusiong
and frustrating. So this time I do not want to copy blindly all the jars
from distribution of S2 to my S1 WEB-INF/lib. Can anyone suggest which all
jars are needed to copyy to S1 lib? There is struts2
I am planning to redo the struts 2 integration with S1 as it is so confusiong
and frustrating. So this time I do not want to copy blindly all the jars
from distribution of S2 to my S1 WEB-INF/lib. Can anyone suggest which all
jars are needed to copyy to S1 lib? There is struts2-core and what else?
JPJ wrote:
Should this be viewed as an issue of FORM tag implementation? I do not know
whether I am making a worthless statements but according my view we should
not prepend the web app context root to the action value in JSP while
rendering. Instead we should only prepend only the name space wit
musom...@aol.com wrote:
I was trying to dodge the massive renaming of the jsps to hyphenated names.
Depending on your current naming conventions the
"struts.convention.action.name.separator" might be of use.
That aside, most massive renaming tasks can be handled with a few-line
[perl|python
Hi Jim,
The following is my getter.
/**
* Gets the countryCodes
* @return the countryCodes
*/
public Collection getCountries()
{
return i_countries;
}
This loads perfectly the first time I enter the page. It is only after it is
submitted and fails validati
Is your getter named "getCountries()"?
On Thu, Feb 19, 2009 at 12:23 PM, Sidharth Bhatia <
sidharth.bhat...@gmail.com> wrote:
> Hi,
>
> Thanks for the suggestion, but this seems to have not solved the problem.
> What I have is below:
>
> private Collection i_countries = new ArrayList();
>
> thank
Hi,
Thanks for the suggestion, but this seems to have not solved the problem.
What I have is below:
private Collection i_countries = new ArrayList();
thanks,
Sid Bhatia
"Try not. Do... or do not. There is no try" -- Yoda
_
_ mailto:sidharth.bhat...@gmail.com
-Ori
I have encountered the same problem. While I have not fixed it with
Ajax yet, the reason it does not work is because you can not submit a
file through Ajax. You need to use an iFrame to submit file uploads.
On Tue, Feb 17, 2009 at 7:14 PM, Jon Wilmoth wrote:
> I'm curious to know why the s:file
If I remember correctly, in Struts 1.x you could use Struts custom tag
library for HTML components, and the one for the form element was
. It had an attribute action, which required a value to be a
name of the single action from action-mappings in your
struts-config.xml. That was what Struts we
Thanks for the quick response. If I uderstood you correctly, the problem with
this solution is that I have more than one web application in my jboss
server. And I cannot deploy as ROOT for all application on the same server.
Should this be viewed as an issue of FORM tag implementation? I do not
I guess the simplest way to achieve this is to deploy your application
as ROOT one under tomcat installations' webapps dir.
--
aidas
JPJ wrote:
Hi,
Is there anyway we can prevent the context root of the web application from
prepending to the uri of an action. I know if we use the namespace t
Hi Pawel
agreed -- I was trying to dodge the massive renaming of the jsps to
hyphenated names. Oh well...
Cheers
Chris
-Original Message-
From: Paweł Wielgus
To: Struts Users Mailing List
Sent: Thu, 19 Feb 2009 3:12 am
Subject: Re: @Result annotation (2.1.6) -- name does not defaul
Hi,
Is there anyway we can prevent the context root of the web application from
prepending to the uri of an action. I know if we use the namespace then the
url is formed by adding
ServerName+ContextRoot+NameSpace+ActionName+".action".
I am not specifying any namespace for my struts pacakge. But
See this FAQ item:
http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html
Rag wrote:
>
> Hi,
> I am using struts 2.0.11. I am using tag, struts is populating
> the list box correctly for all the time, except when the validation error
> occurs for any other
Hello at all,
im a web-developer and we're using struts 2 for the web frontend.
I've developed an application with does file upload handling and did it as
following:
SanJ.SANJAY wrote:
I have'nt increased the logging level. I also suspect the same that its not
even starting.
... Okay, then increase the logging levels and check the log.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@st
My guess is you are not populating the list in the prepare() method of
the action.
After validation error, prepare() of Preparable classes is called so
the lists are repopulated.
Felipe
On Thu, Feb 19, 2009 at 5:07 AM, sheva j wrote:
> Hi,
> I am using struts 2.0.11. I am using tag, struts is
Hi Lalchandra ,
i debuggued all the properties values, and found the one that caused a null
pointer exception
now i have got an other pb,
here is the exception
:
javax.servlet.jsp.JspException: Cannot find bean dernierCpeEmporte in any
scope
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.
Hello,
i have a jsp in which i there is a loop with nested:iterate:
<%
int indexeOr=indexOr;
OrdreRegrpmt or =
((AjustCPEGroupedByOr) ajustCpeGroupByOr)
Hi,
On Wed, Feb 18, 2009 at 4:47 PM, Bill Stilwell wrote:
> It took me a while to get the rewrite rule working. I can't remember
> if the problems were the same as yours, but the solution was to not
> put the query parameters in the but rather use type="parameter">.
So if I understand correctl
On Wed, Feb 18, 2009 at 5:37 PM, Jack Qu wrote:
> You can use struts2-jsonplugin ,that's can return json result type!
>
As I said... i need to use the rest plugin
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
Hi Chris,
just a side note, when You are using new @Result annotation You might
also use Convention style results and then You don't have to use
default success @Result at all.
Best greetings,
Paweł WIelgus.
2009/2/18 :
> I noticed while upgrading that the new @Result annotation
> [import org.ap
33 matches
Mail list logo