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 ...
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??
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....
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...
Hi all,
Can anyone post me a sample and simple login page and registration (with username,password,email)page in JSP, please???
Thanks
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...
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...
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 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...
<c:forEach var="Row" items="${bindings.Transactions1.rangeSet}" varStatus="idx">
<% sToday = "05/18/2005"; %>
<c:if test="${Row['EffectiveDate']==sToday}">
...
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...
Hi,
I'm new to the area of JSP Programming. Hope someone can help me out with this:
I need to insert a date value into my Cloudscape database.
(1) java.util.Date provides the date in the ...
Hello,
I am trying to write a servlet which can be called from a jsp to display images on the page.
I think in the jsp I would pass the servlet a image reference value such as:
<img ...
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...
Hello, I am trying to capmpile a java file and I keep getting this message:
Note: C:\Program Files\apache-tomcat-5.5.17\webapps\billinb\WEB-INF\classes\Invoice_PDF.java uses or overrides a ...
Hi folks !!
Here's the code snippet...
<script>
function CreateValidationObject() {
<% WebValidiator webValidiator = new WebValidiator(); %>
}
function Check(_value) {
<% webVal...
Hi all,
I have a xml which i've downloaded from a FTP server.
I would like to convert the InputStream to a File so i could upload to another FTP server as a xml file.
I'm using Javazoom u...
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 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, jsp gurus,
Can anyone tell what's the difference between request. getContextPath() and application.getRealPath("/")
i tried to print out : contextPath=<%=request.getContextPath() %>...
I need a jsp in which it contains a dropdown list. It allows the user to select the item and hit Submit button to initiate the process.
The backend process has been done.
The problem is I ...
Hi,
My JSP page using a properties file call "config.properties" and i put it on WEB-INF.I used
getServletContext().getRealPath("/")+"/WEB-INF/config.properties" to get the path to it,...
How to convert an integer value to string?
// for string to integer we use
string s = "1";
int i = Integer.parseInt(s);
//what code should b used to convert an int, with the value giv...
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...