4,248 Topics

Member Avatar for
Member Avatar for anithajerome

Can anybody guide me to create a calendar editable by the client by selecting a date in jsp/html

Member Avatar for peter_budo
0
60
Member Avatar for Ambislm

I have 3 combobox in my index.jsp file. I have filled first 2 combobox with data's from database... Now i have to fill 3rd combobox with the values which i have in java file such as: [code=Java]private static String[] types = { "Vehicle Reporting", "Vehicle Revisits", "RO - JDP Count" …

Member Avatar for Ambislm
0
214
Member Avatar for anithajerome
Member Avatar for anithajerome
0
66
Member Avatar for ganeshhsk

The problem that im facing is, the below code is working correctly and retrieve the pdf format files correctly and displaying it in the iframe. but it is only working in eclipse internal browser but not in firefox or internet explorer. what will be the reason for this.... Source code: …

0
51
Member Avatar for newuser17

Hi I am new to JSP, if some could help me in understanding what is wrong in this code [code]<html> <body> <%String newname="hi"; %> <%=request.getParameter("name")%> <input type=text value="<%=newname %>" name="newname"> <% newname=request.getParameter("newname"); out.println(newname); String modifyurl = "delete.jsp?newname="+newname+""; out.println("<td><a href ="+modifyurl+">Modify</a></td></tr><br>"); so when i print newname it always says null... please …

Member Avatar for parry_kulk
0
125
Member Avatar for rajshree13

I want source code for searching the data in our intranet website.. Please give me solution for search the data in JSP Language. Thanks

Member Avatar for peter_budo
0
198
Member Avatar for Dhruv Gairola

this is inside my servlet: [CODE]ArrayList<String> currentCustomer = model.getAllCustomers(); req.setAttribute("currentCustomer", currentCustomer );[/CODE] how do i access this arraylist in my JSP file? I eventually wanna loop over each string element.

Member Avatar for Dhruv Gairola
0
248
Member Avatar for anupam.j2ee

Hello Everybody, I am new into Java Programming. I am having a requirement of showing calendar in my JSP. Foe Example I have a field named 'Start Date' , whenever that field is clicked or is focused a calender should pop up and date chosen on that calendar should be …

Member Avatar for peter_budo
0
105
Member Avatar for spideyprasad

For PHP its MySQL For ASP its SQL server These are default databases. Likewise which db we use for JSP?????????

Member Avatar for peter_budo
0
111
Member Avatar for theo23

i have these 2 selections Code: [code] <select id="rooms" name="rooms"> <option>Please Choose</option> <option value="1" >1</option> <option value="2" >2</option> <option value="3" >3</option> <option value="4" >4</option> </select> <select id="type" name="type"> <option>Please Choose</option> <option>Single - 50£</option> <option>Double - 60£</option> <option>Luxury double - 70£</option> </select>[/code] i would like to give these values single:50 double:60 …

Member Avatar for Shanti C
0
103
Member Avatar for Eric Cute

Hello to all (",) Basically, I have a JSP page. What I want is to determine the screen resolution of the client machine that is viewing my JSP page. I tried using a JavaBean to do this but Im not getting the results I wanted. So I use JS. My …

Member Avatar for Shanti C
0
29K
Member Avatar for ajijacobm

hi, im doing a project on j2ee, live project.but, i dont know, from where to start with.i would like to know creating a forms in j2ee. is it similar to jsp. how to connect to a database with netbeans,etc... in a website based project or live project. im waiting for …

0
69
Member Avatar for newbeejava

Hi I am trying to extract some information from data base and i am writting this query [CODE]java.sql.Statement s = dbCon.createStatement(); ResultSet r = null; r = s.executeQuery("select * from emp where description="+courseName);[/CODE] If the course have value description="Fundamental of Science" then it says "syntax error at or near of" …

Member Avatar for Ezzaral
0
82
Member Avatar for p4tm4n

Hello, for my University i need to develop a facebook application with JSP. So i wondered if anyone knows a Library (Like the official one for PHP) or any provide any other kind of help/tip for me? I found socialjava.com but it doesn't seem to work anymore. Or am i …

0
50
Member Avatar for miraj0072004

hey....I have a question...this seems such a trivial question but please help me...I'm trying to use a java variable ex:- int x=request.getParameter(ID) and then use it in an sql query,like, select name,date,tel_no from items where ID=x it doesn't work...im very new to sql and jsp...so please help me get around …

Member Avatar for cliver
0
13K
Member Avatar for pradeeppatil110

I want to download multiple files (file is in zip format ) from server to client machine to specific path with unzip format please give me the code for it......... please tell me....... (Technology : JSP)

Member Avatar for masijade
0
201
Member Avatar for Kunal Lakhani

I have a login page, which directs to Verification.jsp Login.jsp [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <form action="Verification.jsp" method="POST"> <fieldset> <a rel="nofollow">FreeLancer? Sign up!</a> <br/> <input type="radio" name="r1" value="Admin" checked="checked"/>Admin<br/> <input type="radio" name="r1" value="Editors"/>Editor<br/> <input type="radio" name="r1" value="Staff"/>Journalist<br> <input type="radio" name="r1" value="Staff"/>Reporter<br/> <input type="radio" name="r1" value="Freelancers"/>Freelancer<br/> …

0
61
Member Avatar for kamweshi

I am trying to display a list of vehicles in jsp with properies from (vehicle bean and customer bean).the properties from the vehicle beans are displaying, but the Name and Address from the customer bean are not displaying.Can you please look at my code and see where i am going …

0
69
Member Avatar for jet101

Hi to all! Im having problem inserting ñ and Ñ in mysql using java. I did try to insert in mysql using CLI and it works ok but when I used it in my java it was replaced by other characters. does anyone have the same problem and have solved …

Member Avatar for jet101
0
73
Member Avatar for nikita.chandra

Hi all! here i m posting my Servlet page code by using which i retrieve blob data from mysql website, but my problem is that i have to display this data to a textarea on other jsp page. Anyone can help please, its very urgent.... [CODE] /* * To change …

0
75
Member Avatar for kroken

Hi, how can i count the users online on site? followed this guide [url]http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1[/url] but i would like something that updates every 5 minutes and destroy the session when a user logs out

Member Avatar for martin5211
0
190
Member Avatar for sureshksk

I am configuring Struts2 HelloWorld application in standalone TOMCAT.But when i run tomcat i am getting this error. Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/struts2example] startup failed due to previous errors plz help

Member Avatar for peter_budo
0
76
Member Avatar for newbeejava

Hi I am doing a java program. In which I have a jsp page, and on that I have two combobox. I have a create a java bean, in which I write a method "result" which return a arraylist. I want to populate the combobox by extracting data from database. …

Member Avatar for newbeejava
0
186
Member Avatar for koushikroy1989

Hi all, I want some inputs from you on the following issue. I have two drop downs on a jsp page.On the selection of the first drop down the page will get refreshed and the second combo box will be loaded regarding the selection of the first drop down. Now, …

Member Avatar for javaAddict
0
142
Member Avatar for raul8

In the code below I've to use Pre-built DatabaseManager which has limited exposed functions. Now I want to fetch resultset of query that gives country names. [CODE] DatabaseManager dbhandler = new DatabaseManager(); String query = "Select country_names from Country_Table;"; Vector vResult = dbHandler.getResult(query); //getResult returns Vector [/CODE] How can I …

Member Avatar for kalpanakovuru
0
201
Member Avatar for lse123

Exist way to convert page.jsp or page.cfm, (and server side code) to code lines, and append in javamail or cfmail to send this page as embedded to body of email but not attachched??

Member Avatar for lse123
0
48
Member Avatar for usiyalla

I am getting user input by get method [CODE] out.print("<FORM METH0D=GET action =\"index.jsp\">"); out.print("<INPUT TYPE=TEXT NAME=searchTerm><BR><BR>"); [/CODE] and using request.getParameter() for getting value. [CODE] request.getParameter("searchTerm"); [/CODE] so, if request.getParameter() is null i hide some code of my page as you'll see . But although user not search any item and …

Member Avatar for usiyalla
0
2K
Member Avatar for siva87

I am working with jsp web project now.... In that If some user login with their own login id and password, it shoule be redirected to their own home pages... i have already done this.. but if some time their own home page is idle, it should be displayed as …

Member Avatar for siva87
0
136
Member Avatar for mindbend

Hello people, I decided to make a family tree as a graduation project, I've thought about multiple ways to make it, but I like some fresh ideas, in case i forgot some things. I'm trying to keep the project as easy as possible, because in the end I will need …

0
151
Member Avatar for mmnewbee

Hi I,ve just started using the spring roo framework,and tried running the vote.roo sample project numerous times but each time i run mvn test in the root of the project i get this error vote.roo project failed to execute goal on project vote:could note resolve dependecies for project com.springsource.vote:vote:war:0.1.0.BUILD-SNAPSHOT I,ve …

0
50
Member Avatar for manish250

hello all i hv a jsp code in which there is a link to another file successLogs.jsp as follows <td align=center><a href="successLogs.jsp?strHour=<%=strDate+strHour%>&strcli=<%=strcli%>"><u><%=totSuccCount%></u></td> in successLogs.jsp there is call to a linux script which is fetching a file from the logs. The problem is that when i click on the link in …

Member Avatar for manish250
0
265
Member Avatar for madhavipoudala

I have a doubt in refresh the page in a jsp page to date and from date are there when i am giving the data for from date and for the next time i want to give the date only for the to date not the from date but when …

Member Avatar for madhavipoudala
0
315
Member Avatar for anupam.j2ee

Hello Everybody, I am a beginner, I am got stuck with following error at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) …

0
100
Member Avatar for magesh kumar

HI.... I wanna create runtime graphical nodes using jsp...could anyone send me code for this one...pleassssssss

0
91
Member Avatar for lse123

in JSP mail scripts may rather email a html code, email a file JSP, I mean NOT as attachment but itself embedded in message and show, eg pictures etc text from this file?

0
74
Member Avatar for ARaza110

Here's the code : whichElement(e) [code]out.println("<li><a onclick='javascript:whichElement(e);menuClicked();selectMenu("+orders.get(i).toString().substring(43)+","+orders.get(i).toString().substring(39,40)+")'>"+orders.get(i).toString().substring(0,37)+"</a></li>");[/code]

0
62
Member Avatar for proloy11

Hi, In a login.jsp page, I logged in by a user. Now by pressing the back button we can move to the login page also. If I log in this time by different user then old session getting reflected. How can I invalidate a session when we move to the …

Member Avatar for alex.antony.a
0
150
Member Avatar for sanju21

I have tried rs.wasNull() to check the null value from the database table..but it doesn't work.. pls let me show other ways to check null.. I consider the empty table when i request.

Member Avatar for toughlittleone
0
783
Member Avatar for himmat.m4

I hav done Ajax code for dynamically select destination city according to user selected source city. My issue is this code work properly on my pc but whenever copied on other pc its not working. I can't understand so please help me. Ajax code is [CODE] <script type="text/javascript"> //window.onload="hideReturn()" function …

Member Avatar for hielo
0
140
Member Avatar for theo23

hi,i would like to make a simple hotel.Firstly,I created a simple form(with no validations etc) but i don't know how when i press Submit button then this details to save in a database using Mysql. Can anyone tell me how to do this this? <br> [code]<%-- Document : StartPage Created …

Member Avatar for javaAddict
0
175
Member Avatar for icccapital

I am wanting to have a select box populate from a database query based on the information pulled from another select box as the user chooses it (ie a user chooses a state and the city choices populate or something like that). I am using JSP, Servlets and Beans. Seems …

Member Avatar for icccapital
0
185
Member Avatar for Eric Cute

Hi guyz. I know this is a simple one but Im a bit confused in doing this. Basically, I want to get the Screen Resoultion of the client machine using my JSP. I have this code in my Bean. [CODE] Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); return screenSize.getWidth(); [/CODE] Problem is it …

Member Avatar for Eric Cute
0
307
Member Avatar for nikita.chandra

hi! please help me for the best and easy open source CMS(Content Management System) software for java to design a dynamic website . If possible please post the link from where i can download the same. please reply ... it's very urgent :( Thanks!

Member Avatar for fishsmith
0
223
Member Avatar for srinivas88

Hello,I am making a website in JSP celled employee info system.In this whenever a new emp. registers in the system he is given a unique employee id. Currently in my registration page the employee himself will have to manually enter a unique id.Is there a way in which the unique …

Member Avatar for srinivas88
0
567
Member Avatar for shruthi512

anybody can say the process of jsp application and connection to the all the databases?

Member Avatar for peter_budo
0
38
Member Avatar for nikita.chandra

Hi! please help me for how can i scroll through database using JDBC on a jsp page. if i m creating 4 buttons say First,Last,Next,Previous. First button will take me to the first record of the database. Last button will take me to the last record of the database. Next …

Member Avatar for peter_budo
0
104
Member Avatar for edwardlee2708

Help I'm looking to find a fix for webapps running on a tomcat with IIS6 running on it too. Why am I getting this message. HTTP Status 500 - ________________________________________ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception …

Member Avatar for peter_budo
0
356
Member Avatar for ashishvijayata

hello friends, can i change the port of oracle 10.i am using tomcat 6.0 and both are using same port 8080.so how could i use oracle with tomcat in windows 7.Reply plz.

Member Avatar for peter_budo
0
92
Member Avatar for mayank.dyl

Please provide some links to good downloadable e-books for JSP. This collection may be helpful to all the jsp community.And please keep on adding as you comes to know about some good ones. Thanks a lot !!

Member Avatar for peter_budo
0
110
Member Avatar for sureshksk

Hi all, i am developing a small webapp.In that I am getting database connection when user logs in,and storing it in session.and i am closing the connection and invalidating session when user logs out. is the above design is correct or not.I dont want to use connection pooling. regards suresh

Member Avatar for javaAddict
0
77

The End.