4,248 Topics
![]() | |
Can anybody guide me to create a calendar editable by the client by selecting a date in jsp/html | |
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" … | |
Hi i am a java learner.Can anybody pls guide me abt struts in eclipse | |
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: … | |
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 … | |
I want source code for searching the data in our intranet website.. Please give me solution for search the data in JSP Language. Thanks | |
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. | |
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 … | |
For PHP its MySQL For ASP its SQL server These are default databases. Likewise which db we use for JSP????????? | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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) | |
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/> … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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. … | |
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, … | |
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 … | |
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?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
HI.... I wanna create runtime graphical nodes using jsp...could anyone send me code for this one...pleassssssss | |
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? | |
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] | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
anybody can say the process of jsp application and connection to the all the databases? | |
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 … | |
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 … | |
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. | |
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 !! | |
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 |
The End.