Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

split text in jsp with struts2.x

Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using code as
index.jsp is the first page the user will see when going to

Modification log (MM/DD/YYYY [Author] Change)
05/29/2008 [Seshagiri Veerla] Base Version.

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<%@ taglib prefix="s" uri="/struts-tags"%>
<title><s:text name="p_teaWiki_title" /></title>
<div id="calcontainer"></div>
<s iv id="fields">
<s:actionmessage />
<s:actionerror />
<s:hidden name="teamWikiDTO.teamPoP.popid"
value="%{teamWikiDTO.teamPoP.popid}" />
<table border=0;>
<td><B><span id="popName" class="editable">${}</span></B></td>
<td><s:text name="%{getText('pop_objective')}" /></td>
<td><span id="popObjective" class="editable">${teamWikiDTO.teamPoP.objective}</span></td>
<td><s:text name="%{getText('pop_owner')}" /></td>
<td><span id="popOwner" class="editable">${teamWikiDTO.teamPoP.owner.emailId}</span></td>
</s iv>
<div><s:text name="p_teamWiki_name" />  (<s:iterator
<s roperty escape="false" />
</s:iterator> </div>
<p class="banana"><span id="teamWikiText" class="editable">split(${teamWikiDTO.wikiText},.)</span></p>

i want to split text but i can not do it. i am getting text as '${teamWikiDTO.wikiText}' this objective. Please ready above code and give me solution it.
A wop bop a lu bop a womp bam boom! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic