ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brice Ruth <bdr...@gmail.com>
Subject Re: Very Confused.
Date Wed, 18 May 2005 03:55:21 GMT
Hi Dave,

If you're new to Java, I wouldn't suggest trying to setup jPetstore
... that can be kinda tricky even for folks who've been around Java
for a while.

I would suggest setting up your SqlMap.xml and sql-map-config.xml
files, as provided in the tutorial, and then creating a SqlConfig file
that initializes the configuration and provides a static method that
returns the SqlMapClient instance.

Then, create a very simple application that gets a SqlMapClient
instance and calls a query and verifies the results.

Let me know if that works for you - if you need more guidance (e.g.
code), I can help you with that, too.


On 5/17/05, Dave Guzda <dguzda@silverbirchstudios.com> wrote:
> Hello, 
> I'm trying to get *anything* to work with the iBatis setup and I'm having
> very little success... 
> I've tried to follow the tutorial and setup the PetStore example but nothing
> runs for me. I'm sure it is some sort of configuration issue... 
> I'm very new to Java ... so I'm sure that isn't helping. (Other applets and
> .java files do successfully access my database) 
> When I try to enter the store (JPetStore) I get :  
> HTTP Status 400 - Invalid path /pet/shop/index was requested 
> I also tried the example from this mailing list found here. It also won't
> run for me.
> http://www.mail-archive.com/ibatis-user-java@incubator.apache.org/msg01759.html
> Any guidance would be greatly appreciated. 
> Dave 

Brice Ruth
Software Engineer, Madison WI

View raw message