3,747 Topics

Member Avatar for
Member Avatar for ishlux

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

Member Avatar for javaAddict
0
63
Member Avatar for ishlux

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 …

Member Avatar for stephen84s
0
153
Member Avatar for ishlux

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

0
56
Member Avatar for sandipdandel

hi i hav problem with ms acess conectivty and Jsp plz help thanks in advance

Member Avatar for kvprajapati
0
68
Member Avatar for ishlux

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.

Member Avatar for kvprajapati
0
103
Member Avatar for kinger29

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 …

Member Avatar for Capra
0
219
Member Avatar for rizza_f

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 …

Member Avatar for rizza_f
0
188
Member Avatar for jayesh.sidhwani

Hello, I have been working with ASP.NET for quite sometime now. I wanted to know if we have DataBinding functionality in JSP too?

Member Avatar for Albert-Pi
0
70
Member Avatar for feoperro

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

Member Avatar for feoperro
0
165
Member Avatar for chathuD

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 …

Member Avatar for javaAddict
0
139
Member Avatar for beanboy

[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)

Member Avatar for javaAddict
0
68
Member Avatar for aparnasofte

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 …

Member Avatar for sandipdandel
0
99
Member Avatar for kwesiaryee

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.

Member Avatar for kvprajapati
0
75
Member Avatar for Reena24

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 …

Member Avatar for kvprajapati
0
764
Member Avatar for hajjo
Member Avatar for kvprajapati
0
58
Member Avatar for hajjo

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 …

Member Avatar for kvprajapati
0
139
Member Avatar for gaya123

//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><% } %> …

Member Avatar for gaya123
0
145
Member Avatar for Great start

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 …

Member Avatar for peter_budo
0
145
Member Avatar for gaya123

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 …

Member Avatar for gaya123
0
98
Member Avatar for hajjo

[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 …

Member Avatar for javaAddict
0
77
Member Avatar for sarath.koiloth

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 …

Member Avatar for sarath.koiloth
0
109
Member Avatar for zhangj5

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> …

Member Avatar for zhangj5
0
317
Member Avatar for gaya123

[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) { %>&nbsp;<% } 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 …

Member Avatar for gaya123
0
85
Member Avatar for rizza_f

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..

Member Avatar for rizza_f
0
111
Member Avatar for guessme

(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!

Member Avatar for vincent2085
0
212
Member Avatar for LessZoa

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 …

0
40
Member Avatar for gaya123

[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 …

Member Avatar for javaAddict
0
70
Member Avatar for CodeBoy101

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.

Member Avatar for peter_budo
0
174
Member Avatar for vijayflash5

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

Member Avatar for javaAddict
0
44
Member Avatar for vijayflash5

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 …

Member Avatar for vijayflash5
0
53

The End.