Re: struts2 ajax jsps

2007-08-15 Thread Ian Roughley
As it seems like you want to find a solution the option is to write 
an ActionMapper that reverses the order the URLs are currently 
determined.  Instead of looking for an action first, you would need to 
look for a static resource first, and then if not found check for an action.


/Ian

Struts2 Fan wrote:

I know that discussion but it "html" extention locks some of the
functionality of struts2, it would be better to change it from "html" to
something else. If you say *it is not easy*, at least I will post a message
on the appfuse forum. 



Ian Roughley wrote:
  
I think there was a discussion from Matt about this (appfuse using html 
extensions) a while back, you might want to check the archives.  On the 
s2 side, there are options, but I'm not sure there is an easy solution 
for using .html as an extension.


/Ian

Struts2 Fan wrote:


Opps How can I make struts to ignore this and read them as html? Or
do I
have to change the extention to get it work.

Thanks for the answer.


Ian Roughley wrote:
  
  

This line:

There is no Action mapped for namespace
/struts/dojo/src/widget/templates
and action name TabContainer. 

Seems to suggest that you may have changed the extension from ".action" 
to ".html", so s2 is looking for an action called TabContainer.


/Ian
Struts2 Fan wrote:



I met the same error, too.

I have just a simple jsp

 start of simple.jsp 
<%@ include file="/common/taglibs.jsp" %>






  




This is the right pane


 end of simple.jsp 

Here it gives the following error

 start of error 
 ERROR [btpool0-2] Dispatcher.serviceAction(512) | Could not find
action
or
result
There is no Action mapped for namespace
/struts/dojo/src/widget/templates
and action name TabContainer. - [unknown location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.StaticFilter.doFilterInternal(StaticFilter.java:106)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:75)
at
net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.

Re: struts2 ajax jsps

2007-08-15 Thread Struts2 Fan
(OncePerRequestFilter.java:75)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>>>at
>>>> com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>>>at
>>>> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>>>>at
>>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
>>>>at
>>>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
>>>>at
>>>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>>>at
>>>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>>>>at
>>>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>>>at
>>>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>>>>at
>>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>>>at
>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
>>>>at
>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
>>>>at
>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:621)
>>>>at
>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
>>>>at
>>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
>>>>at
>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>>>>at org.mortbay.jetty.Server.handle(Server.java:269)
>>>>at
>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>>>>at
>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:678)
>>>>at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
>>>>at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
>>>>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
>>>>at
>>>> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>>>>at
>>>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>>>>  end of error 
>>>>
>>>>
>>>>  start of how it is shown 
>>>> http://www.nabble.com/file/p12139503/struts_error.jpg 
>>>>  end of how it is shown 
>>>>
>>>> What did I miss? I am using 2.0.9
>>>>   
>>>>   
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>> 
>>
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a12162662
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-08-15 Thread Ian Roughley
I think there was a discussion from Matt about this (appfuse using html 
extensions) a while back, you might want to check the archives.  On the 
s2 side, there are options, but I'm not sure there is an easy solution 
for using .html as an extension.


/Ian

Struts2 Fan wrote:

Opps How can I make struts to ignore this and read them as html? Or do I
have to change the extention to get it work.

Thanks for the answer.


Ian Roughley wrote:
  

This line:

There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name TabContainer. 

Seems to suggest that you may have changed the extension from ".action" 
to ".html", so s2 is looking for an action called TabContainer.


/Ian
Struts2 Fan wrote:


I met the same error, too.

I have just a simple jsp

 start of simple.jsp 
<%@ include file="/common/taglibs.jsp" %>






  




This is the right pane


 end of simple.jsp 

Here it gives the following error

 start of error 
 ERROR [btpool0-2] Dispatcher.serviceAction(512) | Could not find action
or
result
There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name TabContainer. - [unknown location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.StaticFilter.doFilterInternal(StaticFilter.java:106)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:75)
at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274

Re: struts2 ajax jsps

2007-08-15 Thread Struts2 Fan
util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>>  at
>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>  at
>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>>  at
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
>>  at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
>>  at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:621)
>>  at
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
>>  at
>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
>>  at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>>  at org.mortbay.jetty.Server.handle(Server.java:269)
>>  at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>>  at
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:678)
>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
>>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
>>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
>>  at
>> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>>  at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>>  end of error 
>>
>>
>>  start of how it is shown 
>> http://www.nabble.com/file/p12139503/struts_error.jpg 
>>  end of how it is shown 
>>
>> What did I miss? I am using 2.0.9
>>   
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a12159978
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-08-14 Thread Struts2 Fan
r.doFilter(ExceptionTranslationFilter.java:110)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
>>  at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>  at
>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>>  at
>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>  at
>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>>  at
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
>>  at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
>>  at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
>>  at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:621)
>>  at
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
>>  at
>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
>>  at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>>  at org.mortbay.jetty.Server.handle(Server.java:269)
>>  at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>>  at
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:678)
>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
>>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
>>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
>>  at
>> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>>  at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>>  end of error 
>>
>>
>>  start of how it is shown 
>> http://www.nabble.com/file/p12139503/struts_error.jpg 
>>  end of how it is shown 
>>
>> What did I miss? I am using 2.0.9
>>   
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a12156502
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-08-14 Thread Ian Roughley

This line:

There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name TabContainer. 

Seems to suggest that you may have changed the extension from ".action" 
to ".html", so s2 is looking for an action called TabContainer.


/Ian
Struts2 Fan wrote:

I met the same error, too.

I have just a simple jsp

 start of simple.jsp 
<%@ include file="/common/taglibs.jsp" %>






  




This is the right pane


 end of simple.jsp 

Here it gives the following error

 start of error 
 ERROR [btpool0-2] Dispatcher.serviceAction(512) | Could not find action or
result
There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name TabContainer. - [unknown location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.StaticFilter.doFilterInternal(StaticFilter.java:106)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:75)
at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
 

Re: struts2 ajax jsps

2007-08-13 Thread Struts2 Fan
rChainProxy.java:274)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:621)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:269)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:678)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
 end of error 


 start of how it is shown 
it is attached
 end of how it is shown 

What did I miss? I am using 2.0.9
-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a12139503
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-07-19 Thread nmall
rn
al(CharacterEncodingFilter.java:77)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:77)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
52)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:2
30)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:149)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:123)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
41)
at org.mortbay.jetty.Server.handle(Server.java:286)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:44
4)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:701)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:340)
at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.jav
a:270)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)
DEBUG - skipping cleanup counter=1
DEBUG - Chain processed normally
DEBUG - SecurityContextHolder set to new context, as request processing
complete
d
DEBUG - Cleared thread-bound request context: GET
/SAWebapp/struts/dojo/src/widg
et/templates/TabContainer.html HTTP/1.1
Accept: */*
Accept-Language: en-us
Referer: http://localhost:8080/Webapp/example2.jsp
X-McProxyFilter: *
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1
.4322; .NET CLR 2.0.50727)
Host: localhost:8080
Connection: keep-alive
Cookie: username=user1; JSESSIONID=7d6ttcbst873r


DEBUG - Using transaction object
[org.springframework.orm.hibernate3.HibernateTr
[EMAIL PROTECTED]





Musachy Barroso wrote:
> 
> As Dave pointed out, the missing file is the one that contains  theme="ajax" /> which is required to get the ajax tags to work
> 
> musachy
> 
> On 7/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>>
>> --- nmall <[EMAIL PROTECTED]> wrote:
>> > I am trying to get started with struts ajax tags.
>> > I simply copied example2.jsp ( under ajax in
>> showcase
>> > app) into an appropriate dir in my src/main/webapp.
>>
>> > But all I see is [...]
>>
>> You can't just copy a single file from an application
>> and expect it to work.
>>
>> How about copying the file it says is missing? Did you
>> try that? And there might be others referenced within
>> commonInclude, too: you have to look at what you're
>> doing.
>>
>> d.
>>
>>
>>
>>
>>
>> 
>> Moody friends. Drama queens. Your life? Nope! - their life, your story.
>> Play Sims Stories at Yahoo! Games.
>> http://sims.yahoo.com/
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11698335
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-07-19 Thread Musachy Barroso

As Dave pointed out, the missing file is the one that contains  which is required to get the ajax tags to work

musachy

On 7/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:


--- nmall <[EMAIL PROTECTED]> wrote:
> I am trying to get started with struts ajax tags.
> I simply copied example2.jsp ( under ajax in
showcase
> app) into an appropriate dir in my src/main/webapp.

> But all I see is [...]

You can't just copy a single file from an application
and expect it to work.

How about copying the file it says is missing? Did you
try that? And there might be others referenced within
commonInclude, too: you have to look at what you're
doing.

d.






Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
"Hey you! Would you help me to carry the stone?" Pink Floyd


Re: struts2 ajax jsps

2007-07-19 Thread Dave Newton
--- nmall <[EMAIL PROTECTED]> wrote:
> I am trying to get started with struts ajax tags.
> I simply copied example2.jsp ( under ajax in
showcase
> app) into an appropriate dir in my src/main/webapp. 

> But all I see is [...]

You can't just copy a single file from an application
and expect it to work.

How about copying the file it says is missing? Did you
try that? And there might be others referenced within
commonInclude, too: you have to look at what you're
doing.

d.



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-07-19 Thread nmall

 Hi,

  I am trying to get started with struts ajax tags. I simply copied
example2.jsp ( under ajax in showcase app) into an appropriate dir in my
src/main/webapp.  But all I see is 

 I'm a Tab!!! 
I'm the other Tab!!! 

I don't see the tabbed panel test1 test2 etc.
I have a menu-config.xml with a menu defined there. Is that the reason it is
not showing the TabbedPanel?

Here is the example2.jsp.
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>



Ajax examples - tabbled panel


">







  
  I'm a Tab!!!
  
  
  I'm the other Tab!!!
  
 
  
  







 


Thanks a lot for your help/suggestions  !!!


newton.dave wrote:
> 
> --- nmall <[EMAIL PROTECTED]> wrote:
>> getting the following error while executing my jsp.
>> 
>> ...FileNotFoundException: /ajax/commonInclude.jsp
> 
> The only commonInclude I could find was in showcase;
> you shouldn't need it for your own application.
> 
> d.
> 
> 
> 
>
> 
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/  
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11691596
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-07-19 Thread Dave Newton
--- nmall <[EMAIL PROTECTED]> wrote:
> getting the following error while executing my jsp.
> 
> ...FileNotFoundException: /ajax/commonInclude.jsp

The only commonInclude I could find was in showcase;
you shouldn't need it for your own application.

d.



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts2 ajax jsps

2007-07-19 Thread Musachy Barroso
hony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.intercept(P
arametersInterceptor.java:161)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter
cept(StaticParametersInterceptor.java:105)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)


--
View this message in context:
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11689817
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
"Hey you! Would you help me to carry the stone?" Pink Floyd


struts2 ajax jsps

2007-07-19 Thread nmall
.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter
cept(StaticParametersInterceptor.java:105)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)

 
-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11689817
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]