struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kemal Küçüktaşçı" <ke...@kocbank.com.tr>
Subject using getParameter
Date Fri, 26 Sep 2003 06:55:36 GMT
Hi;

 

            I' using Struts 1.1, (Struts-Tiles tag library) and display tag
library(). And in my page find any recordlist and display it using display
tag library. Create a link any record on the tables. When i click the link
in the table, called url is 

 

            localhost:8080/struts-test1/details.do?serno=123456

 

and using below line in the jsp but nothing return any value.

            <% request.getParameter("serno") %> 

 

details.do defined as a tiles in the tiles-deifinitions.xml file as below

 

<!-Main page area
-->

<definition name="org.kocbank.masterpage" page="/pagetemplate.jsp"
scope="request">

       <put name="pelititle" value="Pelikan web sistemi"/>

       <put name="peliheader" value="headertemplate.jsp"/>

       <put name="pelimenu" value="pelimenuempty.jsp"/>

       <put name="pelibody" value="body.jsp"/>

       <put name="pelifooter" value="footertemplate.jsp"/>

</definition>

<!-Details page
-->

<definition name="org.kocbank.viewdetailpage"
extends="org.kocbank.masterpage">

       <put name="pelititle" value="Pelikan ayrıntılı görüntüleme"/>

       <put name="pelibody" value="detailbody.jsp"/>

</definition>

 

and in the struts-config.xml file action-mappings area contains

 

<action

        forward="org.kocbank.viewdetailpage"

        path="/details"

        scope="session"

        unknown="false"

        validate="false" />

 

and detailbody.jsp contains

 

<%@ taglib uri="WEB-INF/struts-logic.tld" prefix="logic"%>

<blockquote>

       Serno is =<% request.getParameter("serno");%>

</blockquote>

 

do you have any solution for this problem.

 

Thanks.!

 



Bu mesaj ve onunla iletilen tüm ekler gönderildigi kisi ya da kuruma özel ve Bankalar Kanunu
geregince, gizlilik yükümlülügü tasiyor olabilir. Bu mesaj, hiçbir sekilde, herhangi
bir amaç için çogaltilamaz, yayinlanamaz ve para karsiligi satilamaz; mesajin yetkili alicisi
veya alicisina iletmekten sorumlu kisi degilseniz, mesaj içerigini ya da eklerini kopyalamayiniz,
yayinlamayiniz, baska kisilere yönlendirmeyiniz ve mesaji gönderen kisiyi derhal uyararak
bu mesaji siliniz. Bu mesajin içeriginde ya da eklerinde yer alan bilgilerin dogrulugu, bütünlügü
ve güncelligi Bankamiz tarafindan garanti edilmemektedir ve bilinen virüslere karsi kontrolleri
yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi zararlardan Bankamiz sorumlu
tutulamaz.

This message and the files attached to it are under the privacy liability in accordance with
the Banking Law and confidential to the use of the individual or entity to whom they are addressed.
This message cannot be copied, disclosed or sold monetary consideration for any purpose. If
you are not the intended recipient of this message, you should not copy, distribute, disclose
or forward the information that exists in the content and in the attachments of this message;
please notify the sender immediately and delete all copies of this message. Our Bank does
not warrant the accuracy, integrity and currency of the information transmitted with this
message. This message has been detected for all known computer viruses thence our Bank is
not liable for the occurrence of any system corruption caused by this message.

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message