3,760 Topics

Member Avatar for
Member Avatar for activeap

i am working in a small company.. i want to make a setup of linux server, my sql server and working with java. please give me suggestions and requirements for these...

Member Avatar for aniseed
0
102
Member Avatar for apontutul

I want to get a parameter from the URL to another jsp page. for eg: [URL="http://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4"]hxxp://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4[/URL] get this(poll_id=4) in my new jsp & then pass this parameter to its bean & servlet. the link to the new jsp is in this page. what do I need to do in my …

0
83
Member Avatar for illa_arm
Member Avatar for cmannering
0
236
Member Avatar for zaman1111

I have a JSP page which has student roster and letting instructor choose grades for some students with check box. I want only the students info which were checked to my next JSp page, but I cant take the only selected ones. It takes the selected number of students like …

Member Avatar for zaman1111
0
144
Member Avatar for staneja

I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war …

Member Avatar for dinezhr
0
118
Member Avatar for staneja

Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it Suppose user has given wrong values in password and Confirm password column so before a request is send to secnd servlet i want to …

Member Avatar for masijade
0
189
Member Avatar for apontutul

i want to show a image using servlet,which is being called by a java file (beans). in that java how will i get the parameter eg: poll-id=1,2 or 3...n from that jsp page?....here what i've done(.java file) but the its not showing the image(error: data not available): [CODE] package myapp.webwork.beans; …

0
74
Member Avatar for ceyesuma

I just started jstl tag lib. I made one Web application. Does any one a lead on some good example of jsp's using tagLib?

0
57
Member Avatar for ceyesuma

in a jsp page I need to get a variable and then I need to set the txt in a txtbox on the page with the variable. How do I do this ( quick code example pls)

Member Avatar for ceyesuma
0
121
Member Avatar for muskan

i am using Apache Tomcat Version 5.0.28 but it is not working well i have just typed a simple code and it is giving error .i am providing error and also code please giude me where is the problem , i am new to jsp please help me thanx. .jsp …

Member Avatar for peter_budo
0
173
Member Avatar for ceyesuma

Could someone just look at this code and point out the obvious errors. It may or may not be obvious on what it is supposed to do. Never the less what I want it to do and the syntex are bad. Could someone just make observations on how to accomplish …

Member Avatar for ceyesuma
0
113
Member Avatar for Piuskutty

anyone , please help me , i want to upload pictures to server, . i am using apache tomcat server, where i want to save the uploaded files. help me plz.

Member Avatar for Piuskutty
0
113
Member Avatar for ceyesuma

This is where netbeans is putting my class files. How do I get the apache tomecat 4.0 and JSP page to find these classes? C:\myjspapp\creditcardProject\creditcardProject\creditcardProject\build\classes\creditcardproject

Member Avatar for ceyesuma
0
94
Member Avatar for gauri_me_i

I am going to do a project on JSP.Can anybody tell me some names of good books on JSP,SQL,ORACLE & J2EE.I really want to learn to do a best project.plz reply soon....

Member Avatar for peter_budo
0
64
Member Avatar for swanside

Hello all. I am looking for some guidence please. At the place I work, there is a database which is accessible by three users. They have a front end exe file which connects to a MS Access database with several tables in it. The info is used for logging incomming …

0
39
Member Avatar for ceyesuma

I need some help with my classpath I think. My project compiles yet the jsp can not find the classes. What can I check to make sure the classes are going to the right folder?

0
41
Member Avatar for ceyesuma

[code] <form action="interface.jsp" method="post"> <input type="text" name="accttxtbox" value="Enter Account number"> <% if(request.getParameter("createacct" != null)){%> <jsp:useBean id= "creditCardBean" class = "creditcardproject.CreditCard"/> <%long AccountNo=getNewAccount()%> <%accttxtbox.value(AccountNo)%> <% double CreditLimit =creditCardBean.CreditLimit %> <% double TotalCharges =creditCardBean.TotalCharges %> <% double TotalPayments =creditCardBean.TotalPayments %> <tr><th>Account</th><th>CreditLimit</th><th>TotalCharges</th><th>TotalPayments</th></tr> <tr> <td><%= AccountNo %></td> <td><%= CreditLimit %></td> <td><%= TotalCharges %></td> <td><%= …

0
77
Member Avatar for ceyesuma

[B]This class was given to me. I need to work with JSP. Am I correct in thinking that I need to make the methods setters and getters for each method I need data from. And if so could you give me an example of one? Lets say I needed to …

0
71
Member Avatar for vamsee

hello friends, I'm doing a project with JSP, MySQL and Tomcat. I need a code to calculate the execution of a JSP page. Its V.V.V.Urgenttt... plzzz help mee out

Member Avatar for Ezzaral
0
475
Member Avatar for ceyesuma

I would like to use netbeans, and a tomcat server with a suitable jvm I am uninstalling all of the above because it does not seem to be working together. Is there some where I can get a download that will set me up to all these things with out …

Member Avatar for peter_budo
0
131
Member Avatar for apontutul

hi guys......i want to view a piechart extracting items from a mysql database. i've created a button on a jsp page(view.jsp) which is calling another jsp page(viewrst.jsp) when i click that. the code for (viewrst.jsp) is given below: [code] <%@ page language=[COLOR=red]"java"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.chart.*;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.DriverManager;"[/COLOR]%> <%@page import=[COLOR=red]"java.sql.*;"[/COLOR]%> <%@page import=[COLOR=red]"org.jfree.data.jdbc.*;"[/COLOR]%> …

Member Avatar for peter_budo
0
205
Member Avatar for apontutul

I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [CODE] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; …

Member Avatar for apontutul
0
96
Member Avatar for umadas

HI alll I need help to send the link values to the action class.More precisely, i have many links in my jsp page,now i want the value of the link selected in the action class. I am using <html:link> tag in jsp and request.getparameter() in action class.kinldy help with a …

0
81
Member Avatar for umadas

Hi all i have a table having 2 columns inside a jsp page.i want this table to be put in a list box.Is this possible? if yes,please do provide a syntax for the same.Thanks in advance Umadas

Member Avatar for lookof2day
0
100
Member Avatar for tummala.kranthi

validations is not work properly,directly goes to failure page.The error page ie properties file is not taken&validation.xml is not taken,what can i do pls tell.ok bye

Member Avatar for lookof2day
0
57
Member Avatar for michael.ngobeni

I have two questions 1. How do I use a Replace() function in JSP e.g. String strName = "My name is"; String strName2 = replace(strName, "is", "is Michael"); 2. How do I make a string to start with a capital letter e.g. I want [COLOR=red]d[/COLOR]avid to be [COLOR=red]D[/COLOR]avid Thank you.

Member Avatar for peter_budo
0
2K
Member Avatar for mimsc

I have an idea how to do this, but never did it before heres my code: <label for="weatherCity">City:</label> <select name="weatherCity" id="Cities"> <option value="0"> </option> here's my query: SELECT distinct state FROM ols_weather_current ORDER BY 1 asc; [code=java] Connection connection; PreparedStatement pstmt; ResultSet rst2; try { // execute the query connection …

Member Avatar for Sulley's Boo
0
100
Member Avatar for mimsc

[code=java] <select name="weatherStat" id="States"> <% try { Connection connection = DataBaseConnectionManager.getConnection(); String sqlQuery = "SELECT distinct state FROM ols_weather_current ORDER BY 1 asc"; ResultSet rst2; PreparedStatement pstmt; pstmt = connection.prepareStatement(sqlQuery); rst2 = pstmt.executeQuery(sqlQuery); while (rst2.next ()) { <option value=rst2.getString("state")></option> } rst2.close(); pstmt.close(); } catch (Exception e) { e.printStackTrace(); } %> …

Member Avatar for Ezzaral
0
92
Member Avatar for apontutul

I want to generate a code that will automatically take the poll-id..of which the user wishes to view the result of that poll. there's the code:using mysql & java & another thing i wish to use this on a jsp page: [code] package votepiepack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; …

Member Avatar for lookof2day
0
115
Member Avatar for sunflower_rahul

hi , i have to display the xml in jsp (Tree Format) .Using DOM ..its very expensive becoz its a very big xml. I have xml in string format in jsp. For example: String xmlString =" <ALARM_CONFIG_DETAILS><ALARM_TYPE_DETAILS><ALARM_TYPE>test</ALARM_TYPE><ALARM_TYPE_DESCRIPTION>efe</ALARM_TYPE_DESCRIPTION><ALARM_OPERATIVITA_DESCRIPTION>dfsdf</ALARM_OPERATIVITA_DESCRIPTION><ALARM_IS_AUTOMATIC_CLOSED>y</ALARM_IS_AUTOMATIC_CLOSED><ALARM_TIMER>gfdg</ALARM_TIMER><ALARM_OWNER_ID>5</ALARM_OWNER_ID><ALARM_SIGNALING_TABLE_NAME>3333</ALARM_SIGNALING_TABLE_NAME></ALARM_TYPE_DETAILS><COMMENT_DETAILS><COMMENT_TYPE_ID>1</COMMENT_TYPE_ID><COMMENT_TYPE>dgsdg</COMMENT_TYPE></COMMENT_DETAILS></ALARM_CONFIG_DETAILS>"; Thanks Rahul

0
48

The End.