Mike Eghtebas
asked on
IN JSP <% AND <%!
What is the difference between
<% %>
and
<%! %>
Thnak you.
<% %>
and
<%! %>
Thnak you.
ASKER
rrz@871311,
My apology for that. After work when I am home I would respond.
I was under gun and have to shift my focus elsewhere, Also, there was server setup which was adjusted and the attending to the question was not priority.
I will get back to you.
Also I thing <!-- to do with sort of public deceleration or just deceleration.
I am new and confused right now.
thx
My apology for that. After work when I am home I would respond.
I was under gun and have to shift my focus elsewhere, Also, there was server setup which was adjusted and the attending to the question was not priority.
I will get back to you.
Also I thing <!-- to do with sort of public deceleration or just deceleration.
I am new and confused right now.
thx
The solution you at
https://www.experts-exchange.com/questions/27651282/jsp-not-running.html
will not work for you. Why did you accept it ?
https://www.experts-exchange.com/questions/27651282/jsp-not-running.html
will not work for you. Why did you accept it ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
check with this solution mike .... it will usefull for you to understand ...
ASKER
thanks dravidnsr, t
o post No instead of null, I am using the following code:
<body>
<%! String str = "No" %> <-- is this correct?
<b>Margherita?:</b>
<%
str = ((request.getParameter("ma rgherita") != null)? "Yes":"No");
out.println(str);
%>
<br>
<b>Hawaiian?:</b>
<% out.println(request.getPar ameter("ha waiian")); %>
<br>
<b>Pepperoni?:</b>
<% out.println(request.getPar ameter("pe pperoni")) ; %>
<br>
</body>
I want to declare str once such that its scope will hande all three items. After the first one works, I wiil change the remainig two.
Mike
o post No instead of null, I am using the following code:
<body>
<%! String str = "No" %> <-- is this correct?
<b>Margherita?:</b>
<%
str = ((request.getParameter("ma
out.println(str);
%>
<br>
<b>Hawaiian?:</b>
<% out.println(request.getPar
<br>
<b>Pepperoni?:</b>
<% out.println(request.getPar
<br>
</body>
I want to declare str once such that its scope will hande all three items. After the first one works, I wiil change the remainig two.
Mike
ASKER
Thank you. I figured out the rest.
Did you even try my suggestions. ?