Re: Better way to build a site than or with JSPs ?

2002-02-26 Thread Soefara Redzuan
Thank you for replying Trefor. Yes, you understand correctly. And I have considered your solution (using one servlet or JSP) but have a couple of problems with it ~ 1. It produces some really horrible URLS. For example ~ http://www.yyy.com/index.jsp?level1=Products&level2=Goo&level3=... T

Re: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread "Villén Pizarro, Julia"
Ok, a combination of this two to fix the window size and fixing also the frames size seems to be the solution. Thanks guys. Julia -Mensaje original- De: Philip Steel [mailto:[EMAIL PROTECTED]] Enviado el: martes, 26 de febrero de 2002 19:19 Para: [EMAIL PROTECTED] Asunto: Re: Sorry but

Re: Better way to build a site than or with JSPs ?

2002-02-26 Thread Gare, Trefor
I may not have quite understood your structure but it seems strange to be creating all those separate directories when it's only the body include that is changing for each link. It looks like you should be using a servlet to detect which link has been requested (via the querystring perhaps) and t

Tomcat deployment question

2002-02-26 Thread Jim Lindsay
We are due to go live Thursday night (!) with a few select users. We thought it would be a simple matter of jarring up the classes for deployment under Tomcat 4.0. But, for some reason, it isn't working. We've tried jars, tars and wars, and seemingly put them everywhere under the Tomcat tree.

Better way to build a site than or with JSPs ?

2002-02-26 Thread Soefara Redzuan
I've experimented and have found one way to templated site with JSP but there has to be a better way. First, I'll explain what I do at the moment. Consider a very simplistical sitemap ~ Homepage +-Company +-Products +-Services +-Feedback I've created a folder structure to represent this. And the

Please help For Tomcat and JAXM

2002-02-26 Thread Singh, Ajit
Hi Every body I am running Tomcat 4.0 for the SOAP Agent, when i send a request from the browser (http://localhost:8080/simple/index.html), deployed war file working fine. but if i send request with SOAP Client (using JAXM API), getting following Exception PLease help if any body have some idea

how to force tomcat to reload a JSP page ?

2002-02-26 Thread Soefara Redzuan
In my servers.xml I already have the following If I understand this correctly, 'reloadable="true"' means that all JSPs will be reloaded, including JSPs which are "included" in other JSPs using the include directive. Is this right ? JSPs which are 'included' using the jsp:include tag are always

Reverse Proxy and sendRedirect

2002-02-26 Thread Smita Kotnis
hi, We have configured a reverse proxy, to connect one of our internal application and database servers to the internet. Now we have problems with JSP-based applications and rewrite commands which were issued from those apps: The Login page is avaliable under http://reverse-proxy.domain/skills

Re: functionaly for buffer management

2002-02-26 Thread Richard Yee
I'd recommend using the Jakarta Velocity template engine for this. -Richard At 12:24 PM 2/26/2002 -0800, you wrote: >please help me out > >Functionality: > >Input is a Template file>>we have to put into buffer>> >inserting the data respective positions/ manipulation >of template > > > >Following

Re: functionaly for buffer management

2002-02-26 Thread Joe Cheng
Any specific problems you're having here? 1) Use java.io.FileReader and StringBuffer 2) Use java.io.FileWriter 3) StringBuffer has an insert() method 4) You'll have to write this yourself, but it's easy 5) String has an indexOf() method 6-10) Should be simple once you have the 1-5 working And wh

functionaly for buffer management

2002-02-26 Thread Chan Mal
please help me out Functionality: Input is a Template file>>we have to put into buffer>> inserting the data respective positions/ manipulation of template Following methods needs to put in generic class for manipulation. 1) loadFile(p_FilePath As String) :Loading the file into buffer

Re: JavaMail with attachments

2002-02-26 Thread Chris Pratt
You might find someone here, but I'd bet you'd have better luck in the JavaMail Interest Group. try http://archives.java.sun.com/javamail-interest.html (*Chris*) - Original Message - From: "Rodelio A. Pagui" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002

Re: Hide a directory with JSP

2002-02-26 Thread Hans Bergsten
Bartha Gabor wrote: > HI everybody, > > I'm new in this mailinglist, I hope this is not an offtopic problem. > I'm using Tomcat and .jsp pages for managing user access to some of my > files. I would like to hide my data in a directory which is forbidden > for everybody expect registered users w

Re: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Philip Steel
this should do it document.write(screen.availWidth); -Original Message- From: Bommakanti, Vamsee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 6:06 PM To: [EMAIL PROTECTED] Subject: Re: Sorry but it's urgent: How to get window width at IE 5? Try window.resizeTo(x,y) i

Re: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Bommakanti, Vamsee
Try window.resizeTo(x,y) in IE You can set the length(y) and width(x) Hope this helps Thanks Vamsee -Original Message- From: "Villén Pizarro, Julia" [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: Sorry but it's urgent: How to get wind

Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread "Villén Pizarro, Julia"
Hi all: ¿Anyone knows how to get the navigator window width at IE 5 (using JavaScript)? I tried "document.body.width" but it doesn't work since I need window width to define the size of frames, and a page made out of frames doesn't have body or it has it underneath the frames so this sentence wo

Re: WAP /TOMCAT 4.01

2002-02-26 Thread Nicolas Silberzahn
Bonjour, Nothing particular: WML pages are the same. Just different MIME... For example, in a jsp: <%@ page contentType="text/vnd.wap.wml" %> That's all Bonne journee, Nicolas Silber*zahn Digital Airways Everywhere Technologies <100% Java, Mobile, Offline aware>Wapaka Browser www.DigitalAir

Re: WAP /TOMCAT 4.01

2002-02-26 Thread Mark Lines-Davies
Hi Panos I don't know if Tomcat 4.01 can act as a WAP gateway... Assuming that it can't then, as with earlier Tomcat versions, you need a WAP gateway as well. When you send your WML out, the gateway encodes it into WBXML, which is a binary encoded XML. The gateway receives WAP requests and passe

Hide a directory with JSP

2002-02-26 Thread Bartha Gabor
HI everybody, I'm new in this mailinglist, I hope this is not an offtopic problem. I'm using Tomcat and .jsp pages for managing user access to some of my files. I would like to hide my data in a directory which is forbidden for everybody expect registered users who have password - my first pag

WAP /TOMCAT 4.01

2002-02-26 Thread Panayiotis Periorellis
I was just wondering whether tomcat 4.01 can be used to accept and process wap requests.. I don't think this is something we have discussed so if anybody has implemented WAP pages can you please let me know: A) where in tomcat do we place the wml B) where do we place wmls C) do we need any fur

Re: JavaMail with attachments

2002-02-26 Thread Smita Kotnis
hi, I had used this is JSP, hope this would be help full to you.. Smita If it is sending the attachment it is some thing like this, ** //Text part BodyPart bodyPart1=new MimeBodyPart(); bodyPart1.setText(\"Sedn

Re: Taglib in Tomacat.

2002-02-26 Thread Smita Kotnis
Hi, Thanks a lot. It worked. What I did is, as you have suggested kept jar in WEB-INF/lib and tld in WEB-INF/tlds and copied web.xml from examples folder to Skillset/Web-INF folder. And it worked. Thanks a million for your inputs, I guess, I was doing some minor error in giving the paths.

Re: SQL statement.

2002-02-26 Thread daniel
Well you are going to have to use group by and a decode statement. You want the actual sql statement why do u not go ask someone in a sql group. but something like SELECT MAX(OrderNum),requstID FROM TRequest group by requestID,OrderNum might work. dont know if this works but hey did it in 10