2029 byte By
jdqo at 2007-9-26 2:40:55
could anyone, please, explain to me why the code below doesn't work?<%@ page import="java.sql.*, java.util.*, java.util.Date, java.text.*, java.lang.*" %><%boolean erro_f=false;boolean erro_q=false;boolean achou=true;String codigo_estabelecimento="";int ...
372 byte By
yonatanm at 2007-9-26 2:41:15
Hi all I am a prityy much "novice" in xml / xsl but I did some simple stuff. when I add a small hebrew word to my xml I got an exception" javax.xml.transform.TransformerException: An invalid XML character (Unicode: 0xf8) was found in the element content of the document."I use xalan.jar and ...
2756 byte By
bgw2 at 2007-9-26 2:41:39
I'm developing a web based application that uses multiple frames in abrowser window. Three of those frames go to a stateful session EJB to getthe data to be displayed in them (it's different data that's all held in acommon session).What I'm finding is that I often get an exception thrown ...
Had an unusal problem this afternoon with J2EE Ref Impl 1.2.1. Some students in class did not use the standard for names. They created a remote interface with the following name "bankteller", the home was "banktellerHome", and the bean was "banktellerBean".When we tried to deploy we kept ...
7502 byte By
mpburke at 2007-9-26 2:41:50
I modified the numguess example that comes with tomcat but I get a "can't create bean" error message when I call my jsp file. If anyone can see what I'm doing wrong or suggest ways to discover the problem I'd appreciate it.My modified jsp:<!-- Copyright (c) 1999 The Apache Software ...
Hi,Is there any source version constroll tool which is free and available on the internet?Just like "www.freedrive.com". Thanks in advance!
3011 byte By
gcallagh at 2007-9-26 2:41:57
Hi,It would be very useful to have a checklist or guidelines to ensure a JSP/tomcat web site one develops is secure, in particular for the scenario where the web application is not huge/complex &/or is developed by part-time developers.That is I guess I'm generally asking for the easiest ...
1166 byte By
muralira at 2007-9-26 2:42:07
Hello everyone, This is Murali. Learning JMS. Can anyone help me the following problem. I run the two programs in the example they are compiled and i run the j2ee server , that is also running fileBut when i came to the below step I'm unable to do that following I mention the step and error ...
355 byte By
muralira at 2007-9-26 2:42:10
Hi I'm strcuk at the above step.when i type the following commandj2eeadmin -addJmsDestination MyQueue queue I got the following errors. 'j2eeadmin' is not recognized as an internal or externalcommand,operable program or batch file. can anybody help with these? ThanksMurali ...
756 byte By
muralira at 2007-9-26 2:42:12
Hello everyoneI set the j2ee.jar in the classpath and after compiled the example given in the documentation I got problems in Creating the JMS Administered ObjectsC:\jms>j2eeadmin -addJmsDestination MyQueue queue'j2eeadmin' is not recognized as an internal or external command, operable ...
223 byte By
des_xu at 2007-9-26 2:42:13
Hi, does anyone know how to save a html page from a JSP page?For example, I have written html in a textarea then i have a button which on click will pop up the box "Save As", does anyone have any idea?
601 byte By
Heather0 at 2007-9-26 2:42:19
Hello everyone:I uploaded some files from browser and stored the files in bytes in the database, but later on I could not display the files in browser without saving them to a local storage first. Is there any way I can send the bytes to the browser in the right format using JSP?I tried the ...
1162 byte By
isam_hk at 2007-9-26 2:42:27
Please help I found the error of "no provider for pop3" when I run the following program in my office (using proxy to internet but the pop3 a/c is work for my outlook to rcv e-mail). However, that's no error prompt out when running at home but nothing to display even there are two msgs in my ...
653 byte By
nphelps at 2007-9-26 2:42:51
I am happy to announce that the next release of Active JMS is now available for download. It contains many fixes and enhancements. Additionally it includes many samples in Visual Basic and Python.Active JMS is a freely available, non-proprietary, open source ActiveX JMS client API. With it, you ...
1588 byte By
minhhoa at 2007-9-26 2:43:01
It seems that when two users (two sessions) request concurrently the same JSP, variables in JSP will change depend on the session that sets the variable later.Ex: I have a JSP named Login.jsp with two parameters: username and password. Two user will submit with different username and password. ...
I would like to have a tag handler create a hashtable (after doing a lookup in some databases) and export the hashtable as a scripting variable to the jsp page that uses the tag. The idea is that the JSP author, who knows the field names used as keys for the hash, would be able to do things ...
304 byte By
jhlijun at 2007-9-26 2:43:28
Hi,allI want to builder a service that provide service like hotmail,customer can send mail and receive mail use my service,the mail save in my DB server.I must use java language,servlet or JSP.I want to know which softwares needed and what tech i must to learn?Thanks! ...
141 byte By
cl_81 at 2007-9-26 2:43:35
Hi, I'm new to xml can anyone introduce me some tools to generate xml documents? or some faster way to generate xml documents.
Is it possible to do javadocumentation for the JSP (and how do I do that?) or is it only possible to do comments in the code?/Patrik
255 byte By
zrx at 2007-9-26 2:44:05
Hello,How to read mails with unsupported charset ? I got mail with cp1252 charset, but can not read it because:UnsupportedEncodingException cp1252Is possible to convert that charset to ISO8859_1 or something ?-zrx
244 byte By
K.Tomono at 2007-9-26 2:44:14
Hello all.Does anyone tell me, Which is better on MIME either BASE64 or Quoted-Printable?I'm not so familiar with MIME.Any Opinion will be appreciated.Thanks.p.s.excuse me for my english.
293 byte By
gonellas at 2007-9-26 2:44:22
I want to insert an image on a HTML page which will be generated by a servlet.For that I have written the <IMG SRC>tag.But my doubt is where to store the image(i.e in which directory of the web server) I should store the Image.I am using JavaWebServer2.0.please help
1400 byte By
slho7 at 2007-9-26 2:44:41
I'm curious about how does a request interacts with a servlet. Here's my understanding, pls correct me if I'm wrong.A Java Request object consists of a http header as well as parameters that are passed. These parameters maybe textual input fields or even a whole file, etc. Once the web ...
310 byte By
LuoTing at 2007-9-26 2:44:45
Hi,allString sGB2312 = ""; // a GB2312 Chinese characterString sBig5 = "WB";//a Big5 Chinese characterhow can convert sGB2312 To sBig5 ?i want some code like below:String GB2BIG5(String sGB2312){ }Thanks for any idea.- LuoTing ...
403 byte By
hoson at 2007-9-26 2:44:52
Hi All,I have 2 tables now. One is master table and the other one is table showing details of master table. So, primary key fields in detail table are foreign keys of master table.If it is so, how can I represent these 2 tables using Entity Bean? Should I use one entity bean for each table? Or ...
I was obtaining the actual path of my JSP pages using request.getPathTranslated() . Now , I have packed the whole thing in a war . This method is returning null now causing the app to crash , while the non-war version is working fine .... Where am I going wrong ? Shubhrajit................ ...
I need to connect my entity bean to 2 separate tables; On Create of the entity bean I should be able to insert record into 2 tables ,where each table has different fields? Another thing i have been able to do this using BMP but how to do it with CMP ? Please tell me how will i map two or more ...
221 byte By
seeteshh at 2007-9-26 2:45:14
Hi all,In which folder do I keep my java bean class files so that my jsp can use jsp:useBean tag while my jsp's are stored in /webapps/examples/jsp/seet folder.Thanks in advance.Seetesh
506 byte By
jhicks24 at 2007-9-26 2:45:35
I hava an application that uses both a servlet and a JSP and I need to use connection pooling. I have a connectionPool class that works fine in the servlet. I create the pool in my init() method and access it when needed in doGet(). I would like to do the same thing in my JSP, but since the ...
Hi,While developing the web application, I want to remove all the menu bars / toolbars from the IE browser.Understand It can be achieved using window.open()while opening new windowbut is there any other way jusing javascript /JSP for performing the action for same window.regards ...
602 byte By
RichaM at 2007-9-26 2:45:46
Hi, We have developed several Japanese Web Pages which are getting displayed correctly and also the data input in Japanese gets stored and displayed correctly when the page is re invokedThe problem I am encountering is that when I try to extract Japanese data from a given table in SQL and ...
602 byte By
RichaM at 2007-9-26 2:45:48
Hi, We have developed several Japanese Web Pages which are getting displayed correctly and also the data input in Japanese gets stored and displayed correctly when the page is re invokedThe problem I am encountering is that when I try to extract Japanese data from a given table in SQL and ...
Hi I have a servlet which processes the request initiated at a client.While the servlet is waiting for the response,if the user presses the back button,forward button,refresh button or simply closes the browser window,How does the servlet come to know of this.In this case what is the action to ...
230 byte By
hyrum14 at 2007-9-26 2:45:56
I'd like to capture the referrer and then from there would like to add it to a session variable. This will be used to display a certain header.How can I check to see if the referrer contains a certain domain?
363 byte By
micksta at 2007-9-26 2:45:58
I have a jsp page that contains a number of images which are returned dynamiically. I want a user to be able to click an image which opens an SMTP client (eg. Outlook Express) . When they open the client the image will already be attached to the email and they will only have to add the ...
382 byte By
atti1614 at 2007-9-26 2:46:15
Hello. I m trying to upload images by JSP. I recieve the data from ServletInputStream and Pick up the file from the Stream. But when i check on the server...the image view changes after reaching tomcat server. I mean i get spoiled/corrupt image uploaded. Please guide me where i m misssing ...
Can anyone let me know how to download a file in an web based application without prompting for a file download dialog box using java(servlet or JSP) or How do i raise a file download dialog box for downloading a file to the clients machine using java(servlet or JSP).thankschandru ...
99 byte By
ermahen at 2007-9-26 2:46:42
Hi!Anyone who can give me a tip on where I can download different XML parsers?
261 byte By
robito at 2007-9-26 2:47:01
This is an easy question!Where can I find JSP-tutorials for beginners in PDF-format. Surprisingly yahoo.com and other search engines do not deliver useable results.If you know some good tutorials on pdf, tell meThanks, Robito.
1545 byte By
wagj707 at 2007-9-26 2:47:04
Now i created a popup windows with HTML based on the main page, there is an input text area and a search button in the popup window, after i click the search button, i need to execute some jsp code to take data from backend and display the result on the same popup windows, is there somebody can ...
What is the date you plan to start publishing chapters to the forum.
1720 byte By
iroggero at 2007-9-26 2:47:08
please, can anyone suggest me a reason why I view this error everytime I call a sessionbean method through a jsp page?java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 0[]at java.lang.reflect.Constructor.newInstance(Native Method)at ...
442 byte By
siv-viv at 2007-9-26 2:47:36
could someone give me a sample code or idea how to construct a bean which gets the login and pass word from a jsp page(or html page) and then it should set those values in a XML page.im pretty confused how to transfer the the values to the xml page. for now i have 2 methods which getLogin() and ...
How do we code or program to an XML file with different languages , say english and spanish. WHen we parse such a document with the default locale , the presence of special characters throws errors .For eg when I use xerces and use DOMParser parser = new DOMParser();try{ // Parse the XML ...
315 byte By
Pal1 at 2007-9-26 2:47:40
Hi When i used sendRedirect(response.encodeURL("Test.jsp")) , I am getting the following error :- JspServlet: unable to dispatch to requested page: Exception:java.lang.IllegalStateExceptionBut it has gone to Test.jsp.Does any one know the reason?ThxPal ...
73 byte By
cserold at 2007-9-26 2:47:41
Does anyone know a good jsp/servlet listserve?Thanks
85 byte By
aksharam at 2007-9-26 2:47:45
Is there any site or write up about EJB Standard?ThanksRR
I have been trying to get the following code to work:<%holder = request.getParameter("personnel");ssn = holder.substring(0, holder.indexOf("."));name = holder.substring(holder.indexOf(".") +1, holder.length());balance = request.getParameter("txfBalance");type = ...
205 byte By
thotha3 at 2007-9-26 2:47:57
Hi All, My xml output comes as one long line. But I would like to see it indented in the form of a tree for the sake of readability. Is there an api help for this?TIA,sri
Does anyone know a good (preferrably free) tool to convert a JSP file to valid XML format?I've tried Tidy, but this tool can convert HTML to XML or XHTML but not JSP to XML. It will check first if my JSP file is valid HTML, which it is not (because there are a lot of JSP tags included, which ...