3,747 Topics
| |
Hi all, how to do xml mapping in tomcat5.5 i have an xml code here just tell me what should be thier in blank space <web-app> <servlet> <servlet-name>firstservlet</servlet-name> <servlet-class>........</servlet-class> </servlet> <servlet-mapping> <servlet-name>firstservlet</servlet-name> <url-pattern>.............</url-pattern> </servlet-mapping> </web-app > thanks | |
Hi, I have deployed my folder called Library in web apps tomcat5.5, i can find my folder in the tomcat manager, but when i click its showing this error: requested source in not available (Library) As i am new to this i dont know how to proceed please help me … | |
Hi all, I have deployed my folder in tomcat5.5, while running its giving error xml validation disabled. so please help me how to run my program.. regards ishlux | |
hi i hav problem with ms acess conectivty and Jsp plz help thanks in advance | |
Hi all, I have installed tomcat 5.5 , now i want to run a simple servlet programme, on web browser, how do i deploy my folder into tomcat 5.5.....i am giving [url]http://localhost:8080[/url]. its giving page cannot be displayed......... please help me out. | |
I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to [url]http://localhost:8080[/url] I get an http status 404 error. My server is started … | |
Hello everyone.. My question is how to display data from my database. So when I open my index.jsp file, the data already display on it, it doesnt have any form. Is servlet can do it, or just do it in index.jsp file. I prefer with servlet, but I don't know … | |
Hello, I have been working with ASP.NET for quite sometime now. I wanted to know if we have DataBinding functionality in JSP too? | |
| Hi, I'm trying to use the request.getParameter("myInputField") on Page A. The problem is that the input field "myInputField" is on Page B. Does anyone know of a way to retrieve from Page A, the value of the input field that is on Page B? Thanks, -Ash |
guys i need to develop a smal web site using abouou tools and must have a working data base. the problum is i only know about oracal.so i need to kbow about jsp (how to creat a jsp file,how to connect a data base,how to handle a data base ...blah … | |
[CODE] <%! String[] selElts=new String[100]; %> <a href="myPage.jsp" onclick="selElts = tree2.getAllChecked()">Get list of checked</a> [/CODE] the values to array "selElts" are returned from a javascript function. now, how could the print the array values in the same jsp page (or) how to retrieve from next JSP page(myPage.jsp) | |
hi 'm aparna. Am developing a web application with j2ee and SQL server 2005 EXPRESS EDITION as the back end. When i connect it with JDBC , my connection turns out to be successful. WHen i run the application, the web page is openin, but the problem is values are … | |
Hi there, I am new to JSF and can someon please help me on how to extract the session value wich is the login name of the user for persistence in the backing beans.... I will be most grateful for your respons. | |
Hi All, I have create a custom tag to translate texts. I have to pass 3 parameters to this tag. As the parameter values are on static. I have to pass runtime expression as parameter values.I have tried various ways for this, but did not suceed. Please let me know … | |
any example to reset a bean to null using application scopre? | |
consider i have this bean [CODE] private string name = "fadi"; public String getname() { return (name); } public String setName(String name1) { name = name1; return (name); } [/CODE] Now I have jsp file.. [CODE] <% beanid.setname("lol"); beanid.getname(); %>[/CODE] Now with this code name was fadi, i changed it … | |
//styleDetail.jsp [ICODE] <html> <jsp:useBean id="productView" scope="request" class="com.view.ProductView" /> .... <% List result = productView.getProductList(); Iterator it = result.iterator(); while(it.hasNext()){ %> <tr> <td><input type="checkbox" name="id"></td> <% List temp = (List) it.next(); Iterator it1 = temp.iterator(); while(it1.hasNext()) { Object obj = it1.next(); request.getSession().setAttribute("value",obj); %> <td><a href="ProductController?selectedValue=link"> <% out.print(obj); %> </a></td><% } %> … | |
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 … |
The End.