Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp-tag inside html not working???  RSS feed

 
Stefan Elfvinge
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The below snippet gives me align_left in the forms textarea:
<input type=Text name="title" value=<jsp:getProperty name="theCaseBean" property="title" /> align=left size=40 maxlength=40>
I assume the jsp-tag must be enclosed somehow??
 
David Carew
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:
<input type="Text" name="title" value="<jsp:getProperty name='theCaseBean' property='title' />" align="left" size="40" maxlength="40">
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!