This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use listeners in jsp  RSS feed

 
s lateef
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am having one screen which contains tabs its like same area shared by different screens. Can you tell me how to control the listeners in JSP.

Thanks,

[ October 31, 2005: Message edited by: s lateef ]
[ October 31, 2005: Message edited by: s lateef ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch. "s".

But do you really think that you've given anybody enough details to even begin to hazard a guess at what you are asking about?

bear
Forum bartender
 
s lateef
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by s lateef:
Hi I am having one screen which contains tabs its like same area shared by different screens. Can you tell me how to control the listeners in JSP.

Thanks,

[ October 31, 2005: Message edited by: s lateef ]

[ October 31, 2005: Message edited by: s lateef ]


Hi Bear Bibeault,

Actually Iam having a screen which is implemented by listeners. Can you please tell me the site where this stuff will be available.
 
Betsy Camel
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i guess you have got confused with awt & JSP. Listeners cannot be used in JSP. In JSP, if you need to submit a page for example, you can use the ACTION tag or can use the javascript to validate a page.
The listeners are used in awt only. it will not work in JSP.

<form name = "form1" method = "Post" action = "login.jsp">

</form>

try using this tag. It submits the contents of the page to the login page.
hope this was useful
Regards
Betsy
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only UI listeners you can use are Javascript ones (onclick, onchange, etc..) There are server side listeners but they are not meant to respond to user actions.
If you're new to web programming, you may want to follow a few tutorials before you begin your work on this project.
What you'll need to grasp is the "request/response" (stateless) nature of HTTP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!