I am receiving 2 string values in a form which are in
yyyy-mm-dd format. i need to insert them in oracle database using PreparedStament.
i am doing the following:
String txt1 = request.g...
is http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi the only place i can download the jstl.jar??
Hi there,
Im currently on an application that has an administrative module. Im experiencing problems in clearing the sessions so as to log a user out and also to login as an admin and as ...
In a JSP page of my site I am showing the .csv file links. When user clicks the link the file download dialog box use to appear to let the user download the file. This was working fine with IE...
I am writing a class in eclipse. I want one of the contructors to take a single argument, a reference to a javax.servlet.HttpServletRequest object. typing
public classname(javax.servlet....
Dear All ,
I want to assign the value of a Javascript variable to JSP Variable .. for example :
<%
Bla Bla Bla
%>
<script>
var JavaScriptVariable="hello"
</script>
<%
S...
I have a logic:iterate block in my JSP file that needs to iterate over two Collections (ArrayList) simultaneously. That is:
<logic:iterate id="products" name="displayProductsForm...
I need a complete example for using pagination using the http://jsptags.com/tags/navigation/pager/index.jsp
If anybody could please send me the sample code they have implemented using jspta...
Hi all,
i am using Struts 2. I have a Map that looks something like this.
Map<String,Object> map=new LinkedHashMap<String,Object> ();
Suppose key-values are
q1-object1
q2-object...
I have a javascript that makes a 'tree-view' for me. I managed to already get the tree-view to build trees whose values are taken from my db. The problem is, I want to be able to check the bea...
Hi
In my jsp, i am entering the empcode, based on the empcode i retrieve empname and passing these two variables 'empcode' and 'empname' to another jsp.
Can you help me how to pass variabl...
Hi experts!
My page has 4 buttons in one form. One is the submit button, another one is a cancel button, and the other two are buttons that does another action if chosen. (For example, dele...
i am trying to learn page refresh at regular intervals(say 5 sec).
but i am not getting it working.
though the page is refreshing but the problem of FLICKERING is remaing.
my status bar...
hi,
Does anybody know how to detect when the user click on the back button to go back to the previous page?
Or a way to refresh a jsp page whenever it's loaded?
Thank you. :)
<c:forEach var="Row" items="${bindings.Transactions1.rangeSet}" varStatus="idx">
<% sToday = "05/18/2005"; %>
<c:if test="${Row['EffectiveDate']==sToday}">
...
Hi experts,
I have one text field and drop down selection on jsp page with struts tag and drop down menu selection depends on value from the text field. I made drop down menu selection disa...
Hi all.
i have this in my jsp page
<td>
<html:select property="coursePublic">
<html:option value="0">No</html:option>
<html:option value="1">Yes</html:option>
</html:select>
</td>
...
How can I create a WAR file for deploying my JSP application.
Do I need to compile my .java file before I create the WAR file?If so, do I include the .java file when creating the war file?
I...
With struts, I m trying to do the following in my action class
TableModel table = new TableModel();
Column columns = new Columns();
columns.addColumn("col1");
columns....
hi experts
I have this code in my jsp page
<c:set var="screenqq" value="JWS1001"/>
<c:if test='${requestScope.screenqq == "JWS1001"}'>
<c:set var="makeurl" value="option=report...
I am a fresh user of struts. I found that I can't use the class inside the struts library.
In struts-config.xml, I have the following action mapping:
<action
path="/L...
Hi,
I have a question about <bean:define > tag
<logic:iterate name="trialdetails" id="detail" >
<bean:define id="criteria" name = "detail" property="criteria" />
I use this variable ...
Hi,
I have
....
<%
java.util.HashMap params= new java.util.HashMap();
params.put("idAccount",new Long(currentUser.getIdAccount()));
params.put("idA...
how do i pre-select radio button using javascript function ?
i am using Dynaaction form.
here is the code.
<html:radio property="card" value="Diners" >Diners </html:radio>
<html:r...
i am using DWR ajax from
http://getahead.ltd.uk/dwr/
Here is my problem.
i have a drop down box.
this drop down box has {H,F,C} // this is fixed.
when the user sel...