Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Needed

 
Upendra Bhole
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know what is the changes in index1.jsp code.


Upendra
[ March 09, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummmm.... could you explain a bit more?
 
Upendra Bhole
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have doubt in frame,form action,frameset.My question is that how can i show the out put from one frame to another frame ie when I will press the button Ping ATMIP then the called jsp page "pingatmip.jsp" should be executed in another frame ie right side frame.
Secondly there is two button in left hand side frame.how can I adjust the code in index.jsp so that after pressing the button "Ping ROUTERIP" then the called jsp "pingrouterip.jsp" should be exicuted in right hand frame.
But When I enter the both the button then only pingatmip.jsp is called in left hand side of frame
Please suggest me.

See the following code,
1)
index.jsp

<HTML>
<center>
<FRAMESET BORDER=3 COLS="20%,*">
<FRAME NAME="F1" SRC="index1.jsp" SCROLLING="yes">
</FRAMESET>
</center>

</HTML>

2)index1.jsp

<HTML>
<HEAD>
<center><H1>Enter The Station ID<H1></center>
</HEAD>
<BODY bgcolor=pink>
<center>
<table border =1 cellpadding=0>
<form action="http://localhost:8100/pingatmip.jsp" >
<form action="http://localhost:8100/pingrouterip.jsp" >
<TR bgcolor=dddop45>
<TD><H5><CENTER><br>ATM-ID :</center></H4><input type="text" name ="a"></TD>
</TR><BR></table><br>
<INPUT TYPE="submit" value="Ping ATMIP" STYLE="COLOR:BLUE" align = centre>
<INPUT TYPE="submit" value="Ping ROUTERIP" STYLE="COLOR:BLUE" align = centre>
</form>
</center>
</BODY>
</head>
</HTML>


3)pingatmip.jsp
.
.
.
code

4)pingrouterip.jsp

.
.
code
.
.

-----------------------

Upendra
 
Yuriy Zilbergleyt
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems like more of a question for the HTML/Javascript forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed it is. Communications between frames must be handled on the client. Moved accordingly.
 
Upendra Bhole
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

can you make the changes in code.
Thakns for reply.

Upendra
 
Upendra Bhole
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Please reply.
Upendra
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have two form opening tags and one closing tag.

Rule with forms: They can not be nested. In other words you can not have a form inside another form.

You can target a frame by using the target attribute: target="frameName"

Eric
 
Upendra Bhole
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Can make the changes in index1.jsp so that i am able to access proper format.

Upendra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic