Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Struts Struts2 Struts2controltags Set Tag

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

4 comments so far (post your own) View All Comments Latest 10 Comments:

You people have given such a nice explanation about Struts2. We are very happy after learning it. Please make one book on struts2 and publish it for free. Thanks again.

Posted by Darshan on Tuesday, 12.15.09 @ 15:15pm | #93391

Hi, when I use pageContext.getAttribute("test") I receive null. Any ideas why I dont get the attribute?
thanks

Posted by peter on Sunday, 06.8.08 @ 22:00pm | #62623

If you set a parameter <s:set name="test" value="%{This is a test!}"/>
You can access it like this pageContext.getAttribute("test") in scriptlets

Posted by Hanny on Sunday, 12.23.07 @ 17:33pm | #43476

Hi,
I set a parameter in the above manner using a s:set (Analogous to bean:define in struts 1). But I am unable to access that new parameter in any jsp scriptlets. It always says cannot be resolved when used in scriptlets. Now there is a parameter called scope for the s:set tag which is used to set the scope of the newly created variable. I tried giving scope as page, request but still the same problem comes up. Is it not possibe to use the set tag created variable inside a scriptlet?

Posted by Arup Francis on Friday, 08.24.07 @ 15:39pm | #24039

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.