I followed through the tutorials and examples at the DWR site.. I'm really interested in using DWR as a tool for lookups (like looking up a list of customers, then looking up a list of previous...
Type: Posts; User: wowiesy; Keyword(s):
I followed through the tutorials and examples at the DWR site.. I'm really interested in using DWR as a tool for lookups (like looking up a list of customers, then looking up a list of previous...
I've managed to make things work (as building blocks) for this app that I have in mind. So far, I've made 2 SimpleFormControllers to work: adding and deleting an entry in the database - complete with...
Given a typical Order form (customer, customer details, items, item details) - in a client/server system, the customer can easily be looked up, the items can easily be looked up - especially if the...
I am testing a simple form which adds a record to a table in a database using this controller:
package dist.web;
import javax.servlet.http.HttpServletRequest;
import...
The target is to have the webapp have a page layout that is similar to the common web interfaces nowadays: a banner on top, a navigational bar on the left portion and the body or content on the...
the /classes, /jsp, /tld were folders that I mistakenly included in the war task. I mistakenly included a nested <fileset> tag and the result was that the /classes, /jsp /tld folders, which should be...
the config xmls are actually both under the root of the war AND /WEB-INF... but I observed that if the config files are only under /WEB-INF, the app couldn't start. When I had a copy of the config...
I just put the / in the /<context>-servlet.xml as a reference to know which folder the files were all in..
In my failed trials (successful deployment of warfile in tomcat but unable to start webapp), the configuration files (web.xml, applicationContext.xml, <context>-servlet.xml are all in the /WEB-INF/...
Given the following directory structure:
/src/dist
/src/dist/business
/src/dist/domain
/src/dist/dao
/src/dist/dao/ibatis
/src/dist/dao/jdbc
/src/dist/dao/ibatis/maps
/src/dist/web
In Eclipse, when I create a new XML file (File -> New -> Other -> XML), I am presented with a catalog of XMLs, I guess Eclipse uses the catalog (which is in essence a dtd file or an xsd file) to...
How do I setup a webapp 2.4 template (dtd or xsd) in eclipse? where do I get the dtd/xsd file? I've been trying to test a simple setup and my taglibs in the JSP are not rendering properly. I'm...
I found a solution: downgrade back to Tomcat 5.5.23... The JSPs are now displayed (although I'm still having problems with the tag library not being reflected in the rendered view), but this is...
Here's the stacktrace (from tomcat logs):
Aug 3, 2007 12:29:33 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception...
Even with this (non)development, I move on and point my browser to http://localhost:8080/dsrapp/app/viewuom - expecting to view my viewuom.jsp page. This is so because :
1. context path the webapp...
I've been able to successfully deploy my sample test webapp in tomcat 6 but I'm still in that stage of testing if I did everything right. So far, here's what I've successfully created and packaged a...
i set the war file name as dsrapp.war... that was why i also tried the url http://localhost:8080/dsrapp/dsrapp/viewuom... and it didn't work...
in addition to this... doesn't the <servlet-name>...
Given the applicationContext:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd" >
<beans>
<!-- ...
was able to successfully deploy now... I just deleted some of the library JARs that were not needed at all. For now it's working, although I'm just thinking about what to do if and when I come to a...
I'm starting to try out packaging and deploying to Tomcat. I tried following the Spring MVC (configuration portion) and I was able to successfully view the index.jsp given.
I moved on to...
I expected that Spring would output (through the logs) some information that the update will not push through because of a constraint instead of a stacktrace printout like this:
2007-07-13...
I'm trying to make BLOB insertion using Spring / iBATIS / MySQL work. Here's what I got so far
the sqlmap:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC...
Can this be possibly done in iBATIS? I am using SqlMapClientDaoSupport and purposely updated a property that has a foreign key constraint (on update restrict, on delete restrict) to another table. ...
btw, this is my dao code:
package pay.dao.ibatis;
import java.util.List;
import org.springframework.dao.DataAccessException;
import pay.dao.LoanDao;
Using iBATIS/Spring/MySQL, I've managed to use SqlMapClientSupportDao for the DAOs I have. Given a column with a foreign key constraint such as ON UPDATE RESTRICT and/or ON DELETE RESTRICT on...