Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default an input:text value to populate input

 
Lynn Paustian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page; page A, which contains a value (a Subscriber_ID), that I want to use to populate an input:text item on an input form; (form B). Form B is produced by clicking a link on page A. I'm putting the value into the sessionScope variable; I called it SubrID. I followed instructions from apache's tag library to place default after value, but I get an exception.



Anyone got some simple hints moving values from one jsp to prepopulate an entry form?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<h:inputText>? <f:convertNumber/>?

These are not standard JSP actions. If you are going to post code using non-standard actions, you'll need to let us know what tag library they are from.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic