473,394 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Using html tags in Velocity

Hi Guys,
Can we use html tags in velocity files? I need to use <html:form> tag in my vm file, i tried one small sample as given below but it just shows the text "SelectType.." without the selectbox. I guess its not rendering the html tags, is there any way to do this?

-------------------------------------------------------------------------------------------------------------------
<%@ page language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>

<BODY>
<html:form action ="" method="post" enctype="multipart/form-data" >
<html:select name="operationName" property="operationName">
<html:option value="0">SelectType..</html:option>
</html:select>
</html:form>
</BODY>
</HTML>

-------------------------------------------------------------------------------------------------------------------
Regards,
Supriya
May 9 '07 #1
1 1977
MMcCarthy
14,534 Expert Mod 8TB
This question is being moved to the Java forum. They may undertake to move it again.

ADMIN
May 9 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Nathan Hazout | last post by:
Hi, I'm a young web-programmer (I'm actually just a Student). So far I've only been working on PHP+MySQL. I work part time for a company, and now they want me to work on one of their website :...
2
by: Sonium | last post by:
Hi, I am new to numarray and I'm going to use it in a nummerical computation of planet and probe orbits. There for I created a body class, representing an gravity affected mass (like a planet or a...
5
by: Kathryn | last post by:
Good morning! I am having a problem with a span. I have items, of which I only want to show the first X characters on the screen. If the user prints the page, I want the entire item to print....
11
by: rajarao | last post by:
hi I want to remove the content embedded in <script> and </script> tags submitted via text box. My java script should remove the content embedded between <script> and </script> tag. my current...
32
by: Cornel Bicutzi | last post by:
Hello, What is the difference between HTML and XHTML... Thanks, ------------------------------------------------------------------------ IT Interview Questions :...
8
by: Kathleen Dollard | last post by:
Hi, Oleg's answer about attribute value templates led me to look back at a different problem, and wonder if someone else had solved it. I want to output an ASP.NET page. Thus I need to output...
5
by: acord | last post by:
Hi, I m getting annoying display problem when placing javascript tags in a html page. Should the javasscript tags placed at the beginning of a html page before anything start? or placed between...
9
by: Nathan Sokalski | last post by:
I am using ASP.NET 2.0's ImageMap Control to create 2 imagemaps, one directly below the other. When I do this a thin blank space appears between them. After several days of frustration I realized...
1
by: alireza6485 | last post by:
Hi,Please help me to answer this question.I tried my best and I am not sure if my code is good or useless. I am writing a program that calculates projectile motion. so the ball is thrown with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.