OK, great. I just wanted to make sure I understood correctly.
Thanks a lot!
David
Dave Newton
<[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> I create a "login.do" action that ends up bringing up the login.jsp. The
> action called from the login.jsp page will then forward to ... let's say
> main.jsp. Do I need to "wrap" that jsp in a "main.do" action?
>
That what I was saying when I mentioned that in genera
Matt,
Thanks for your reply. I've seen the suggestion about putting jsp files
under the WEB-INF directory before but have never had a need to do it.
One thing I"m not clear on... if I place the jsps under WEB-INF directory,
what happens if someone tries to access one of them directly using a
boo
#x27;ll reiterate; in general it's
generally accepted practice (nowadays, anyway) to put JSP pages under
WEB-INF (although I guess this doesn't work under JSF, as was pointed
out to me sometime back?) and access pages _only_ through Struts Actions.
> I'll look into JSTL. Are you s
k into JSTL. Are you saying it has "if-then-else" type of
processing? Could you point me in the right direction for that and for the
"check if object exists in session" issue?
Also, I haven't used filters before. We just upgraded from Struts 1.0.2 so
I'm pretty ignorant o
rm and THEN get
redirected to login.
I'll look into JSTL. Are you saying it has "if-then-else" type of
processing? Could you point me in the right direction for that and for the
"check if object exists in session" issue?
Also, I haven't used filters before. We just upgrade
[EMAIL PROTECTED] wrote:
> Is it possible to do "if then else" type of processing using Struts Logic
> tags? I don't see anything in the Struts Logic tags documentation at this
> link http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html
>
Use JSTL;
Hello,
Is it possible to do "if then else" type of processing using Struts Logic
tags? I don't see anything in the Struts Logic tags documentation at this
link http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html
Here's my situation:
1) I want to put in
Subject: IF THEN ELSE
Hi All,
I am planning to use the IF THEN ELSE tag contributed by Niall to
Struts.
I am testing it out for a scenario like the one below -
If("Niall".equals(user.getUserName()))
{
System.out.println("User name - Niall"); // Co
Hi All,
I am planning to use the IF THEN ELSE tag contributed by Niall to
Struts.
I am testing it out for a scenario like the one below -
If("Niall".equals(user.getUserName()))
{
System.out.println("User name - Niall"); // Condition 1
}
elsei
10 matches
Mail list logo