%@ include file = %directory+pagename% %

2001-11-20 Thread Ramesh Kesavanarayanan
Hi all, i have a jsp page like the follwoing tr td %@ include file=file % /td /tr but problem is that the directory and the file name will be known to me during runtime only. i cannot use jsp:include tag because i am using jsp1.1 in VAJ3.5.3 the jsp1.1 compiler understands jsp:include as a

Re: JSP to PDF, JSP to Word

2001-11-20 Thread Clayton Nash
I've had some success with using wvware (www.wvware.com) to convert word docs to HTML and then displaying that file via a JSP page. I've used this in a production environment and found the results acceptable under Linux. If you're based on an NT platform, you could use COM calls to get Word

JSP Use-Bean help needed

2001-11-20 Thread Mahendra (Indigo)
jsp:usebean id=xyz scope=session class=abc.efg.xyz this tag is used to instantiate a simple java bean in JSP. the scope identifier sets the life time of the bean. scope=page the bean persists for that page only. scope=request the bean persists for that request. scope=session the bean persists

Re: JSP Use-Bean help needed

2001-11-20 Thread Chen, Gin
Use Session.removeAttribute(xyz); -Tim -Original Message- From: Mahendra (Indigo) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:03 AM To: [EMAIL PROTECTED] Subject: JSP Use-Bean help needed jsp:usebean id=xyz scope=session class=abc.efg.xyz this tag is used to

Tree Menu Implementation

2001-11-20 Thread Praveen Potineni
HI all, I'm trying to implement dynamic Tree Menu(The kind of structure in windows explorer) in our web project. Our Clent server application has the tree menu implemented in Delphi. And i want to implement the same in JSP. I have to get strings from database and also create links on the

Re: Offline JSP Applications

2001-11-20 Thread Mattias Jiderhamn
You can not use JSP to create desktop GUI applications, if that is what you mean. The application will have to run through a web server. You could, though, have the server on the local PC and thus have an offline application. If you are into developing Java desktop apps, you should look at

Re: Java Swing and XP data

2001-11-20 Thread Joe Cheng
if you need code completion in an nice editor try Jext www.jext.org Ryan- Wow, Jext is cool... thanks for pointing it out. Probably the cleanest interface of any Java-based IDE I've used, and though it takes a little while to load it's reasonably snappy once it's running. I can't for the

Re: taglibs

2001-11-20 Thread Joe Cheng
i know that jsp:include works with jsp1.0 but does not with jsp1.1. Is that statement true? I don't think so... If it is true, you can always use this to do a runtime include: % request.getRequestDispatcher(/newpage.jsp).include(request, response); % where obviously /newpage.jsp should be

Re: Java Swing and XP data

2001-11-20 Thread Joe Cheng
so you mean after specify the class path in Vj++, then Vj++ will be able to run any Sun Java based native code? No... VJ++ uses jview(? I can't remember) and jvc instead of java and javac, which can potentially cause problems. I certainly don't recommend compiling, running, or interactively

Re: Tree Menu Implementation

2001-11-20 Thread Kamayan Premkumar
you can populate the values in javascript from jsp. just like this... % //get the values from db String s = Hello; % then populate the values in Javascript... script language=javascript var s1= %=s%; /script Thamks prem [EMAIL PROTECTED] wrote: HI all, I'm trying to implement

Re: JSP to PDF, JSP to Word

2001-11-20 Thread Mike Akerman
On Mon, 19 Nov 2001, Eric Fleming wrote: Sorry for the confusion, I am trying to convert a word document to a JSP page and also convert a PDF to a JSP page. Is the intention that the end content be a dynamic word document generated with JSP, or that the end content be a dynamic html page? It

Re: Tree Menu Implementation

2001-11-20 Thread Joe Cheng
if you can afford to do it in a Java applet, a quick search on Google resulted in this. i'm sure there are tons of others out there. http://javaboutique.internet.com/AJTree/ === To unsubscribe: mailto [EMAIL PROTECTED]

Re: %@ include file = %directory+pagename% %

2001-11-20 Thread Joe Cheng
I don't know for sure. But can you try out.flush() right before you perform the include? Perhaps that will help. -jmc === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

The Current URL

2001-11-20 Thread Craig Newlander
How can I access the full URL on a JSP page? I want to display the full URL of the page within the .jsp code. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED]

Re: The Current URL

2001-11-20 Thread Chen, Gin
Use request.getRequestURI(). It will give u everything past the http://localhost:8080/ (or whatever u named ur host). You can prepend the host information if u want. -Tim -Original Message- From: Craig Newlander [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:29 PM To:

Adobe PDF

2001-11-20 Thread Brian Healey
Hi, I have been looking for java (JSP, servlet) code for an existing Adobe document, that resides on a corporate intranet. It would process user information, say they filled out a W-4 - the fdf info is saved to the original document to itself, on the server, and then renamed. Most solutions I

Re: The Current URLconfiguring apache with tomcat

2001-11-20 Thread Kam Premkumar
How to configure apache with tomcat 4.0 in windows 2000 Thnaks Prem === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some

TOMCAT

2001-11-20 Thread javaserverpages
Hi, TomCat compile JSP files to Servlet on first web request... OK my question is that... can i do TomCat compile all JSP files while he(TOMCAT) is starting, without web request ? the user will not wait that step :) thanks, Obrigado pessoal... abraço para todos :) Marcos Farias

Re: The Current URL

2001-11-20 Thread Joe Cheng
Use request.getRequestURI() I believe that actually will leave off the querystring? Craig, don't know if you intended that to be part of it or not. If you want the full querystring you can use this method: javax.servlet.http.HttpUtils.getRequestURL(HttpServletRequest req) whoops, I just

Re: Error within JSP page

2001-11-20 Thread javaserverpages
Hi Root Cause: java.lang.ClassNotFoundException: class test.YyDB : java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified there is an error. do you create a DSN in ODBC for your application ? abraços à todos... Marcos Farias

Configuring Tomcat with Apache

2001-11-20 Thread Kam Premkumar
How to Configure Tomcat 4.0 with Apache Web Server Thanks Prem === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some

TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Hello, I am using Apache TomCat 4.01. I am doing some test code. I want to know: 1. Where I need to put my class files for my web applicaiotn. I see many class folders in the install directory. 2. Also, please specify the changes I need to make in the class path. I appraciate your

Re: TomCat Classpath

2001-11-20 Thread Kam Premkumar
Create your own App directory structure under webapps For example: webapps/myapp webapps/myapp/WEB-INF webapps/myapp/WEB-INF/classes webapps/myapp/WEB-INF/lib put your web.xml in WEB-INF put your class file in classes dir put your third party jars in lib ( eg jdbc driver) put your servlets,jsp

Re: TOMCAT

2001-11-20 Thread Chris Tucker
You can use jspc to compile the JSP's yourself. You could easily create a script that compiles the JSP's when you deploy them (not sure if there's any built-in's to ant to facilitate this, but it would also be easy enough to modify a rule to do it from ant). Or you could write a script that

Tomcat- Apache Configuration : Finally I did it !!!!

2001-11-20 Thread Kam Premkumar
Guys Finally I configured Apache with Tomcat 4.0 in windows 2000. Hopefully this document will be useful to everybody Thanks Prem Apache Web Server Installation in windows 2000 === 01. Download Apahce WebServer from the following Link

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Prem: I tried the directory structure you mentioned. I get the index.html page. The next page is an JSP, which I am not getting. I have made changes in the server.xml also. Should I create a JSP folder in webapps/myapp??? Thanks. /KK - Original Message - From: Kam Premkumar [EMAIL

TOMCAT IIS redirector troubles

2001-11-20 Thread Gare, Trefor
Hi all, Any help appreciated greatly. We've succesfully installed Tomcat on top of IIS on NT4 in a test environment. After some fiddling all is working fine. However we've now tried to transfer that setup across to the production server and are having problems. After setup and restarting all

Re: TomCat Classpath

2001-11-20 Thread Kam Premkumar
you can create jsp directory and keep the jsps. But whats the problem you are facing now. !! Are u getting any error while accessing jsps. Try to start your tomcat like this go to tomcat_home/bin/ and catalina run Hope fully you set the CATALINA_HOME=c:\tomcat40 something like in your env

Re: Tomcat- Apache Configuration : Finally I did it !!!!

2001-11-20 Thread Gare, Trefor
Well done Kam, I've had the same problem, but looking through your instructions I can't see anything that we didn't try.. have you any idea where it was that you're problems were coming from? The only query in my mind is the Note : ( Dont select thie option Tomcat as NT

Re: TOMCAT IIS redirector troubles

2001-11-20 Thread horwat
It looks like the attempt to open a socket on port 1888 fails. Are you sure that port is available? I would check into other services running on the machine that might be using the port. Justy - Original Message - From: Gare, Trefor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Re: TomCat Classpath

2001-11-20 Thread Kam Premkumar
Idont see any problem here. Check your METHOD=POST [EMAIL PROTECTED] wrote: Prem: The problem is this: I have index.htnl. this page is subkmitted to a JSP page. The problem is TOMCAT says that this JSP page is not found. So, I am kind of looking at the JSP folder etc. Any suggestions?

Re: TOMCAT IIS redirector troubles

2001-11-20 Thread Gare, Trefor
Thanks Justy, I've done a netstat -an on all the box and 1888 isn't amongst the currenlty opened ports. But it does look suss doesn't it. I'll keep looking into it. Tref Gare Web Developer MCSD eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 -Original

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
- Original Message - From: Kam Premkumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 6:18 PM Subject: Re: TomCat Classpath send your index.html and jsp please. if you set your form method=post. I think it will work Thanks Prem [EMAIL PROTECTED]

Re: TomCat Classpath

2001-11-20 Thread Kam Premkumar
Hi Dude you missed myapp directory in your path ? http://localhost:8080/jsp/Mypage.jsp try like this http://localhost:8080/myapp/jsp/Mypage.jsp [EMAIL PROTECTED] wrote: - Original Message - From: Kam Premkumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20,

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Prem: Here is what you asked for. Hope you can shed some light on it. Thanks, once again. /KK The HTML: FORM method="POST" action="http://localhost:8080/Mypage.jsp" Pnbsp;nbsp;nbsp;nbsp;nbsp; INPUT id=text1 style="LEFT: 78px; TOP: 55px" name=username/P Pnbsp;/P PINPUT id=password1

Re: TomCat Classpath

2001-11-20 Thread Kam Premkumar
1. Make sure your have diretory named myapp under webapps 2. Make sure you have the following entry in server.xml Context path=/myapp docBase=myapp debug=0 reloadable=true 3. copy the index.html and your jsp under myapp 4. try http://localhost:8080/myapp/index.html and your jsp link shoulb

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Prem: I tried the myapp tlso, I am getting HTTP 404 error, 'Mypage.jsp not found'. Am I messing up with the fodlers. /KK - Original Message - From: Kam Premkumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 6:27 PM Subject: Re: TomCat Classpath Hi Dude

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Prem: I have the files in the folder as you said and also the path is this: http://localhost:8080/myapp/index.html http://localhost:8080/myapp/xxx.jsp Still I am getting JSP page not found error. Also, I note that the JSP is being searched in http://localhost:8080/xxx.jsp Is there any

Re: TomCat Classpath

2001-11-20 Thread Ketharinath Kamalanathan
Prem: I fixed that, but struck in another. I am getting hold of the JSP now. In the JSp I have useBean. But when I access the object, I get a 'Undefined variable or class name: abc' error. Any suggestions? Thanks /KK This is my JSP page code: HTML HEAD TITLEJSP 1/TITLE /HEAD BODY %@ page

Re: TomCat Classpath

2001-11-20 Thread Kamayan Premkumar
send ur server.xml [EMAIL PROTECTED] wrote: Prem: I have the files in the folder as you said and also the path is this: http://localhost:8080/myapp/index.html http://localhost:8080/myapp/xxx.jsp Still I am getting JSP page not found error. Also, I note that the JSP is being searched

Re: TomCat Classpath

2001-11-20 Thread Kamayan Premkumar
what the fix you did for jsp?. put your bean classes in myapp/classes dir and try. [EMAIL PROTECTED] wrote: Prem: I fixed that, but struck in another. I am getting hold of the JSP now. In the JSp I have useBean. But when I access the object, I get a 'Undefined variable or class name:

Re: TomCat Classpath

2001-11-20 Thread Kamayan Premkumar
sorry put it in myapp/WEB-INF/classes [EMAIL PROTECTED] wrote: what the fix you did for jsp?. put your bean classes in myapp/classes dir and try. [EMAIL PROTECTED] wrote: Prem: I fixed that, but struck in another. I am getting hold of the JSP now. In the JSp I have useBean. But

Using JSP and Flash Together, How is it done?

2001-11-20 Thread Antony Stace
Hello Ladies and Gentlemen Can someone give me some pointers on how to integrate Flash and JSP pages or give me a reference to a website or books which explain how to use them together. Cheers Tony === To unsubscribe:

charset in jsp

2001-11-20 Thread Dick Wong
When my jsp retrieve the data from mysql , it cannot display the Chinese Character. Why ??? What's the problem ?? I already add these lines on my .jsp : %@ page contentType=text/html;charset=Big5 language=java import =java.sql.*, java.text.*, java.util.Date.* % %=result.getString(job_title)

Custom Tag - Error Compiling

2001-11-20 Thread Dinesh, S.
Hi All, I am playing around with Custom Tags. I have a Table Tag that extends a FieldTag. Compiling the FieldTag works fine, however, everytime I compile the TableTag, I keep getting the following:- Superclass com.jcs.db.dbase.FieldTag of class com.jcs.db.dbase.TableTag not found. public class

IllegalStateException and Tomcat 4.0

2001-11-20 Thread Dave Deniman
All of our forwardinghas broken when trying to run under Tomcat 4.0. Below issome example code causing us the problem - all of it works great under Tomcat 3.2! We have a small handful of JSPs which use... jsp:useBean id="sessionBean" scope="session"

Upgrade to Tomcat4.0

2001-11-20 Thread ivy chen
I have an application base on tomcat3.2.1,want to upgrade to tomcat4.0,and found out the setting of tomcat4.0 is so much different from tomcat3.2.1. Anybody could give me some hints?Thanks in advance.

Re: Upgrade to Tomcat4.0

2001-11-20 Thread slash
If you install toamat4.0 fiinish, has some document. Have some inproment configure file Server.xml Web.xml .. you can setting the tomcat4.0 , Chen Chin Wei (³¯§Ó°¶) ´Â¶§¬ì§Þ¤j¾Ç¸êºÞ¨t Department of Information Management Chaoyang University of Technology mobilephone:

Charset problem.

2001-11-20 Thread Dick Wong
Dear all, When my jsp retrieve data from mysql. All the chinese characters cannot be displayed and become special symbol. However, if I type a chinese characted in jsp file. It can display. So I think this is the mm driver problem or jdbc. Is there any suggestion or hints ?? Regards, Dick