� Hii.. Can u tell me Wat is scope of beans in ur JSP Page. Can u send me ur source code. If u not specified scope of beans then u have to specify scope of beans
Deepak On Mon, 21 Jun 2004 Casas,Claudia wrote : >Hello everyone, >I have managed to install tomcat4.1.30, apache2.0.49 and the jk1.2.5 >connector. >I included inside my server.xml file a new context path so that I can >run my jsp application through my user directories. >Here is what I included: ><Context path="/myuser" docBase="/home/myuser/wwwdocs" debug="0" >reloadable="true" crossContent="true"></Context> > >So now, I am able to run under /home/myuser/wwwdocs/test.jsp as follows: >http://my.domain.com:8080/myuser/test.jsp or >http://my.domain.com/myuser/test/jsp >The both work ok. > >I also have a jsp called list.jsp that uses a bean to connect to an >oracle database. When I run >http://my.domain.com:8080/myuser/admin/list.jsp everything works perfect >and I get an html table with list of my records from my database. But if >I run http://my.domain.com/myuser/admin/list.jsp, then the jsp works, >but I do get my html table but I do not get any records back at all. > >The bean is inside >/home/myuser/wwwdocs/WEB-INF/classes/tools/dbbean.java, while the >list.jsp is only inside /home/myuser/wwwdocs/admin > > Does anyone know what is going on in here? > > ><!-- Claudia Casas >"Technology does not drive change -- it enables change. " -- > > </textarea> </TD> <TD> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> </TD> </TR> </TABLE> <!-- Compose buttons --> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR bgcolor=#EEEEEE> <TD height=32 width=450> ���<input type=button name=Send value=Send onclick="validate()" class=wm_canbttns>������<input type=button name="Save Draft" value="Save Draft" onclick="save_values_in_draft()" class=wm_savebttns>��<input type=button name="Add/Remove Attachment" value="Add/Remove Attachment" onclick="attachment(0)" class=wm_arbttns> </TD> <TD width=95> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1 width=95></TD></TR></TABLE> </TD> <TD align=left> <input type=button name=cancel value="Cancel" onclick="backToInbox()" class=wm_canbttns> � </TD> </TR> </FORM> </TABLE> <!-- Compose buttons --> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> </TD> </TR> </TABLE> <!-- Main Table Ends --> <!-- Footer starts --> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR> <TD height=4 bgcolor=#67C1E9 width=100%> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=4 width=100%></TD></TR></TABLE> </TD> </TR> </TABLE> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR> <TD align=center class=sb1 height=25 valign=bottom> Copyright � 2004 Rediff.com India Limited. All Rights Reserved. </TD> </TR> </TABLE><BR> <!-- Footer Ends --> </BODY> </HTML>
