4,248 Topics
![]() | |
Hi, I need some help from all of you. I am using JRun4 servers we are facing some problem without running Precompile jsp. We need to pre-compile the JSP for that we need some java code to perform this pre-compilation for http and https request. We don't want to Using … | |
From form on page A, I am retrieving submitted values on page B.jsp. Page B is creating new PersonData class from those dates (using [code]request.getParameter("any_param_name");[/code] ) and adding it into some kind of collection. Problem here is, that after reloading page B again, parameters are left, and new PersonData is … | |
Hi everyone Can sum1 tell how to export data on an excel file from the click of the button which is there on the jsp page.The Data first should appaear on the jsp page and only when the user/client clicked on button then the data get exported to the excel. … | |
Hello. I have a problem. I have a table with employees and some data. I want to generate a xls with that data. How do I do that ? Thanx. | |
You will have to implement the DICE (drop if course exceeds) feature of boss. DICE works as follows: If a student is allowed to bid for n courses (say 5 course), DICE will let the student bid for an additional course if the following criteria are met Student has enough … | |
I want to do a very simple task. I want to have a drop box and display (in the same page) the user input as soon as the user makes his choice. There must be no button involved. I dunno how to pass the values of the forms w/o using … | |
Hi. Is it possible to use a resultset from a scriplet in a <c:forEach> loop? E.g. [CODE]results = prepstatement.executeQuery(); request.setAttribute("results", results);[/CODE] [CODE]<c:forEach items="${results.rows}" var="row"> row.fieldValue <br /> </c:forEach>[/CODE] Thanks. | |
hi everyone, I am able to set Expiry for jsp in IE but in same jsp i have img tag for those i am unable set Expiry ................. response.setDateHeader()...plzzzzzzzzzzzz any one help out | |
Hi, I m in urgent need of form validation using ajax and jsp.. The form validation is something like when i prints wrongly and enters the second text box it will show red mark error in the side of the approipriate field..please send some sample code... | |
i have a small problem in opening the record , in the sever there is a folder which contains n number of word documents, i made them to list all the files in the order and if i click on the file it should open in the MS Word and … | |
jsp code <%@ page import="temperory.Mrityunjay.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.BaseServlet.VSHttpServlet" %> <%@ page import="java.util.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.Helper.*" %> <%@ page import="ClassTeacher.SessionObject"%> <%@ page import="ClassTeacher1.MemoryTables"%> <HTML> <HEAD> <TITLE>Student Information</TITLE> <!-- for confirm () --> <script language="JavaScript1.2" src="functions.js" type="text/javascript"> </script> <link rel="stylesheet" href="lib.css" type="text/css"> <style type="text/css"> <!-- td { padding-left: 15px; } --> </style> … | |
Hello! I keep getting this pesky virtomonde and win32 bug. Here is my HJT log: Logfile of HijackThis v1.99.1 Scan saved at 7:04:47 PM, on 10/6/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16512) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\Explorer.EXE C:\WINDOWS\system32\spoolsv.exe C:\Program Files\Common Files\AOL\ACS\AOLAcsd.exe … | |
<html><body> <%@ page import="java.sql.*" %> <% String user="root@localhost"; // root itself String password="pwdl"; String connectionURL = "jdbc:mysql://localhost/Database_name"; Connection connection = null; Statement statement = null; ResultSet rs = null; Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL, user, password); statement = connection.createStatement(); rs = statement.executeQuery("SELECT * table"); while (rs.next()) { out.println(rs.getString("name")+"<br>"+rs. getString("emailid")+"<br>"+rs.getString("contents ")+"<br>"); } … | |
Hi, This is naveen, i am having a problem that, i am having a combo box in the JSP page when i select an item from that i am calling the onchange function. In javascript i am getting the value now i want to pass this value to JSP scriptlet.. … | |
Hi, Up until about 2 - 3 weeks ago my internet performance was great. I have Verizon FIOS and my connection speed is approx 5 Megs. My problem is that when I open a new internet window, it takes minutes for the window open and load. Processor sounds like it … | |
Hi all. How do you get values from an appended url string using JSTL? For example: redirect.jsp?pageid=23 -how would i get that value? Thanks. | |
Hi All, I am doing a project which is struts based. I have included following files in build path of eclipse. servlet-api.jar jasper-runtime.jar jsp-api.jar struts.jar antlr.jar commons-beanutils.jar commons-digester.jar commons-fileupload.jar commons-logging.jar commons-validator.jar still I am getting errors: the import javax.activation can not be resolved at line import javax.activation.*; the import javax.mail … | |
Hi Guys, This is probably a very basic query, but asnyways. I'm trying to write a jsp website involes doing some data calculations. However, I'm having problems trying to get my own java classes to be recognised by tomcat. So far I've tried :- 1. putting the classes in the … | |
pls help how to open a file in an application using jsp and it should not open in a browser if possible pls send ur code as soon as possible.. pls help pls help. | |
Can aanyone help me with my ApacheTomcat. I have never configured sever before. Its actually my first time. I just dont know how to run or even configure this ApacheTomcat. Where should I set the CATALINA_HOME variable? and what is it for? | |
Hi I am trying to create something like online shop with products and a shopping basket. User can see an html form and edit it. The form is represented by bean. After editing it, he should be able to create new, or submit all products he edited (add actual bean … | |
i want to show word(.doc) files contents in JSP (in IE when run) itired with include action and directive but it disent works. OS- win2k -- tomcat 5.5 | |
Hi can i open the excel and indesign files through java or jsp or javascript Thanks Palani | |
How to get the specific data from the xml and use it in the jsp... | |
i have a class like this public class TDorgrnize{ private long orgID private orgnizMini org //getter and setters } public class orgnizMini{ long id Sting name //getter setter } in a action class i m getting this TDOrgrnize to generic list like this private List<TDorgrnize>() torg; so i want to … | |
i am using jsp to create web site. How can i insert data into database but do not have text box in the web site. i want to have data automatically show in the database without having people key in data from web site. the purpose for doing this is … | |
[COLOR=green]This is my main window [/COLOR] [COLOR=green]<html>[/COLOR] [COLOR=green]<head>[/COLOR] <SPAN style="COLOR: green">[COLOR=green]<[/COLOR][COLOR=green]script [/COLOR][COLOR=green]language[/COLOR][COLOR=green]=[/COLOR][COLOR=green]javascript[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]function [/COLOR][COLOR=green]PopWindow(URL,height,width)[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green]// alert("in popwindow");[/COLOR] [COLOR=green]window.open(URL,height+width,[/COLOR][COLOR=green]"width="[/COLOR][COLOR=green]+width+[/COLOR][COLOR=green]",height="[/COLOR][COLOR=green]+height+[/COLOR][COLOR=green]",resize=no,resizable=no,scrollbars=yes,menubar=no,status=no"[/COLOR][COLOR=green]);[/COLOR] window.focus(); [COLOR=green]}[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]script[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]head[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]body[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<%[/COLOR] String StudentID=request.getParameter([COLOR=green]"id2"[/COLOR]); System.out.println(StudentID); [COLOR=green]%>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]form [/COLOR][COLOR=green]method[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"Post" [/COLOR][COLOR=green]name[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"f1" [/COLOR][COLOR=green]action[/COLOR][COLOR=green]=[/COLOR][COLOR=green]""[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<table [/COLOR][COLOR=green]border[/COLOR][COLOR=green]=[/COLOR][COLOR=green]0 [/COLOR][COLOR=green]align[/COLOR][COLOR=green]=[/COLOR][COLOR=green]left[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]tr[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]td [/COLOR][COLOR=green]align[/COLOR][COLOR=green]=[/COLOR][COLOR=green]left[/COLOR][COLOR=green]><[/COLOR][COLOR=green]b[/COLOR][COLOR=green]><[/COLOR][COLOR=green]font [/COLOR][COLOR=green]color[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"maroon" [/COLOR][COLOR=green]size[/COLOR][COLOR=green]=[/COLOR][COLOR=green]3[/COLOR][COLOR=green]>[/COLOR][COLOR=green] [/COLOR][COLOR=green]|[/COLOR][COLOR=green] [/COLOR][COLOR=green]</[/COLOR][COLOR=green]font[/COLOR][COLOR=green]></[/COLOR][COLOR=green]b[/COLOR][COLOR=green]>[/COLOR][COLOR=green]Student ID[/COLOR][COLOR=green]</[/COLOR][COLOR=green]td[/COLOR][COLOR=green]><[/COLOR][COLOR=green]td[/COLOR][COLOR=green]><[/COLOR][COLOR=green]input [/COLOR][COLOR=green]type[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"text" [/COLOR][COLOR=green]name[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"StudentID" [/COLOR][COLOR=green]value[/COLOR][COLOR=green]="[/COLOR][COLOR=green]<%[/COLOR][COLOR=green]StudentID[/COLOR][COLOR=green]%>[/COLOR][COLOR=green]" [/COLOR][COLOR=green]size[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"20"[/COLOR][COLOR=green]>[/COLOR][COLOR=green] [/COLOR][COLOR=green]<[/COLOR][COLOR=green]A [/COLOR][COLOR=green]HREF[/COLOR][COLOR=green]=[/COLOR][COLOR=green]Javascript:PopWindow([/COLOR][COLOR=green]"[/COLOR][COLOR=green][URL="http://127.0.0.1:8081/I_Campus/PopUp?EI=<%=EI%>&CC=<%=CC%>&GC=<%=GC%>&fname=Display"][COLOR=green]><[/COLOR][COLOR=green]img[/URL] [/COLOR][COLOR=green]src[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"images/search.gif" [/COLOR][COLOR=green]border[/COLOR][COLOR=green]=[/COLOR][COLOR=green]0[/COLOR][COLOR=green]></[/COLOR][COLOR=green]a[/COLOR][COLOR=green]>[/COLOR][COLOR=green]</[/COLOR][COLOR=green]td[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]tr[/COLOR][COLOR=green]>[/COLOR] … | |
I have a table within that i update particular cell and want to store the update value into table after clicking save button My page is JSP page | |
hi every body! i m doing my online project in jsp..i want to refer some other online exams..so i need source code for online exam application in jsp...any body is there for me to help? | |
I am new to JSP and am having trouble with an if statement. [code=jsp] <c:if test="#{authorizedProduct.product.product.orderMethod}=='H'"> <h:outputText id="orderMethod" value="#{authorizedProduct.product.product.orderMethod}"/> </c:if> [/code] The order method does equal H because it will display that if I don't put in inside the if statement. Can someone help me with my if statement syntax … | |
Hi all, I am good in Java.But I dont have any idea about PHP. With this matter in mind please suggest me which to choose(PHP or JSP) to create my own forum. (coding my own forum..not using exixting freeware forum).... What are the pros and cons of using JSP.(I dont … | |
I am trying to set up a java server page and mysql. I have installed jdk and all of the neccessary tools and drivers. I am using Tomcat for the servlet container. I have also set up an account with a password on mysql. I think that the only issue … | |
suggest me a way on how to upload file using JSP to mysql database | |
I am learning struts from various e-books.I am facing this problem. [code][B]HTTP Status 500 - No action instance for path /Test could be created[/B] [B]type[/B] Status report [B]message[/B] [U]No action instance for path /Test could be created[/U] [B]description[/B] [U]The server encountered an internal error (No action instance for path /Test … | |
HI , I am using JSP + apache tomcat 5.5 . The database I am using is mysql. The database have tables , with rows 1.2 lacs and above . I have to run atleast , atleast 15+ sql query in one JSP page . while loading the page , … | |
Hi all .. this jsp code when we use database access, to get the information by entering the price , my problem is that now iam using oracle as database and i dont know what are the changes that can be made here only ofcorse the path of database this … | |
Hi, I am developing online examination in servlets/jsp. the problem with I stucked with is how to show user a timer. the jsp page which showing current question to user should show time remaining & that time should be continuously decreasing by 1 sec. One approch is to use applet … | |
i am developing a project using jsp & servlet. i want create a xml from result set using document builder but when the servlet is executed it displays the Http Status 500 error tell me what to do . where to place that xml file is there other for writing … | |
Hi, I am trying to populate the JSP page content into Excel file. I am able to get this. But i have problem while trying to populate the string ("1/0") in Excel. This string is taken as date format in excel. But i want to display "1/0" as such. Any … | |
suppose there's a bean file (.java) consisting of SQL query, and a servlet (.java) used to show an image, and lastly a jsp page when clicked shows the image.............can you please explain how does this function,how the logic flows,what happens step by step.......... I really need to understand this, thankz. | |
Pls Tell Me Name Of A Reference Book On Jsp,which Contain All The Features.does It Available Online... | |
Hai everyone, i am doing one Image gallary application. In that application i have upload two images, one for Befor image and another one for after image. All those images are stored into the filesystem, the images names only stored into the database. Left side of page: Before Pictures (One … | |
I think someone's trying to hack my computer, and steal my passwords. For some reason, websites that I'm logged onto, and should stay logged on, suddenly log off when I refresh the page, then are logged back on. My gmail account was logged off for some reason too, and that … | |
I am new to JSP and struggling with this issue. I created a Hello World page and worked fine. After I made some changes, I uploaded the new version of my index file several times. I have even deleted my index.jsp file from the server, along with the WEB-INF and … | |
Search.java: [code] package com.monkeygarage.carclubhub.clubinfo; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Logger; import com.monkeygarage.DBConnect; import java.util.logging.Level; import java.util.*; public class Search { private List<SearchResults> list = new ArrayList<SearchResults>(); DBConnect db = new DBConnect(); public Iterator getResult() { Result(); return list.iterator(); } private void Result() { try { ResultSet rs = db.getResult("SELECT club.clubId, … | |
Any idea? I get this error: org.apache.jasper.JasperException: An exception occurred processing JSP page /test2.jsp at line 7 4: <title>DB Test</title> 5: </head><body> 6: <% DBConnect d = new DBConnect(); 7: ResultSet rs = d.getResult("SELECT name FROM items"); 8: 9: while (rs.next()) { 10: String name = rs.getString("name"); Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435) … | |
any suggestions...my "weatherState" value doesnt seem to be passing over: 1st jsp: [code]<% Vector theStates = WeatherDAO.getWeatherStates(); %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </script> <body> <TR bgColor="#ffffff"><TD COLSPAN="2"> <TABLE CELLPADDING="3" CELLSPACING="2"> <TR><TD> </FONT></CENTER><BR> <BR> <TABLE BORDER="0" CELLSPACING="5" CELLPADDING="5" WIDTH="100%"> <TR BGCOLOR="#C0C0C0" ><TD COLSPAN="2" ALIGN="CENTER"> <FONT SIZE=+3><B> … | |
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... | |
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 … | |
what is coding to allow users to upload a picture in database? |
The End.