Hi Freddy!
thanks for the prompt response.

ah, my question wasn't really that. Maybe I haven't stated it clearly
enough. I'm using linux and I found that the Ant script (somehow) manages do
creates the webmaildb* files. But before I ran the ant dbstart where is the
file with the DB structure located? I mean, using MySQL, I would ran a sql
script with my table info in it and after that the table structure would be
availabe through MySQL's demon.

Another question, I'm having a very hard time trying to set tomcat up so it
could hot deploy my Stripes app. I've changed the context file, created a
shell script moving the war file to the webapp directory. NOthing works. Is
there some easy way to achieve it? I saw there is a hot deploy plugin, but I
dunno if won't lose more time trying to get it to work.. what is your
thoughts about it?

thanks!



>
> Hi Fabio,
>
> > My question is: where is the information about the DB located? I've
> > searched
> > through the ant files, and could only locate this line about the DB
> > whereabouts:
> >
> >       <arg line="-database.0 file:${user.home}/webmaildb -dbname.0
> > webmail"/>
> >
> >
> > but there is no webmaildb in my computer at all!! where is it?
>
> The files are named webmaildb.* in your home directory. That directory
> depends on your user name and OS; for example, on Windows it is under
> C:\Documents And Settings\<your user name> (if my memory serves), under
> Linux it is typically /home/<your user name>, on a Mac, I don't know.
>
> You can always change the ant file and put a different path. For
> example,
>
> <arg line="-database.0 file:./webmaildb -dbname.0 webmail"/>
>
> puts the files in the current working directory. You can also hardcode
> an absolute path of your choice.
>
> > I'm reading and going through the Stripes book (Daoud) and I'm having a
> > serious trouble trying to understand how the HSQLDB works.
> >  I'm used to the way MySQL works as a demon, etc, but I'm baffled about
> >  the
> > way Daoud setted the DB up.
>
> I hope that the explanations above clear things up. If you need more
> clarification please let me know! I'll do my best to answer.
>
> Cheers,
> Freddy
> http://www.stripesbook.com
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 18 Aug 2009 10:57:04 -0500
> From: Gerardo Corro <[email protected]>
> Subject: [Stripes-users] ForwardResolution does not go to right target
> To: <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"
>
>
> Hi all,
>
>
> I'm using the ForwardResolution, I want to make an internal redirection
> from:
>
> http://localhost:8081/url_a
>
> to:
>
> http://localhost:8081/url_x/?extras=yes
>
> So, when getting a request for "/url_a" in my front action bean I have:
>
> return new ForwardResolution("/url_x/?extras=yes");
>
> but at the end the resource is resolved as:
>
> HTTP Status 404 - /url_a/url_x/
> type Status report
> message /url_a/url_x/
> description The requested resource (/url_a/url_x/) is not available.
>
> What I'm doing wrong?
>
> Thanks!
> _________________________________________________________________
> More than messages?check out the rest of the Windows Live?.
> http://www.microsoft.com/windows/windowslive/
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 5
> Date: Tue, 18 Aug 2009 12:48:05 -0400
> From: "Newman, John W" <[email protected]>
> Subject: Re: [Stripes-users] ForwardResolution does not go to right
>        target
> To: Stripes Users List <[email protected]>
> Message-ID:
>        <
> d688c4d318a63d4290aa94a33e06f7d20275782...@msxmbxnsprd14.acct.upmchs.net>
>
> Content-Type: text/plain; charset="us-ascii"
>
> If you're going outside of the currently running webapp, I don't believe
> you can't forward.  You'll have to use
>
> public RedirectResolution(String url, boolean prependContext)
>
> if prependContext is false stripes doesn't tack on /url_a allowing you to
> redirect to xyz.com or localhost/AnotherApp/.  You'll probably have to do
> .addParameter("x", getX()).addParameter("y", getY()) to pass any params
> over.
>
>
>
> From: Gerardo Corro [mailto:[email protected]]
> Sent: Tuesday, August 18, 2009 11:57 AM
> To: [email protected]
> Subject: [Stripes-users] ForwardResolution does not go to right target
>
> Hi all,
>
>
> I'm using the ForwardResolution, I want to make an internal redirection
> from:
>
> http://localhost:8081/url_a
>
> to:
>
> http://localhost:8081/url_x/?extras=yes
>
> So, when getting a request for "/url_a" in my front action bean I have:
>
> return new ForwardResolution("/url_x/?extras=yes");
>
> but at the end the resource is resolved as:
>
> HTTP Status 404 - /url_a/url_x/
> type Status report
> message /url_a/url_x/
> description The requested resource (/url_a/url_x/) is not available.
>
> What I'm doing wrong?
>
> Thanks!
> ________________________________
> check out the rest of the Windows Live(tm). More than mail-Windows Live(tm)
> goes way beyond your inbox. More than messages<
> http://www.microsoft.com/windows/windowslive/>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 6
> Date: Tue, 18 Aug 2009 21:33:14 +0200
> From: "KR" <[email protected]>
> Subject: [Stripes-users] URLBinding to wildcard domains?
> To: [email protected]
> Message-ID: <[email protected]>
>
> I want to use wildcard domains like:
>
>            john.domain.com
>
>            marry.domain.com
>
>            smith.domain.com
>
>
>
> The @UrlBinding does not seem to consider the domain name. Is there a way
> to
> let it match on (sub) domains?
>
>
>
> I could use URL forwarding (john.domain.com becomes:
> www.domain.com/profile/john). But this would break the <s:link>
> functionality in the JSP views.
>
>
>
> Anybody any tips?
>
>
>
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>
> ------------------------------
>
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
> End of Stripes-users Digest, Vol 39, Issue 10
> *********************************************
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to