aspose file tools*
The moose likes JSP and the fly likes Pressing the enter key receive extra invalid data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Pressing the enter key receive extra invalid data" Watch "Pressing the enter key receive extra invalid data" New topic
Author

Pressing the enter key receive extra invalid data

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 247
Pressing the enter key at the jsp page receive extra invalid data at the ProdController.java.
The alertgroupStr receive "unack" as expected.
However, I do not understand why alertgroupStr receive the extra invalid "null" later.
Debug log:
11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr unack
...
11:14:52,187 DEBUG com.systems.monitoring.war.ProdController:54 - alertgroupStr null

ProdController.java:


Jsp page:
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Pressing the enter key receive extra invalid data