You were right on with the URL there Dustin. With that fix, the app is up and
running now.
Thank you for your advice.
-Tony
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127984#4127984
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
I sincerely doubt that this is valid:
| url-pattern="http://localhost:8080/trading/getchart/";
|
try this instead:
| url-pattern="/trading/getchart/*"
|
also you probably want to create to create the Component if it doesnt already
exist in the current convo. ala:
| quoteDS = (Cha
I have put the specific prefix but I still can't get it to work.
http://localhost:8080/trading/getchart/"; />
|
My servlet is as followed:
public class GetChart extends HttpServlet {
| private static final long serialVersionUID = -6087384050664740696L;
|
| @In("wcQuoteDS")
You need to map a specific prefix or suffix as nickarls
says
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121752#4121752
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121752
_
not sure that mapping the "*" is a good idea, try to hit the URL where the
servlet is mapped to...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121715#4121715
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121715
___
Component.getInstance("component Name") threw the following exceptions:
anonymous wrote : java.lang.IllegalStateException: No application context active
:(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121712#4121712
Reply to the post :
http://www.jboss.co
I think it's mostly using Conversation.getId() for returning new conversations,
you shouldn't need to use it normally(?)
And Contexts.lookupInStatefulContexts("nameofthebean") still returns null?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121711#4121711
BTW, cid is on the URL. Is that sufficient for the servlet filter or I need to
do something more?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121710#4121710
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121710
___
I only enabled the servlet filter suggested in the document.
anonymous wrote :
I must be missing something. The document mentioned that I need to pass along
the conversationId but I am sure how to do that.
Any suggestion?
Thanks
View the original post :
http://www.jboss.com/index.html?modul
Are you using a web:context-filter as documented in 25.1.4.7?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121669#4121669
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121669
_
you can also use Component.getInstance("component Name"); and remove all @In
annotations.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121667#4121667
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121667
You can Inject only to a seam component? And seam component is the one which
declares @Name annotation. I dont see that on your servlet.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121631#4121631
Reply to the post :
http://www.jboss.com/index.html?module=
12 matches
Mail list logo