| Author |
give another jsp to action
|
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
this is my jsp
i need to send this bean another jsp.where should i declare that jsp?
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
Define the another JSP wherever in the context (from where it is accessible) and try using the bean like this:
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
|
ok.but i need to know when i click the submit button it should go to another jsp.how to do that?
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
Try,
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
|
(With the caveat that submitting to JSPs is considered poor practice.)
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
can i map a jsp using Deployment Discripter.
as example this is the way we map servlet
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Please Consider David input.
For Your Information http://wiki.metawerx.net/wiki/Web.xml.JspFile
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
in this example what is mean by tester/* .it is mean all url that include tester word?
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
|
Please check the same link, its shows which URL pattern call that servlet mapping.
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
this is my one jsp file
this is the jsp which i use print get to bean values.
but when i run first jsp it gives this error?
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
this is the which print on server
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
please see the Sagar's first post
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
|
no.i can't get idia from that?
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
|
your <jsp:getProperty property="name" name="one"/> is with out jsp:useBean . got it?
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
|
is it essential to use <jsp:getProperty property="name" name="one"/> inside the jsp:usebean tag
|
 |
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
|
|
i chang the result.jsp as foccows.
but it don't compile.it says "Unknown type for identifier one.i am use eclips.
|
 |
 |
|
|
subject: give another jsp to action
|
|
|