Handling getParameter in Oracle ATG Commerce application

Handling getParameter in Oracle ATG Commerce application

Handling getParameter in Oracle ATG Commerce application

Using JSP tags we can write as below

<%
    DynamoHttpServletRequest dRequest = atg.servlet.ServletUtil.getDynamoRequest(request);
    if (null!=dRequest)
    {
       if (null!=request.getParameter("userName"))
       {
          <div> Member Name: "<%=request.getParameter("userName")%>" </div>
       }
    }
%>

Using JSTL tags we can write as below

<%@ taglib prefix="c" uri="/jstl-core-taglib"%>
Member Name: <c:out value="${param.userName}"/>

 

Using DSP tags we can write as below

<%@ taglib uri="http://www.atg.com/taglibs/daf/dspjspTaglib1_0" prefix="dspel"%>
Member Name: <dspel:valueof param="userName"/>

Handling getParameter in Oracle ATG Commerce application

You may also like this

seperator

About TechnoStixs.com

Handling getParameter in Oracle ATG Commerce application

ORACLE ATG ENDECA & JAVA TECHNOLOGY XCHANGE SYSTEM.

TechnoStixs.com is a dedicated weblog for Oracle ATG, Oracle Endeca, Java/J2EE and web developers. We take pride in our work. Every publication is carefully analyzed, written and tested to ease the understanding of the topic or subject.

We cover Oracle ATG, Oracle Endeca, Java Core Technologies, eCommerce, J2EE Frameworks, Web Service, Build Tools, Unit Test Frameworks and Others.

1,403 total views, 1 views today

Add comment