Hi Tim/Stani,
I'd go so far as to say SQL doesn't even belong in the model layer as
per Fowler/Larmen/whomever 3-layer approaches.
My recommendation is to use some form of Controller servlet that takes
care of much of what is needed, like setting up connections and setting
attributes (not
...@tomcat.apache.org
--
Stuart Thiel, P. Eng.
-
To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org
For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org
That's what parseDate does, and why I pointed you at it.
On Tue, Aug 20, 2019, 04:15 Kazuaki Miyauchi wrote:
> This also works using Java description as following.
>
>
> <% SimpleDateFormat sdFormat = new SimpleDateFormat("/MM/dd");
>Date date =
Ah, it is parameter casting you're after. That was unclear from your
initial request. What does:
yield?
On Tue, Aug 20, 2019, 02:07 Kazuaki Miyauchi wrote:
> Hi, Stuart
>
> 2019-08-19 20:32 GMT+09:00, Stuart Thiel :
> > I can't speak to Tomcat 5, that's been years. Ho
ted to out in
the effort to clean your JSP further, as I don't know of such thing
existing (though I can't imagine why it shouldn't, save to discourage
everyone putting all their application logic and validation in JSPs)
On Tue, Aug 20, 2019, 05:22 Kazuaki Miyauchi wrote:
> 2019-08-20 16:39 GMT+
Just be careful. If there is no paean passed, I expect it silently
evaluates to 0.
On Tue, Aug 20, 2019, 05:09 Kazuaki Miyauchi wrote:
> Thank you, Stuart! This is what I want to know.
>
> 2019-08-20 16:48 GMT+09:00, Stuart Thiel :
> > Ah, it is parameter casting you're after. T
I suspect you can skip the set tag and wrap the parseDate in the sqlParam
tag as well, but I've never mucked with sql in JSPs (I'm pretty strict
about using them exclusively as Template Views)
On Tue, Aug 20, 2019, 05:44 Stuart Thiel wrote:
> Because formats for dates are so ambiguous, ther
for),
and I'm suspecting you didn't take that advice here.
On Mon, Aug 19, 2019, 01:30 Kazuaki Miyauchi wrote:
> Hi, Stuart, Thanks for your quick reply.
>
> 2019年8月19日(月) 13:01 Stuart Thiel :
> > The solution with fmt:parseDate is likely what you want, but read what
> > they say an
());
> }
> finally {
> cleanup();
> }
>
> return EVAL_PAGE;
>
> }
>
> Any ideas? We tried different versions of Tomcat (8.5.24, 8.5.47, 9.0.27)
> as well as different versions of jsp-api.jar and servlet-api.jar but the
> problem still there.
>
> Thanks
--
4801
> CBD Perdana, Jalan Perdana
> 63000 Cyberjaya
> Selangor Darul Ehsan
> Malaysia
> Tel: +603 8318 1800
> Fax: +603 8319 1800
> HP: +6017 3913905
> a...@msctrustgate.com
>
--
Dr. Stuart Thiel, P. Eng.
-
To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org
For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org
10 matches
Mail list logo