Your Ideas please ..

336 byte By pramod_vvs at 2007-9-26 1:51:10
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 . ...

String Array from one JSP to other JSP

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

Text Box Not Defined?

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 ...

JSP and IIS

29 byte By Zgursky at 2007-9-26 1:51:43
Is it possible?

jspsmartupload - internal Servlet Error

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] + "' ...

What is wrong with this page?

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 ...

useBean functionality

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 ...

Topic:the type named _EJBObject_Stub is not defined

264 byte By dengyi1999 at 2007-9-26 1:52:13
Hi.After import a ejb jar to visualage for java, i open enterprise bean in EJB page, following error exist: "the type named _EJBObject_Stub is not defined"Could anyone please tell me how to fix this problem.Huge thanks in advance

special characters in xsl

236 byte By vinaymani at 2007-9-26 1:52:14
Hi I am trying to use special characters like <,>,& etc in my xsl file. Does any one know how to avoid parsing this special characters in the xsl file.thanks vinayvinaymani@hotmail.com

how to escape a semicolon

246 byte By stephensutherland at 2007-9-26 1:52:43
how do i escape a semicolon in string example String holdblankvalue="&nbsp\;"; i'm using weblogic i get the message invalid escape character or sequence any ideas thanks stephen

jsp with ms sql2000 / iis5

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.

iam getting an NullPointerException while i run my jsp page.

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) ...

Display XML file contents in an HTML TextArea

824 byte By arun78 at 2007-9-26 1:53:55
Hi all. I have a word document that was saved as an HTML file. But, this conversion has introduced the character encoding that Word has for certain special characters like ", ', etc. So, in the html file it gets printed out as \222 \223 etc. For ex. "An old book" in word doc comes out as ...

If a user enters 5 or 5.00 how can i ensure that the format will be 5.00

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 ...

how to save message to draft mailbox when write a message?

20 byte By nelson_tu at 2007-9-26 1:54:25
thanks

building email server with oracle8i as dbms

349 byte By ujjwal_1968 at 2007-9-26 1:54:34
I want to create my own email server and for which the database is to be maintained with oracle 8i, i have created the registration form by which the email id is created successfully as oracle login, i am unable to create programs for sending and recieving emails to the databse. can someone ...

Connect Database ......

458 byte By dragon_east at 2007-9-26 1:54:39
When use EJB Entity Bean Modeler Wizard to create EJB with JBuilder5,the exception occurred when connect the database:java.sql.SQLException: $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$Missing license file for: WebLogic Server 6.0$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$But I ...

cache

104 byte By phillip at 2007-9-26 1:54:59
hello all ,how taglib supports dynamic cache using jsp tags.Any ideas!!!!!!!

How to Interate over ResultSet got from a Bean

575 byte By kunalkaul at 2007-9-26 1:55:12
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 ...

include a JSP file and pass the parameter

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" ...

How to shield HTML page source code?

340 byte By blackwhite at 2007-9-26 1:55:20
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 ...

cookies

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

Merge all XSL files

714 byte By kttan at 2007-9-26 1:55:49
I am using XSL/JSP to design the Application Form.Now I want to split header, sidebar, footer andapp form into 4 XSL files, only app form will receive dynamic data from XML, the rest are static pages.One way I can think of is using 5 JSPs to processE.g. ApplicationForm.jsp->Header.jsp-> ...

JSP Source Code

248 byte By vijayneeds at 2007-9-26 1:55:55
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?

Cannot open .jsp files from browser

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 ...

wml in jsp

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. ...

Dynamic JSP pages

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 ...

Cast Exception from EJB returning Collection

1037 byte By bocockli at 2007-9-26 1:56:50
Still can't understand why I'm getting a cast exception when I call an object method when the object has been returned in a Collection from an EJB. The object CountryModel is a serialised object, returned in a Collection from home.findAllCountries.....I understood RMI returns the object in ...

Full EJBs status in J2EE server

138 byte By Jonen at 2007-9-26 1:56:51
Is it possible to get all EJB(s) status in J2EE server.If could, what command or method can help me.TIA

How to terminal a JSP

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 ...

is JAXP threadsafe

843 byte By manvendra at 2007-9-26 1:56:56
Hi,I am writing a server application in Java which will read a XML file and maintain its DOM structure in memory. This DOM structure will be accessed by multiple threads simultaneously. Some of the threads may modify some nodes. I do not want any thread which is reading a part of the DOM to ...

Ambiguous class: java.lang.Object and org.omg.CORBA.Object

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). ...

Can I specify in XSD for not accepting a particular pattern

330 byte By pprathi at 2007-9-26 1:58:07
Hi,I am validating my XML file by means of an XSD. Can I specify in the XSD for not accepting a particular pattern.I don't want to accept the string containing pattern "'".Becuase if it tries to get inserted into database error will occur.Thanks in advanceprathibha ...

nested element in XFlat

689 byte By yue42 at 2007-9-26 1:58:34
anyone know XFlat well? How do you specify the nested element with attributes in XFlat schema, the .xfl?ie when I have:<Employees xml:ns=""blahblah.com" xml:schemaLocation="blahblah.com blah.xsd"><Employee ...

How to get a hint when a new email in any current page

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

393 byte By tadaka_ravi at 2007-9-26 1:58:48
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 ...

Exception using JAXP transformer on non-default DOM

1739 byte By mneumi at 2007-9-26 1:58:54
Hi!I have a problem with the JAXP integration of my own DOM implementation. I've written a compressed core level 1 DOM implementation and integrated it into JAXP by writing a DocumentBuilder and a DocumentBuilderFactory class. Although not 100% of all DOM methods are implemented completely, it ...

Problem in finding java class file

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 ...

Is there a way to make jsp communicate with an applet

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 ...

HELP!! no object DCM for MIME type text/html error

2122 byte By richardsimmonds at 2007-9-26 1:59:16
I hope someone can help me please. I keep getting the following error whenever I try and send a mail. I don't understand why as the same code functions perfectly in my dev environment(JBuilder 4), but under Tomcat 3.2.1 it throws this. I have got both the mail.jar and activation.jar in my ...

Popular Cookie

629 byte By naveen_ind at 2007-9-26 1:59:20
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++){ ...

Apache + Tomcat = slow performance for static pages?

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 ...

Giving user a message that is validated from bean method

438 byte By moined_mogul at 2007-9-26 1:59:22
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 ...

Passing Parameters to Bean Constructors

724 byte By stephensutherland at 2007-9-26 1:59:27
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 ...

Why I always get a "_pages" folder under my jsp folder and get some error?

1652 byte By aidshiv98 at 2007-9-26 1:59:33
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 ...

One more Cookie

293 byte By naveen_ind at 2007-9-26 1:59:34
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.

Passing select list from one jsp to other jsp

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

Using mailto:myname@dot.com is there a way to automatically send the email

385 byte By adamrau at 2007-9-26 1:59:41
without popping up the email onto the screen.I want the user to enter some fields on a foem. They fields consist of subject and body.I want the user to click submit and send the email.I really want to know if this can be done using mailto since i have the website that I am talking about doesnt ...

Forwarding Email with Attachments?

399 byte By ossidon at 2007-9-26 1:59:42
Hi Java Gurus,I have developed the java application featuring sending, receiving emails with attachment. However how do I forward the email so that the attachment is also automatically forwarded with it? Is there any method/ code to strip the attachment from a email & put it in a vector, so ...

Problem with if statement...

1059 byte By hyrum14 at 2007-9-26 1:59:49
I have a form with a hidden field named fsearch On the next page I use: String search = (String) request.getParameter("fsearch"); The value if search coming through is "location". Now I have this if but it never enters the loop...why? if (search == "location") { ...