I’m coming from a .NET background and trying to learn Java. I keep seeing references to tags and tag handlers, etc.
Is there an equivalent .NET construct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes.
<% ... %>is what you get for the jsp tag. Tag Handlers are similar to theRUNAT="SERVER"attribute you can add to many HTML tags, except they go much further and allow you to create custom tags to fit your needs. For example you could create a tag calledDATETIMEHEREthat when encountered simply output the date/time.E.g.
In ASP.NET MVC you could create a custom ViewEngine and do something as robust as Tag Handlers very easily.