Can I use one entity bean to manage the same table in multiple databases. Or the same table type with diffrent names.I want to create an application where a customer applies online for a web service. With application a new database or table will be created for the customer. There might be 1000+ ...
752 byte By
sgaye at 2007-9-26 3:21:02
Hello !I'm new in JSP pages and i try to launch Hello.jsp on Java Web Server(2.0)I get the following error :java Server Page Transalation ErrorError during compilationCan't load class : pagecompile.jsp._HelloWith Hello.jsp :<html><head><title>My first JSP ...
In my jsp file I need to call a function that is written in another Jsp file...I did include the other file but no idea how to call the function...Biggest problem is I am calling this function within another function mu main jsp page has <%! String process(){sName=Do()}%>the function ...
701 byte By
msyal at 2007-9-26 3:21:16
We need to develop application using J2EE specification. The application core desing is already made and we now want to switch to application server . The app server is still not decided and will be decided later by client.Can we start developing in J2EE app server , since it is a test server ...
148 byte By
smallsun at 2007-9-26 3:21:28
what is the name of the servlet class file which is complied from a jsp file? Is the name the same as the jsp file name?
I' interested to learning JSP.Where should I start
386 byte By
icalv000 at 2007-9-26 3:21:44
Hi! First see the scenario:I Have one Stateful Bean which name is "BeanSF". A client request one page and the page made instance of my BeanSF. My question is:When the client close the navigator window or change the url location to another site, Can I detect this "event" and destoy my ...
How connectionPolling handled in BMP?Application server is websphere.
How to post contents displayed on a JSP (Say data in table form) to Microsoft Word Document, on click of a button on JSP.
341 byte By
msyal at 2007-9-26 3:21:51
In J2EE server we need to add a web component to include our jsp file . But evertime JSP file is changed the new file is to be added to the web component . The aplication is undeployed and then deployed againIs there any other way that modified JSP file cane used without undeploying and ...
71 byte By
rda2 at 2007-9-26 3:21:57
im searching for a good and free jsp-editorthank s
Any body can help me with some key code to fax with my Java mail? What are the other requirements apart from JAVA MAIL API?Thanking you Achintya
569 byte By
gentyt at 2007-9-26 3:22:15
Hi, I'd like to use init() method like in servlets but problem...First I guess I have to put that method in a <%!%> section.If I use a public void init() method there's no problem but I'd like to use jakarta-tomcat config file with the public void init(ServletConfig config) method but ...
A servlet invokes an SessionBean (Stateless)In the Bean , I have a thread which is constantly monitoring a column of a table.This bean is just invoked by the Servlet and the thread gets on.This thread had to killed (ie the instance) from a servlet.How to kill this thread or the instance. ...
308 byte By
paichow at 2007-9-26 3:22:50
Hello, Im a beginner in servlet. So my question is how to compile a several .java files, one of them is servlet meansthat with import javax.servlet.httpthe rest files .java I need coz in the servlet I import this files as instances process.regards,raj aryan maholtra ...
Hi all, I've been having a problem with UTF8 encoding with jdk1.3. Here's three simple JSPs that illustrate it: MattTest3.jsp <%@ page contentType="text/html; charset=utf-8" %> <form action=MattTest5.jsp> <input type=text name=xxx> <input type=submit> </form> ...
1283 byte By
ermahen at 2007-9-26 3:22:55
Hi I have a problem with parsing an InputStream from a host. I allways get the a error message (stated below).Is there anyone who know how to solve this problem?Is it possible to parse the InputStream and ignore <!DOC....../> line?//Ante Error-message:**************ERROR reading URI: ...
hi,I have a jsp page which displays date from an oracle databasei have a getMethod which returns a java.util.calendar and a setMethod which also takes the value of type calendarhow do i display the date in my jsp page which is of type calendar and allow the user to change it and then pass it as ...
Hi, When i am getting output as a big string but it is a xml file. I want to save that string as xml file in the program it self. any sugessionsthanks
274 byte By
patil_db at 2007-9-26 3:23:31
HiI am able to export data written in JSP to Excel.I am facing the small problem.While exporting excel , it is deleting the leading zero's.How can I retain these zeros.Ex: 00250027 it writes to excel as 250027regardsPatil DB
254 byte By
billpark at 2007-9-26 3:23:33
When I run a class in JBuilder5, it goes well.But when I run it in a command line, it does not work!Dose JBuilder5 use java.exe?This program is used to read a XML file by JDOM.That is WHY?Thank you!
When I use <a href="co.com.XServlet?Parameter1==&Parameter2=455">List</a>to call the servlet XServlet in IPlanet, the doGet method tries to get the parameter called Parameter1 using String par = request.getParameter("Parameter1"), but it does not contain the "=" symbol, but if I ...
when i run some jsp author's jsp example~~the error "null pointer exception " ocurrs!!is it because the server or the code?what i can do?
341 byte By
mila at 2007-9-26 3:23:53
Hi,Is it possible to call tag's doStartTag() etc. methodsfrom another library's tag code?I should make some kind of "wrapper tag library" which would use another tag library.Is this genrally possible/accpeted way to handle this kind of needs or how should it be done ...Brmila ...
Hello,I'm looking at the different ways to parse XML files using Java and currently I'm stuck with SAX. I'm following the JAXP tutorial here at the Sun site and I can't manage to run the echo example: http://java.sun.com/xml/jaxp-1.1/docs/tutorial/sax/2a_echo.htmlSeveral posts here pointed ...
Hi, guys,I am now working on a new project. It is similar to stock price alerting. I have some investment bank account and I would like to set an alert which will be sent to the customer via email automatically. If the amount of money in that account drops to a limit, the customer has to be ...
483 byte By
Greebo at 2007-9-26 3:24:30
I have been tasked with creating a secure email form for a company that sells various items - it will have the option to include credit card details.I have never done something like this before so have little idea where to start - so I would welcome any suggestions as to how to go about this?I ...
279 byte By
sgaye at 2007-9-26 3:24:34
Hello !Is it possible to get parameters in jsp pages ?I.e., when launching a jsp page form an htmlpage or servlet, is it possible to put some parameter, so that the jsp page can recover ? Thanks you very much for your help !
1560 byte By
CHeine at 2007-9-26 3:24:39
Hi there, hope someone of u could help.I'm writing an application with an Applet & Servlet communication. To minimize the object casting in the communication i will reduce the communication (its a DB request between client & host) in XML. The biggest part of my application is running ...
243 byte By
me_elf at 2007-9-26 3:25:01
"Invalid at top level of document,line 3, column 59"I get this error when trying to display an XML file in browser window,I need to get an \advice from u guys that what are the possible causes for this error.
1186 byte By
CchrisN at 2007-9-26 3:25:02
I have a problem passing checkbox values from one jsp to the next.This bit works for the first jsp - The piece of code below creates a check box and populates it with the value "uiaddress" from the database, this is a boolean field. I wish to check or uncheck this value according to whether the ...
1593 byte By
kvidya at 2007-9-26 3:25:27
Hi Everyone,I deployed Petstore using j2ee with out any problems, but then when i try to open it in browser using url http://localhost:8000/estore/index.html it gives me an error that application is not found and if i see j2ee dos prompt, the exception looks like ...
580 byte By
CHEERS at 2007-9-26 3:25:33
In one of my JSP's, I have the user enter a string that will be added to the table in my database. My problem is that if the user puts quotes as in "" around the string they enter, my bean method only gets a null instead of what was typed within the quotes.For example, if the user enters this ...
480 byte By
blue8173 at 2007-9-26 3:25:39
Hi, I'm a new Java programmer.Right now, I'm working with databases in JSP. Is it possible to include different ResultSets within each other?For example:ResultSet set1 = stmt.executeQuery(query1);while(set1.next()){ ResultSet set2 = stmt.executeQuery(query2);while(set2.next()){ //....code ...
136 byte By
CHEERS at 2007-9-26 3:25:44
How can I prevent someone from entering in the character " in my JSP input text box?PLEASE HELP!!!!URGENT!!!
Hello! Here's my problem:I made a class called "test" and put it in:\ROOT\WEB-INF\lib\com\theK\test.javaand then added "package com.theK;" to it's source and recompilled.In a JSP in \ROOT\ I tried Class.forName("com.theK.test"); and it didn't worked.Any ideas? Tomcat should add the ...
HiIn my JSP page using the HttpServletRequest.getProtocol()returns "http" even though client is running site on "https://".Did anyone face something similar?IS there something we are missing.Thanks for ur help.
Here is what I'm trying to do:I wrote a small invitation application that asks for userinput. I have an 'RSVP' button that is supposed toemail the response back to my email address. I've tried the following:1) Runtime.getRuntime().exec("cmd /C mailto:name@what.com)*This didn't work. I ...
4846 byte By
abilal71 at 2007-9-26 3:26:30
I am using this program to parse a XML file and that's the error I am getting....Code:import javax.xml.parsers.DocumentBuilder;import javax.xml.parsers.DocumentBuilderFactory;import org.w3c.dom.Document;import org.w3c.dom.Node;import org.w3c.dom.NodeList;import org.w3c.dom.NamedNodeMap;import ...
705 byte By
cakgun at 2007-9-26 3:27:12
Hi, I am new in java. I just wrote a sample code to retrieve data from database. In Parameter.jsp, I am getting retrieval argumants and passing these to Report.jsp. In Report.jsp, I am calling an EJB to get the result set and displaying in jsp. It is working fine.Now I am trying to give user ...
647 byte By
jimscott at 2007-9-26 3:27:33
I have the problem that several others have had, and that is my JSP pages won't access the same HttpSession object that my servlets do.I am using Apache server with jserv, Oracle 8.1.7 version. My JSP's even have @page session="true". (I have tried several things). Still, my session is empty ...
304 byte By
sasbab1 at 2007-9-26 3:27:45
hitraversing between different jsp pages,I find that three of the session attributes are lost.While it is set, I can print it and verify that it exists in the session.Is there any limit on the #, or is it something else.thanks in advancebabu ...
Hi all,I have an applet embedded in a JSP page using the <jsp:plugin> tag. I want to have the applet return a string (using url connection and outputstream) to the same JSP page when it's done loading but it's not working. The applet starts with no problem but after it's done loading ...
hi alli have created a datasource in weblogic6.0 connected in to database in EJB. But the problem is on weblogic server consol it is thorowing exceptions in equal intervels of time.is it a problem with any one of the attribute values likelogin delay seconds,refresh period, shrink period. i am ...
106 byte By
bpchia at 2007-9-26 3:28:11
how to connect MsSQL database?do i need to download any Jdbc driver?Thank you.
713 byte By
psagarn at 2007-9-26 3:28:16
hi all ! i've been working on servlets and ASP for an year now and have recently started JSP.my problem is that JSWDK, which i'm using for development purpose , can not find any of the beans that i use in my pages.i have set the classpath to the directory in which my bean i.e. .class file ...
229 byte By
lavinarp at 2007-9-26 3:28:31
I'd like to know the xml parsers and their versions supported by JAXP1.1. although crimson.jar is the default parser provided, but i want to use a different parser. I need the answers urgently,Thanks.
289 byte By
sabufeb at 2007-9-26 3:28:34
HiI have a servlet that uses session .But first I want to check whether the browser supports cookie. I want to check it using my servlet .Please help me how can i do this.could you please include a sample code thanks for listeningsabu
699 byte By
hikiran at 2007-9-26 3:28:42
hi,I've developed a discussion forums and in that i've added the feature"Email notification", so whenever an update is made to the topicmy server is sending a mail to all the users who have set the emailnotification to that topic.But some users may not be giving the genuine email id, ...
438 byte By
klaka at 2007-9-26 3:28:48
I can't read data, that were sent via POST method to jsp page, with jsp's request variable.Is there a difference between jsp's request variable and servlet's one?...InputStream in = request.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String line ...