You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Swanand P Bhorkar <sw...@rediffmail.com> on 2003/09/26 11:25:09 UTC

Re: using getParameter

Hi,

Change the statement

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

to the following

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



Hope it helps.

--swan

On Fri, 26 Sep 2003 Kemal Küçüktaþçý wrote :
>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.



___________________________________________________
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org