Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
problem in adding the values
madhuri kunchala
Ranch Hand
Posts: 350
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
im using struts2..im entering the values in
jsp
page..it should get added to the db..im using Hibernate...im trying an example program..but if i run it is throwing exception..can any one help me out..here is the error code..
javax.servlet.ServletException: Filter execution threw an exception org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
madhuri kunchala
Ranch Hand
Posts: 350
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
i tried again and im getting the error as follows...
There is no Action mapped for namespace / and action name add.
but the 'add' method is there in jsp page...the struts.xml file is
<?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" extends="struts-default" namespace=""> <action name="add" class="net.viralpatel.contact.view.ContactAction" method="add"> <result name="success" type="chain">index</result> <result name="input" type="chain">index</result> </action> <action name="delete" class="net.viralpatel.contact.view.ContactAction" method="delete"> <result name="success" type="chain">index</result> </action> <action name="index" class="net.viralpatel.contact.view.ContactAction"> <result name="success">index.jsp</result> </action> </package> </struts>
any help regarding my post
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Failed to insert text with quotes
EXTRACTING data from blank tags like CUSTOMER_NAME /CUSTOMER_NAME
Inserting values in database
nullPointerException on ejb persist
Apple + sound + permission
More...