TechFundu

  • Increase font size
  • Default font size
  • Decrease font size
Welcome Guest,  Login | Join Now
Home Forum

How to substring in JSP?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to substring in JSP?
#73
How to substring in JSP? 2 Years ago Karma: 0
Hi all,

Is there a way to substring a string in JSP file in struts1 and struts2 both ?

Thanks
shobha
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#74
Re:How to substring in JSP? 2 Years ago Karma: 0


You can use fn:substring and its variants. This can be used with Struts 1 . Don't know about Struts2 though.

Try to use all the business logic in java classes instead In JSP's . As much as you can, make the JSPs merely a thin layer over your Java-based application.
david
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
Follow us on Twitter