shan xiao

Greenhorn
+ Follow
since Mar 12, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shan xiao

if the tag is Not a simpleTag, it should have four possible values:
empty,scriptless, tagdependent, JSP, which one is the default value if <body-content> is not present?
It seems to me that by specify <auth-method> you are telling the container how secure it should be when transmitting the login information. On the other hand, <transport-gurantee> specifies how should the container transfer the user data. Any relationship between these two?

for example, if i have <auth-method>BASIC</auth-method> and
<transport-gurantee>CONFIDENTIAL</transport-gurantee>, how to guarantee that the confidential login information will be transmitted securely using BASIC authentication?
On page 471 of HFS, it says:
scripting expressions:
<mine: advice user='<%= request.getAttribute("username") %>' / >
while i found on page 357,
<jsp: setProperty name="person" property="name" value="<%= request.getParameter("username") %>" />
that it uses double quotation mark. why is that?
I still don't get it. I know that if i use <% > instead of <%= >, it will probably treat the stuff inside as the plain java code. But i just cannot convince myself, anyone kindly clarify this?
On page 308 of HFS, it talks about how to initialize JSP in DD. I am just wondering if i don't need to configure init params for my JSP, do i still have to add <jsp-file>...</jsp-file> or anything else in DD?

For my understanding, if i have a servlet forwarding the request to a JSP just for viewing, i don't have to do anything in DD in terms of this JSP, but how about those JSPs directly accessible to the client?

Thanks in advance
on page 357 of HFS, it said:
"we can even do it with scripting....
<jsp: setProperty name="person" property="name"
value="<%= request.getParameter("userName") %>" />
..."

I am just wondering why we should use expression here, is it true that all the stuff inside <%= %> will go into out.print()? can we just use scripting and put it into <% %>?