2009/5/13 KE LI :
> 15545 [http-8080-2] ERROR org.apache.struts2.dispatcher.Dispatcher -
> Could not find action or result
> There is no Action mapped for namespace / and action name main.css. -
> [unknown location]
You changed mapping for Action Servlet, right now it will catch all
request and
Sorry the code snippet should be as follows. There was a formatting error in
my previous post.
https://pay.bix.lk/servlet/payServletXX
false
Crishantha Nan
Suneel, Does this mean that, can I use something similar to the following?
https://pay.bix.lk/servlet/payServletXX
false
Here as you can see the external URL
Dear all,
I had met a strange problem:
If I modified the struts.xml file and I dont want to use .do extension for
actions. I set it as "/* ". For example, the previous link is
http://localhost:8080/test.do. Now after modification it becomes:
http://localhost:8080/test.
But when I restart the
On Tuesday 12 May 2009 11:54:35 am Lukasz Lenart wrote:
> 2009/5/12 manub :
> > Yes, I'm behind a proxy. How to disable that functionality? Thanks in
> > advance.
>
> Sorry, no idea. It's related to Digester itself, try to look in that
> direction.
>
>
If I remember correctly, this problem is rela
Can someone show me using my example of how to use the PUT feature of
the REST Plugin. I'll provide my example that doesn't work. I need
to know if I'm setting this up correctly using GWT. I can't get it to
work. The Confluence showed id=Thrillers so I've also tried
&id=customers and that didn'
Hi,
I'm in trouble, i use a ValidationForm and the validation plugin to validate
my formBean.
Every time i push the button to submit my action and don't validate i see
twice error messages.
Can you help me?
Thanks,
Rodrigo.
validation.xml
You can use the 'Redirect Result'. Check here:
http://struts.apache.org/2.1.6/docs/result-types.html
On Tue, May 12, 2009 at 7:31 AM, Crishantha Nanayakkara
wrote:
>
> Hi All,
>
> How can I invoke an external URL (absolute path) using the struts framework?
> I can see tags within tag in struts.x
You can just leave the class attribute blank. Read this:
http://struts.apache.org/2.1.6/docs/action-configuration.html
On Tue, May 12, 2009 at 10:20 AM, Jim Kiley wrote:
> It is ActionSupport.
> When you don't have access to a book you may find that you get faster
> results from Google[1] or the
The same code (EAR) did not throw the above exceptions in WebSphere 5.1
server.
Migrating Struts 1.0 application from WebSphere 5.1 to WebSphere 6.1 in
z/OS. After successfully deploying Struts 1.0 app in WebSphere 6.1 server, I
start the application. As the application starts up, I get the foll
If the validations fails or if something goes wrong , Struts 2 will forward
the response to look for input in sturts.xml file for the specified action.
Regards,
Siddiq
--- On Tue, 5/12/09, Jim Collings wrote:
From: Jim Collings
Subject: Where is result input coming from?
To: "Struts Users
It's nowhere in my code. All of my results are hard coded things like
"SUCCESS". Any ideas where this is coming from and why?
Jim C.
2009/5/12 manub :
> I got a strange error when I try to develop a simple blank Struts2
> Application with Tiles support. The strangest thing is that this
> application, without any modify, works on another PC.
Versions of Struts and Tiles, please.
Antonio
After some debugging the culprit was the checkbox interceptor.
It uses false as a default value when nothing is selected. I tried
setting the uncheckedValue to -1 and it didnt work.
-1
I upgraded to the latest version of Struts 2 and then it worked.
On Mon, May 11, 2009 at 3:
2009/5/12 manub :
> Yes, I'm behind a proxy. How to disable that functionality? Thanks in
> advance.
Sorry, no idea. It's related to Digester itself, try to look in that direction.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
It is ActionSupport.
When you don't have access to a book you may find that you get faster
results from Google[1] or the introductory documentation[2] than the mailing
list.
jk
[1]
http://www.google.com/search?rlz=1C1GGLS_enUS291US303&sourceid=chrome&ie=UTF-8&q=struts+2+action+class+execute+succes
Is there a default class that we can use in struts.xml that can be used for
just forward request to a new html page.
Basically user clicking a link and going to a new page. I dont want to make
an execute method that just returns SUCCESS. Rather there must be some
default class that does that. I
wow, that was quick, thanks Musachy!
On 5/12/09, Musachy Barroso wrote:
> fixed in svn trunk. not big deal, the dependency is not required as it
> is an extension point. Thanks for reporting!
>
> musachy
>
> On Tue, May 12, 2009 at 9:55 AM, Musachy Barroso wrote:
>> yeah, it is broken: https://i
fixed in svn trunk. not big deal, the dependency is not required as it
is an extension point. Thanks for reporting!
musachy
On Tue, May 12, 2009 at 9:55 AM, Musachy Barroso wrote:
> yeah, it is broken: https://issues.apache.org/struts/browse/WW-3124
>
> On Tue, May 12, 2009 at 9:51 AM, Musachy B
yeah, it is broken: https://issues.apache.org/struts/browse/WW-3124
On Tue, May 12, 2009 at 9:51 AM, Musachy Barroso wrote:
> A patch was recently applied to the templates plugin, and maybe
> something is broken. I will take a look, thanks for reporting.
>
> musachy
>
> On Tue, May 12, 2009 at 9:
Ok, I found the solution.. Actually another in house app had run into the
same problem.. Here is the solution for anyone else.. BTW: we eventually
found this issue by searching "declarative security 404".
FORM
/login-redirect.
A patch was recently applied to the templates plugin, and maybe
something is broken. I will take a look, thanks for reporting.
musachy
On Tue, May 12, 2009 at 9:13 AM, Thomas Terrace wrote:
> Has anyone else been able to use the java templates plugin
> successfully with 2.1.7? Using struts2-blan
Fixed in svn trunk
musachy
On Tue, May 12, 2009 at 9:32 AM, Musachy Barroso wrote:
> https://issues.apache.org/struts/browse/WW-3123
>
> On Tue, May 12, 2009 at 9:24 AM, Musachy Barroso wrote:
>> Right now there is no way, we could add a flag that check if there are
>> annotated methods, and pr
https://issues.apache.org/struts/browse/WW-3123
On Tue, May 12, 2009 at 9:24 AM, Musachy Barroso wrote:
> Right now there is no way, we could add a flag that check if there are
> annotated methods, and prevents the mapping of "execute"
>
> musachy
>
> On Tue, May 12, 2009 at 8:58 AM, Dave Newton
Jim Collings wrote:
I am also trying to retrieve an item in the header so that I can place it in
the value stack. Any ideas on how best to accomplish this?
On Tue, May 12, 2009 at 8:37 AM, Norris Shelton wrote:
I looked in the interceptors and did not see one that pulled the heders.
AFAIK yo
David Canos wrote:
I have upgraded an application to Struts 2.1.6. and error says:
ClassNotFoundException:org.springframework.core.SmartClassLoader
I have used all the libs that are attached in struts-2.1.6-all.zip.
are all that libs correct?
I find it unlikely. You should use the *actual depen
Right now there is no way, we could add a flag that check if there are
annotated methods, and prevents the mapping of "execute"
musachy
On Tue, May 12, 2009 at 8:58 AM, Dave Newton wrote:
> Crombie, Joe - BRS wrote:
>>
>> Hi All,
>> I'm currently switching to 2.1.6 and the Convention plugin for
Has anyone else been able to use the java templates plugin
successfully with 2.1.7? Using struts2-blank-2.1.7.war compiled from
source yesterday, I dropped the javatemplates 2.1.7 jar into lib and
added the following lines to struts.xml:
The error:
SEVERE: Could not open template
ServletRequestAware?
jk
On Tue, May 12, 2009 at 9:03 AM, Jim Collings wrote:
> Hmmm... So there isn't already an HeaderInterceptor? Seems odd.
>
>
> Jim C.
>
> On Tue, May 12, 2009 at 8:54 AM, Struts Two wrote:
>
> >
> > Here is one way I did to get "Authorization" value in the header:
> >
> >
2009/5/11 NR031 :
> Map sesion=ActionContext.getContext().getSession();
> sesion.put("username",getUn()); /*getun() returns the username form field
> data*/
>
> I want to use this session data in all my JSP pages, how to use the session
> data in my JSP? I am using Struts -2 and NetBeans 6.1 IDE
Hmmm... So there isn't already an HeaderInterceptor? Seems odd.
Jim C.
On Tue, May 12, 2009 at 8:54 AM, Struts Two wrote:
>
> Here is one way I did to get "Authorization" value in the header:
>
> 1- Define an interceptor that retrieves "HttpServletRequest"
> 2- Define an interface ,say Header
Crombie, Joe - BRS wrote:
Hi All,
I'm currently switching to 2.1.6 and the Convention plugin for
configuration.
I tend to use POJOs for my Action classes, and map actions to methods.
My problem is that when I extend ActionSupport, Convention generates a
default mapping to the execute metho
Here is one way I did to get "Authorization" value in the header:
1- Define an interceptor that retrieves "HttpServletRequest"
2- Define an interface ,say HeaderAware.
3- In your interceptor retrieve related values from Header and then inject it
into your action if it implements "HeaderAware.
T
Hi
I am using Struts-Tiles Framework in my webproject.
I want to reload the tiles-def.xml file at run time.
I have included the following servlet in struts-config.xml.
But, tiles-def is not reloaded at run time. [cid:image001.gif@01C9D2E9.2C3D5640]
Can anyone help in this? If i modify tiles-
I am also trying to retrieve an item in the header so that I can place it in
the value stack. Any ideas on how best to accomplish this?
Jim C.
On Tue, May 12, 2009 at 8:37 AM, Norris Shelton wrote:
> I looked in the interceptors and did not see one that pulled the heders.
>
>
> Norris Shelton
>
I looked in the interceptors and did not see one that pulled the heders.
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton
Hi All,
How can I invoke an external URL (absolute path) using the struts framework?
I can see tags within tag in struts.xml to invoke a relative URL
within the application. But I am unable to find a way to call an external
URL passing certain parameters.
For example, in normal JSPs, we can spe
I was just starting to work with Convention plugin and I get this exception
trace.
I have tried to add
to my struts.xml, but it does nothing.
Can anyone help me?
thanks
java.lang.Exception: Could not
load MultiColumnPrinter.class
at
com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(
Thanks a lot..
i have changed my config of interceptors as
now its working fine.i will do unit test completely and update soon.
On Tue, May 12, 2009 at 5:22 PM, Nils-Helge Garli Hegvik
wrote:
> Here's
Here's an example:
http://struts.apache.org/2.1.6/docs/interceptor-configuration.html
Note how a custom stack is defined and how the custom stack is
referring to the "defaultStack".
Nils-H
On Tue, May 12, 2009 at 1:33 PM, Murugesh wrote:
> and also am very new to Interceptors
>
> On Tue, May 12
and also am very new to Interceptors
On Tue, May 12, 2009 at 5:00 PM, Murugesh wrote:
> Thanks Nils-H.
>
> i am not clear. can i have the sample for this?
>
> On Tue, May 12, 2009 at 4:57 PM, Nils-Helge Garli Hegvik <
> nil...@gmail.com> wrote:
>
>> You have configured your interceptor as the
Thanks Nils-H.
i am not clear. can i have the sample for this?
On Tue, May 12, 2009 at 4:57 PM, Nils-Helge Garli Hegvik
wrote:
> You have configured your interceptor as the only one in the stack.
> When you create your own interceptor stack, make sure you also include
> one of the framework stac
Lukasz Lenart wrote:
>
> 2009/5/12 manub :
>> Anyone can suggest me how to handle this?
>
> XML parser is trying to connect over the Internet to validate XML base
> on DTD, do you have proxy in use? It was possible to disable such
> function and to use local DTD copy instead.
>
>
> Regards
>
You have configured your interceptor as the only one in the stack.
When you create your own interceptor stack, make sure you also include
one of the framework stacks (e.g. basicStack).
Nils-H
On Tue, May 12, 2009 at 1:04 PM, Murugesh wrote:
>
>
>
> class="com.action.gene
and my logininterceptor is
public class logininterceptor extends AbstractInterceptor {
private static final String USER_KEY = "isLoggedin";
public String intercept(ActionInvocation invocation) throws Exception {
Map session = invocation.getInvocationContext().getSession();
System.out
2009/5/12 manub :
> Anyone can suggest me how to handle this?
XML parser is trying to connect over the Internet to validate XML base
on DTD, do you have proxy in use? It was possible to disable such
function and to use local DTD copy instead.
Regards
--
Lukasz
http://www.lenart.org.pl/
---
/login.jsp
/data.jsp
I am have default interceptor named login. i am chking session validation
(like is user loggin r not ). it seems work but after running interceptor
it backs to actionclass, here i am chking req
It would certainly be a lot easier to help if you could show your
configuration and code...
Nils-H
On Tue, May 12, 2009 at 12:54 PM, Murugesh wrote:
> I am doing task on struts2. In that I have to use custom
> AutherizationInterceptor. In my custom Interceptor Im checking weather user
> is in s
I am doing task on struts2. In that I have to use custom
AutherizationInterceptor. In my custom Interceptor Im checking weather user
is in session or not. And if he tries to attempt login I gave parameter in
struts.xml as true So Im checking against it and interceptor redirects
action to Home. But
Hello there,
I got a strange error when I try to develop a simple blank Struts2
Application with Tiles support. The strangest thing is that this
application, without any modify, works on another PC.
Here's my stacktrace:
12-mag-2009 11.36.06 org.apache.catalina.core.StandardContext listenerStar
Hi folks
I have upgraded an application to Struts 2.1.6. and error says:
ClassNotFoundException:org.springframework.core.SmartClassLoader
I have used all the libs that are attached in struts-2.1.6-all.zip.
are all that libs correct?
I mean, it's hard to believe that this versions were right toget
51 matches
Mail list logo