aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes param in jsp forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "param in jsp forward" Watch "param in jsp forward" New topic
Author

param in jsp forward

sangeeta kapoor
Ranch Hand

Joined: Jun 15, 2004
Posts: 70
HF Pg 415

The ONLY places where a <jsp aram> makes sense are within a <jsp:include> or a <jsp:forward> standard action.


So i tried to the following

Contact.jsp


Header.jsp



${subTitle} does not show anything
Is this the correct way of doing it? There is no prob in using <jsp:include>
Nitish Bahadur
Ranch Hand

Joined: Aug 25, 2003
Posts: 118
use ${param.subTitle}, where param is the implicit EL object, a Map.
sangeeta kapoor
Ranch Hand

Joined: Jun 15, 2004
Posts: 70
Originally posted by Nitish Bahadur:
use ${param.subTitle}, where param is the implicit EL object, a Map.


Thanks
Deepa Korecherla
Ranch Hand

Joined: Jul 14, 2004
Posts: 197
I did the same thing putting ..${param.subTitle}

I don't get the value printed..Its printing....
${param.subTitle}
...why is it not taking value??


DKR<br />SCJP1.2,SCWCD1.4,SCBCD1.3,SCJA
Baiju Mehta
Greenhorn

Joined: Jan 06, 2005
Posts: 18
To evaluate EL, make sure you are pointing to version 2.4 in your web.xml file.

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: param in jsp forward