Hi,I see some web page has selected effectiveness(highlight), it means when you select a row by clicking checkbox, the current row will highlight display.How to implement it using jsp? Thanks
378 byte By
romit_k at 2007-9-26 1:47:03
hi all,in my jsp page, i've a checkbox on a page & after submitting that page to another one, i want to check whether the checkbox was clicked or not..since in my code i wanna something like this...if checkbox is clicked{//task1}else{//task2}Can anyone please help me how to go 'bout it ! ...
Hello,I would like to know if it possible to include a JSP Page using an attribut. By examplepublic String pathUp = "Up.jsp";jsp:include page = pathUp flush = "true"Thanks to all,Alain
Hi,I'm working on graduate examination on College of Electrical Science in Belgrade. Theme is selling used cars on the internet(database connection with MySQL database). I have some questions for You: 1. The problem is, how can I define how much results of sql query will be show on html page ...
Hi All,I am using url encoding in my servlet for redirecting a request. The query string values has some spaces in them. The code I have used is shown belowString mname = "Jason ...
362 byte By
nhari1 at 2007-9-26 1:48:06
After submitting a request for processing a stateless session bean calls a procedure using callable stmt.This takes some time like 6 mnts.After processing it is suppose to give a message back.The browser times out in between and flashes page cannot be displayed.What can be done for this?Please ...
1086 byte By
davejet at 2007-9-26 1:48:11
Hi there,Does anyone know how to create thumnails and display them in a results page?I ve created a search servlet that enables you to search documents and images on a server and then displays the results in a webpage.I ve basically been stuck trying to create thumbnails of the images and ...
273 byte By
vlokesh at 2007-9-26 1:48:13
Hi.,I would be obliged if any one can tell how to deploy a JavaBean in JSP program. Please explain me how to achieve this in a JavaWebServer2.0.Please explain where to save the bean programs in The Javawebserver Thanks
HiI was wondering if anyone has an effective way of connecting to databases using javabeans and JSP.I am new to all this JSP stuff and would appreciate some helpcheers
2917 byte By
stoneJ at 2007-9-26 1:48:23
I'm getting the next error when i execute my jsp file:Internal Servlet Error:javax.servlet.ServletException: javax.servlet.ServletResponse: method flushBuffer()V not foundat org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)at ...
Hi,How can I take the data from the forms in html.
hi,i have a question in dropdown lists.In Update module say u already have a id value for id.the user can modify using the dropdown so i want to display the existing value along with the other values so that the user can choose a id from the list and if a id is chosen then the correspoding name ...
HI all,I'm a beginner in java and i'm investigate in a web project (website) which should display statistical charts. I did a beans to generate basic bar charts, but it is most difficult to build a Pie chart. That's why i need help to put me on the rigth way to build Pie Charts beans (this ...
1256 byte By
gwiens at 2007-9-26 1:49:24
I found out the hard way that using instance variables in JSP will inadvertently share data among different concurrent users. And when this data comes from a JDBC query which is specific to a user, it causes problems.One way around this is to declare the page not thread-safe ...
250 byte By
wmacey at 2007-9-26 1:50:38
If I have a bean that I want to connect to the DB, and I put the connection function into the constructor of the Bean. I need to make sure that I close the connection, is there a Bean Destructor as well, and how would I colse it?
1144 byte By
preaney at 2007-9-26 1:50:52
I posted this question here in March but got no replies. Here goes again:Hello:I've found that Tomcat has copies of some (but not all) of myclass files in a directory unde the work dir. These areclasses that were created by me for use in my web apps (although they are not web-specific). The ...
580 byte By
armreon at 2007-9-26 1:51:08
Hi,I have the following code in a recordfollowup.jsp,<jsp:include page="contacthistory.jsp" flush="true"> <jsp:param name="packet" value="<%=somevalue%>"/> </jsp:include>I get this exception "recordfollowup.jsp(364,0) "UnterminatedI tried using the end tag /> and then ...
Hi All,We recently developed a J2EE App using IIS and JRUN.Our URL for the application is http://myapp.company.com/Now, I need to do the following mapping to work as well.. http://mycompanyCan somehow help me with this ? Please remember that Iam using IIS with JRUN . ...
104 byte By
Priyam at 2007-9-26 1:51:23
Hi, How to pass String array from one JSP to other JSP ?Thanks,-Priya
571 byte By
wmacey at 2007-9-26 1:51:39
I posted this in a JS forum, but to no responses, I put out a plea to the JSP Gods:==========================================I have a javascript function to check the validity of the contents of a couple-o-textboxes. BUT --> I am using a JSP that may or may not actually have displayed said ...
29 byte By
Zgursky at 2007-9-26 1:51:43
Is it possible?
1038 byte By
wobelix at 2007-9-26 1:51:47
i try to upload text and files to a database.everything works fine except finally writing the file or its name to the database.the code looks like this( the resultset contains a row):ResultSet rs = stmt.executeQuery("select * from lexikoneintrag where ueberschrift = '" + headlinevalue[0] + "' ...
7824 byte By
dUb at 2007-9-26 1:51:55
I have a jsp page that I have copied below. Below that is the error that I recieve when I try to run this page. I don't know if it was necessary to copy all of it but I did it anyways. I am trying to access a database and when I do I get this error. please please please. help me to figure this ...
1139 byte By
mkowales at 2007-9-26 1:52:02
i have a servlet centric architecture where i am creating a bean in the servlet and passing it to a jsp using the setAttribute() method.MyBean myObject = new MyBean();myObject.setProperty1(value);myObject.setProperty2(value);request.setAttribute( "obj", myObject );once it gets to my jsp, i want ...
how do i escape a semicolon in string example String holdblankvalue=" \;"; i'm using weblogic i get the message invalid escape character or sequence any ideas thanks stephen
236 byte By
aavl at 2007-9-26 1:53:04
Hi,I'm considering a web application using Windows 2000 Server with MS SQL 2000 and IIS 5.Are there any difficulties to get this working? Or will I be better of with ASP?Thanks for any replies.
4583 byte By
ljava123 at 2007-9-26 1:53:07
Here is my code,I dont understand where am i doing a mistake.<%@ page info="Company Master" import="java.sql.*" session="true" %> <html> <head> <script language="javascript"> function f1() { var x=document.company.code.value.toUpperCase(); if(x!=null) ...
317 byte By
adamrau at 2007-9-26 1:54:11
I let a user enter 5 or 5.00. But if a user enters 5, i want the bean to change the field to 5.00. If a user enters 5.99, no changes need to be made. But if a user enters 5.9, the field should change to 5.90.Does anyone have any idea on a simple way to do this.Thanks in advanceAdam ...
104 byte By
phillip at 2007-9-26 1:54:59
hello all ,how taglib supports dynamic cache using jsp tags.Any ideas!!!!!!!
Hi All,Recently I got to know that if u run ur Queries directly in ur JSP, well it is a design flaw. JSP's are ment to provide only the presentation logic. That means i had to shift all the Funtional logic to beans.Till here it is cool. The problem that i am facing is if u execute a query in a ...
493 byte By
erwinba at 2007-9-26 1:55:15
I don't know how to get the parameter value by <jsp:include .../> tag.My program "main.jsp" like this :...<jsp:include page="head.jsp" flush="true"><jsp:param name="pageLanguage" value="gb" /><jsp:param name="frmProcess" value="head.jsp" /><jsp:param name="extTitle" ...
Dear allI found that you can not see the HTML page source code of JSP forum.When you click "view source code", it will open a empty txt file, or for some site there are no any response. Because there are some SQL statements in my HTML page, I hope to shield HTML page source code, Hope to do ...
218 byte By
7tr7tr at 2007-9-26 1:55:27
can JSP tags library Supports operations with cookies .... i hope it will support.If it is correct can any body explain me how it will support with example. quick reply greatley appreciated
I have coded my programs using JSP and HTMl tags.I want a way to protect my .jsp files so that the source code is not misused.Is there any way to encrypt my .jsp files just like how servlet files are compiled into .class files?
529 byte By
Abhi325 at 2007-9-26 1:55:57
Hi! I cannot open .jsp files form the browser.(Some sample jsp files I downloaded open without any problem, only the ones I added, don't- they're in the same directory, with their java files in the web-inf folder.) I have jdk1.2.2,jswdk1.0.1,jsse1.0.1,jsdk2.1. Does the jswdk server support ...
316 byte By
caiyun01 at 2007-9-26 1:56:01
I written my wml in jsp. However, when i use nokia simulator to test. It give me a error saying mime type not supported. I had written:<%response.setcontentType="text/vnd.wap.wml";%>Do anyone know why?Please help me. I need to rush my project.Thanx you. ...
1179 byte By
dannokes at 2007-9-26 1:56:41
Hi, i'm looking into redesiging our site and would like to do this using the MVC model, using jsp as the view.I intend to implement this using struts and beans.My question is that the layout of the site changes regularly, i.e. where things are positioned on a page although the code behind ...
445 byte By
erwinba at 2007-9-26 1:56:54
How to terminal a JSP program.in the program, if user's input is empty, an error messagewill be displayed, and the prgram will be terminaled.how to do?<% if (username.length() == 0) { out.println("Username cannot be empty.<br>\n"); terminal the program. ( how to do)}%><table ...
2253 byte By
alpo at 2007-9-26 1:57:37
Hi,I have problem with JSP in making CORBA application. When I import CORBA stuff like "<%@ page import="org.omg.CORBA.*" %>" I get following error. My CLASSPATH is very simple so it should not be a problem (/usr/local/j2sdkee1.2.1/lib/j2ee.jar:/opt/TimesTen4.1/32/jdbc/lib/classes12.jar). ...
175 byte By
Steven_J at 2007-9-26 1:58:35
Hi,Could anyone tell me how to show a hint when a new email comming? what kind of technolage can use?thanks in advance!steven
how to control or create my own words when i press ctrl+alt+del in windows using javai want to control all keys of keyboard ,like if i press alt+tab i have to display a message etc..... using javaand how to control minimise button and maximise button winkeys and ctrl key etc...... using javahow ...
1082 byte By
javahunt at 2007-9-26 1:59:06
I am writting an application using servlets , JSP and a simple java classfile. The simple java class file is for connection pool and the name of connection pool class is DBConnectionManager . I am using JavaWebserver2.0 and I have placed this class file in .\JavaWebserver2.0\classes I am ...
933 byte By
stfohr at 2007-9-26 1:59:14
Hi all, I've saw lot of thread about JSP communication with Applet and it seems that it is not an easy way to make both communicate together.I'm developping a web application which should display chart (simple bar, pie,...). It's easy to generate an HTML bar chart thanks to a bean, but how ...
I am using Tomcat and Apache.Tomcat which is the servlet container sends a cookie to the client. I want to delete that cookie. I am doing this.Cookie[] lCookies = null;lCookies = req.getCookies();for(i=0;i<lCookies.length; i++){ ...
593 byte By
GMU at 2007-9-26 1:59:21
Hi, my admin has config Apache to work with Tomcat, she said using Apache + Tomcat together, the jsp/servlets will load faster, but the static pages will "hesitate" for a fraction of a second and then the pages got load up. Also, the size of the log file for mod_jk has increased to 3MB by just ...
I have a jsp where the user enters an id number. I then have a bean method that does a check on that number that was entered and returns a boolean if it validates properly and if not, of course a false is returned.My question is, how is it that I can display a message to the user on the JSP ...
Hi Everyone I've seen beans where people use construtors in the beans and i have seen beans where they keep the constructors blank -- as advised to by SUN documents. Would you happen to know specifically why people are advised not to use constructors in beans ? my guess, is that setting ...
Hi,Ten Bucks question! But it is a little long describtion.I used Oracle 8.1.7 to run JSP pages. I just use all default settings when I installed the Oracle.I have my jsp folder say it is:D:\oracle\oracle81\Apache\Apche\htdocs\myjsp\in the myjsp folder I have some login.jsp, confirm.jsp. Every ...
How are cookies handled by browsers mainly by IE?I see all the cookies sent by other websites, but I am not able to see the cookies that are sent by the servlet container. I am using Tomcat as a Servlet Container.Please do reply this message.ThanksNG.
229 byte By
wasforce at 2007-9-26 1:59:39
Hi , I have one multiple select list on one jsp . I want to pass this select list to second jsp. Using these values my new select list should get filled.How can I do it ?Thank you.-Wayne