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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

split text in jsp with struts2.x

 
Greenhorn
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 mypopproject.com


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

-->
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title><s:text name="p_teaWiki_title" /></title>
</head>
<body>
<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;>
<tr>
<td><B><span id="popName" class="editable">${teamWikiDTO.teamPoP.name}</span></B></td>
</tr>
<tr>
<td><s:text name="%{getText('pop_objective')}" /></td>
<td><span id="popObjective" class="editable">${teamWikiDTO.teamPoP.objective}</span></td>
</tr>
<tr>
<td><s:text name="%{getText('pop_owner')}" /></td>
<td><span id="popOwner" class="editable">${teamWikiDTO.teamPoP.owner.emailId}</span></td>
</tr>
</table>
</s iv>
<div><s:text name="p_teamWiki_name" />  (<s:iterator
value="teamWikiAsHTML">
<s roperty escape="false" />
</s:iterator> </div>
<p class="banana"><span id="teamWikiText" class="editable">split(${teamWikiDTO.wikiText},.)</span></p>
</body>
</html>

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.
Thanks
Seshagiri
 
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
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic