3,760 Topics
| |
Hi all I am newbie to jsp, i don't have much knowlege in java but I am familiar with some programming concepts I want to start learning jsp, can any one guide me what should I know before takeing up jsp? I see lot of online tutorials for jsp but … | |
I have a grid of links in ma jsp..in the href attribute, i ve specified the navigation to a servlet...... in the servlet, i want to read the value of the link that i clicked in the jsp..... for example, If my link appears to be <a href="ProductController" target="right">A</a> in … | |
[CODE] < form name=form1> <% int x = 0; while ( x < 10) { %> <label name="<%=x%>"> <input type=textbox name=inaki> <br> <% x = x + 1; } %> <input type=button value=go onclick="doit(this)"> </form> <script> function doit(sthg) { var x = 0; while( x < 100) { alert(document.form1.inaki[x].value); x … | |
I attended one interview today,Interviewer asked me one question regarding the creation of unique identifier. Question : Consider same webapplication is deployed in 3 webserver.if any user registered in any of my application,a unique identifer is given to the user.It cannot be stored in a database.3 webserver should not produce … | |
Hi all, i am new to javabeans and JSP, i have some problem to retrieve value from beans, any help will be appreciate. my index.jsp has a from [code] <form action="update.jsp" method="POST"> userName <input type="text" name="userName" /> <br> realName <input type="text" name="realName" /> <br> <input type="submit" value="Log In" /> </form> … | |
[code=JSP]<%@ taglib uri="/WEB-INF/lib/pagertaglib.tld" prefix="pg" %> <pg:pager export="currentPageNumber=pageNumber"> <pg:item> my search data.. </pg:item> <pg:index> <pg:pages><% if (pageNumber.intValue() < 10) { %> <% } if (pageNumber == currentPageNumber) { %><b><%= pageNumber %></b><% } else { %><a href="<%= pageUrl %>"><%= pageNumber %></a><% } %> </pg:pages> </pg:index> </pg:pager>[/code] This is the code i typed and … | |
In servlet we can do this. [CODE]<servlet-mapping> <servlet-name>exampleServlet</servlet-name> <url-pattern>/example</url-pattern> </servlet-mapping>[/CODE] But how to do it for jsp file ? Thanks.. | |
(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me! | |
I have a live website that is experiencing periodic errors where data is not making it into the DB - yet certain functions are still progressing. In an attempt at tracking the jdbc connection errors, I've manually updated various fields with accurate data. When I go back to the webapp … | |
[code=html]<html><head> <script language="JavaScript"> function update() { confirm("Are you sure?(Yes/No)"); document.forms[0].submit(); } </script></head> <body> <form name="form1" method="post" action="controller/servlet"> <input type="submit" name="event" value="Add"> <input type="button" name="event" value="Update" onClick="update();"> </form> </body> </html>[/code] here, on the click of both buttons "Add" and "Update",the control should go to the servlet.While clicking Update, the script runs … | |
Hello all, I've been working on a project where I wish to retrieve two sets of information from a MySQL database using two prepared statements. When I try to do this I get a blank screen, but the first query is successfull executed. Any suggestion would be greatly appreciated. Thanks. | |
hi all i am creating a webproxy in jdeveloper. i am getting all the codes written in core java ..... starts with public static void main()... i want to use with jsp . how can i do that? thanks n regards vij | |
hi all java application which is made of awt and threads can be call from jsp is possible or not . i am having one application which is in swings and i want to call that application from jsp so that i can run or use this swing application in … | |
I wrote a java class to connect to database (DBManager.class) and then use JSP to call the java class to get the output that is read from the database. Here, i use Apache tomcat. it gives me an error when i try in my browser here the message error: [QUOTE]org.apache.jasper.JasperException: … | |
Hi, I am using Weblogic 9.2 MP3, I want to find Programmatically IP, Port & Server State of Weblogic. Let say there is a page named index.jsp deployed on domain mydomain. So after weblogic is RUNNING, I can access that page by hitting URL [url]http://1.2.3.4:9876/mydomain/index.jsp[/url]. I want the IP(1.2.3.4), Port(9876) … | |
hi guys, I am doing online form project, I get problem with navigation. the user can forword and back the page . I need to prevent user from that. I mean that once user gets new page , he can't get the prevouis page , but it asks him to … | |
| Hi guys!! I am intended to develop a project in JSP. I am gonna use [I]NetbeansIDE6.5.1[/I] and [I]mysql[/I] in [I]Linux[/I]. I have few doubts: (i)[B]Uploading files[/B](eg:jsp,war et al) to the server. (ii)[B]Code to extract .war[/B] files to a folder in the server. (iii)Using [B]https[/B] for login forms. Thanks in advance … |
anyone got examples on this? | |
Hi, I have the following jsp file which receives an audio file from the form. I am receiving the form data as Multipart and saving the uploaded file as temp.wav. The uploaded file is in uLaw audio format. I want to convert it to PCM format and save it as … | |
Hi experts, I have finished writing my servlets and web pages. all my servlets tested using tomcat in windows operating system. In other words , I have finished the development stage. Now I need to move all my servlets and web pages to web server for deployment. but my web … | |
Hi here is another question: I searched the internet for information about the radio tag, and this is all I found so I put it in my code [CODE] <s:radio name="..." list="myArray" /> [/CODE] The above displays all the elements of the array with radio buttons. My problem is that … | |
I did some JSP development a few jobs ago (7 years ago) and remember having the toughest time with jsp debugging especially. I used JBuilder back then. I'm getting some jsp stuff going again in this job and was wondering if you could give me opinions on the best tools … | |
Hi Experts, I already have a database set up in SQL Server that I have used with vb.net in the past, and would like to use it with JSP. I just started JSP last week, and have no idea what I'm doing. I downloaded the sqljdbc driver from Microsoft's website … | |
Before you killing me, I know about the: [url]http://www.daniweb.com/forums/thread141776.html[/url] , but for the moment, I DON"T have the time. Secondly, I'm new to Java platform and JSP. I'm trying to make a simple application, but I don't get it. I'm using Intellij 8, Tomcat 6, MySQL I have a java … | |
First.java [CODE] ServletContext one=getServletConfig().getServletContext(); one.setAttribute("UsersList",map); [/CODE] its ok if i accesed 'one' into a jsp page. is it possible to access 'one' in to another java(servlet) page? if yes.....how? | |
Hello Every one, please tell me how to use dotproperty file in jsp? like i m trying to code a login page and i want if any user input wrong or null value so on the same page msg should come like please enter correct username or something like that..... … | |
how can i write a code which counts to me number of visits a user had to site, and total number of visits to that site from all users. | |
My query has two parts: 1. Can I pass an audio file from one jsp to another using form submit. 2. If yes, then how do I write this file to another file in the next jsp page. I was going through the AudioInputstream class but couldnt make much head-through. … | |
Hi, I have written a jsp page which extract large data (1.5MB) from database and downloaded to a csv file. The browser promtpts a file save dialog box and user can save it in csv file in local drive. The program works fine only problem is, in csv file there … | |
Okay First off i cant figure out where my code is wrong i have stored the ID of the records i want to delete to an array called todelete[] these values are taken from checkbox called delete (stored the ID of the record to the value parameter of the checkbox) … |
The End.