Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean doubt

 
naga raaju
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

i want to develop an website using jsp. actually i am using the javascript for actions in my page. but i am facing a problem with Internetexplorer what it is my javascript code supports only on IE not in mozilla.so i want to change the code in jsp:usebean concept.is there any possible to devlop in jsp:usebean.
what my requirement is i have one dropdown list and button.choose that list and click the button .the result will print on one frame in the same page.here i used intially javascript for that .but i change to jsp usebean so how to get the result into frame in the same page.can you give any idea.
bye
Naga
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,please do some work by yourself.If you want someone to help you
you have to write a little codes by yourself ,of course if you have any problem in your code ,sure they will help you.

clearly define here what problem you got in which code and leave the rest up
to javaranch's expert.

best regards
omi
 
naga raaju
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai what my doubt is

reload.html

<html>
<head>
</head>
<body>
<form action="reload.jsp" method="post">
<label name="exchangelabel">SHIRTS :</label>
<select name="shirts">
<option selected>--select--</option>
<option>PANAMERICA</option>
<option>SKUMAR</option>
<option>PETERENGLAND</option>
<option>VIMAL</option>
</select>  

<label name="exchangelabel">PANTS :</label>
<select name="pants">
<option selected>--select--</option>
<option>OXEMBERG</option>
<option>ALLENSOLLY</option>
<option>TIBRE</option>
<option>9GMS</option>
</select>  
<input type="submit" value="click">
<iframe name ="mframe" src="http://www.google.com" height="300" width="800" frameborder="0" scrolling="auto"> </iframe>
</body>
</html>



what my doubt is when i press the button submit .i need to print some data into iframe mframe.with out using javascript.

i want to use jsp:usebeans so any possbility.
bye
Naga
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do like following :
//Create Person bean


//Employee bean



//jsp file


Note:Put the code as I put here.I hope I need not tell you about bean rules.

best regards,
omi
 
naga raaju
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your help.

by
Naga
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no problem brother any time
[ March 25, 2008: Message edited by: omi sharma ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic