Home Tutorialhelp Allcomments Struts Struts Struts Controltags If Else

 
 

Comments

 
User Comments for the tutorial:

Control Tags-If / Else If / Else



Advertisement
Comments

Where does the vairable test come from
I see all these examples that include an object or variable called 'test'. Where does this come from. e.g. s:if test="%{#technologyName=='Java'}"> 

<s:if test="%{#parameters.myParameter==7}">
why doesn't work? 

if condition with in iterator
Will this tag work within an 'iterator' tag along with s:set tag  

very useful
for a learner ,it introduces purposes of struts2 tags. 

S:if condition not working
<s:if test="%{'generalInfoMap['MSG_IDENTIFIER']'=='O'}"> is not working though it carries O in it 

Nice
I got some knowledge abt struts2 in this example 

struts2
what is the uses of this taglib and prefix. <%@ taglib prefix="s" uri="/struts-tags" %> 

Related Tutorial and Articles
Ajax Questions

auto suggest where the data should come from database - Ajax
auto suggest where the data should come from database  auto suggest in (java script or ajax)where the data should come from one of the table... the following link which contains an Auto completer example created in Struts 

Struts Questions

Struts2 - Struts
Struts2  S:select tag is being used in my jsp, to create a drop down... weird, meaning that the drop down wen clicked it just jumps out from the first row... in Mozilla displays very well. Im trying to figure out from a long time, not succesful 

Framework Questions

STRUTS2
STRUTS2  sir but my question is using ApplicationResources.properties in STRUTS 2.i cant get the values into my application.but in the exmple given... along with properties file but i can't get the values from the properties file.plz 

Struts Questions

struts2 - Struts
struts2  how to pre populate the fields using struts2 from the database 

Struts Questions

struts2 - Struts
struts2  hello, am trying to create a struts 2 application that allows you to upload and download files from your server, it has been challenging for me, can some one help  Hi Friend, Please visit the following 

Struts Questions

Migrating from struts1to struts2 - Struts
Migrating from struts1to struts2  Hi, I have found the best tutorial for struts in this Roseindia site. So thank you very much for your... that application to struts2? If you can provide the source code it will be great. Regards 

JDBC Questions

If and else statement - JDBC
=st.executeQuery("select * from search where word='"+word+"'"); String w=""; if(rs.next...If and else statement  Dear Sir, I had created a statement...); ======================================================= how to create a if and else statement 

Struts Questions

select tag in Struts2 to handle Enums - Struts
select tag in Struts2 to handle Enums  I have an java enum in my object. I am trying to set its values from struts2 select tag. I tried with "#list={'Help':'Help', 'Thanks':Thanks:}" But it does not work. I get type error 

Struts Examples

Struts1 vs Struts2
an Action is invoked therefore Struts1. Container does not treat the Struts 2.... To test the Struts 2 Actions instantiate the Action, set the properties, and invoking... Struts1 vs Struts2    Struts2 is more 

JSP Servlet Questions

If-else not working
="SELECT REGNO,SNAME FROM sub_comb WHERE L_category='Lab'"; } else if (Lab == "Non-Lab") { query="SELECT REGNO,SNAME FROM sub_comb WHERE L...If-else not working  <%@ page contentType="text/html; charset 

Advertisements Advertisements
 

 

 

DMCA.com