• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Request is not coming into Struts2 action method while running in Weblogic 10.3.4

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am doing one development activity based on Struts 2 + Spring 3 + Spring JDBC Template + Extjs 4.1 + Oracle 11g + Weblogic 10.3.4
I have used Extjs 4.1 to develop the UI layer. In the js page i want the combo box to be populated based on the data available on the DB.
Here is the part of my js file

var crudComboStore = new Ext.data.JsonStore({
storeId: 'table_list',
proxy: {
type: 'ajax',
url: 'adminProcess.action',
reader: {
type: 'json',
root: 'crudData'
}
},
fields : ['tablename', 'displayName']
});
crudComboStore.load();

So when request will come to the above js page it will call adminProcess.action to get the data for combo box.
Here is the struts.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="false" />

<package name="default" namespace="/" extends="struts-default">

<action name="adminForm">
<result>admin/admin.html</result>
</action>

<action name="adminProcess" method="getMasterTableList"
class="com.gm.gpd.admin.action.AdminAction">
<result name="input">admin/admin.html</result>
<result name="error">admin/admin.html</result>
<result name="success">admin/success.jsp</result>
</action>
</package>
</struts>

So if you will check the struts.xml the request should now come into getMasterTableList method of the AdminAction.java.
However it is not at all entering into the getMasterTableList method.

FYI
The above piece of code is working fine with Tomcat.
Don't understand why it is not working in Weblogic.
Kindly suggest me a solution so that it will start working in weblogic as well.
Thanks in advance.


Best regards,
Biswajit
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!