I am a rookie myself, however I think:

<%= username %> is used for 'Include Directive"
${param.username} is used for "JSP: Include Element"

I'm not 100% sure so probably some veteran should verify this.

On Jul 20, 11:41 am, Tin Htun Aung <tin.h.a...@gmail.com> wrote:
> Hi,
>
> I'm doing JSP Basics homework and encountered some problems. I
> followed the steps and executed.
>
> Then I got error from Sun GlassFish V2 saying that
> cannot find symbol
> symbol  : variable username
>
> When I look into that, I found like this. <%= username %>
> So, I changed to ${param.username} and it works.
>
> Can point out for me?
>
> Regards..

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to