Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 15th, 2006, 11:34 AM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default What's $(2+2) ???

I am new to JSP. I've followed the instructions step by step in "Beginning JSP 2.0." But when I type $(2+2) in my JSP file it outputs $(2+2) instead of 4. I've made sure that I've followed the instructions step-by-step, even uninstalling and installing Tomcat and J2SE about 5 times to make sure I've installed it correctly. I've made sure the environment variables are correct, but don't know what the problem is. Could someone help me out? Thanks

 
Old May 15th, 2006, 04:01 PM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hehe, i've fixed it. i was using parenthesis instead of brackets

 
Old November 19th, 2006, 10:21 PM
Registered User
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the correct is ${2+2}
you can try it










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.