This is one of the most off topic post I have seen on this list.
Even so, the poster managed to slip in the three magic letters J, S and
P...
It's nice to see how creative people are ;-)
(Please note the smiley, and don't take this post too seriously)
Mattias Jiderhamn
Expert Systems
Hi,
I have a problem. I am calling the following :
window.open('RpMainReportSrv?pathinfo=/docroot/RpFormatPage.jsphdFlgAction=
4ReportId='+
'AU02'+'auditid='+theForm.hdAuditId.value+'LeadAuditor_Name='+theForm.hdLe
adAuditor.value+
use java.net.URLEncoder.encode();
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-3140
-Original Message-
From: Vibha Jindal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:39 AM
To: [EMAIL PROTECTED]
Subject: Space in URL
Hi,
I have a problem. I am calling
It's working!!! :-))
Thanx!!!
Vibha
- Original Message -
From: Vikramjit Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 3:10 PM
Subject: Re: Space in URL
use java.net.URLEncoder.encode();
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph.
Hello everybody
Is there any waywe can
read the file of netscape inbox which is inbox.snm , So that i can seperate the
message from attachment.
well this is not jsp
question but i think someone of u must know how to do it.
if anybody knows how to then please write to me
at
[EMAIL
Is there a way using RequestDispatcher to change from one page or servlet context to
another?
TIA for any help or advice,
--
Dali
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest:
This is taken right from the Tomcat Samples provided by Apache:
/**
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*/
import javax.servlet.*;
import javax.servlet.http.*;
public class servletToJsp extends HttpServlet {
public void doGet (HttpServletRequest
Yeah, I hear ya. Basically, as a general programming practice, if I am only
going to use a single command, I will do it that way to prevent additional
lines of code.
-
J a m e s B. S w a r t
Agere Systems - Colorado Design
If you use RequestDispatcher.forward (), for instance, the request will be
forwarded to the target servlet or jsp page. The target servlet or jsp page
can be in the same or different web application.
Justy
- Original Message -
From: David Rice [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Apologies if you're also on SERVLET-INTEREST -- I inadvertantly sent this
message there first. It's not so much a cross-post as a miss post. Feel
free to flame me for idiocy.
===
I'm probably missing something very obvious here, but it's got me flummoxed
right now. I'm running Tomcat 4.01,
Chris Tucker wrote:
[...]
I'm probably missing something very obvious here, but it's got me flummoxed
right now. I'm running Tomcat 4.01, JDK 1.3.1_01, and I'm having trouble
with exceptions when trying to read Bean properties:
2001-12-06 09:52:24 StandardWrapperValve[jsp]:
Thanks Hans. I thought this may be an issue (like you say, it seems to be a
bit of a gray area): I tried taking out the overridden setters on one of the
properties once, which didn't fix the problem, but there were other
overridden setters on other properties that were likely confusing the
Chris Tucker wrote:
Thanks Hans. I thought this may be an issue (like you say, it seems to be a
bit of a gray area): I tried taking out the overridden setters on one of the
properties once, which didn't fix the problem, but there were other
overridden setters on other properties that were
Does someone know the implementation or lead me in the direction
of getting the url of what the user inputed to get your website.
For example
If I type mydomain.com/school/ or mydomain.com/home/
How can I get the url string that was inputted to get to the site..
Get me?
Maurice``
request.getHeader(REFERER) will return the url you are looking for.
Tony Diodato
-Original Message-
From: King Maurice [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 4:24 PM
To: [EMAIL PROTECTED]
Subject: Detect the url
Does someone know the implementation or lead me in
Thanks for spending the time to help with this Hans...apologies if my
explanations of problems can be a little, ahem, obtuse at times. The fact
you're managing to answer my questions when I can't even manage to ask them
properly is quite a testament. :-)
Basically, your comments on the way
Anthony Diodato wrote:
request.getHeader(REFERER) will return the url you are looking for.
Tony Diodato
No, but request.getRequestURI() does. The Referer header is only set
if the user clicked on a link to get to the page, and contains the
URL of the *referring* page, not the target page.
You are right, I misunderstood what he was looking for.
Thanks for clearing this up.
Tony Diodato
-Original Message-
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 4:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Detect the url
Anthony Diodato wrote:
Chris Tucker wrote:
Thanks for spending the time to help with this Hans...apologies if my
explanations of problems can be a little, ahem, obtuse at times. The fact
you're managing to answer my questions when I can't even manage to ask them
properly is quite a testament. :-)
;-)
Don't put the string in %! %, that makes it global. The best way is to
use session.putAttribute() ( or the Session scope) to store that
information.
(*Chris*)
- Original Message -
From: Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 6:20 PM
Subject:
Or, since this is JavaScript, you might just wrap the string in escape(),
which will do the same thing.
(*Chris*)
- Original Message -
From: Vikramjit Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 1:40 AM
Subject: Re: [JSP-INTEREST] Space in URL
Hans,
Are you going to be releasing a 1.2-spec updated edition of your book?
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
Sent: Thursday, December 06, 2001 1:51 PM
To: [EMAIL PROTECTED]
Sorry, that should be setAttribute().
(*Chris*)
- Original Message -
From: Chris Pratt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 2:13 PM
Subject: Re: [JSP-INTEREST] I have a problem.
Don't put the string in %! %, that makes it global. The best way
With Servlets v2.3, use request.getRequestURL(), before Servlet v2.3 use
HttpUtils.getRequestURL(request).
(*Chris*)
- Original Message -
From: King Maurice [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 1:24 PM
Subject: [JSP-INTEREST] Detect the url
Chris Tucker wrote:
Hans,
Are you going to be releasing a 1.2-spec updated edition of your book?
Yes, but it will take some time because I want to cover JSP Standard
Tag Libraries (JSTL) as well, and that spec is not yet finalized.
For the time being, the current edition of the book plus the
Hi JSP teks,
I have a problem with jakarta Tomcat 3.3. I recently installed Tomcat 3.3,
was very surprised to know my servlets are not working anymore.
Here is my simple program, which I am desparately trying to get it to work:
import java.io.*;
import javax.servlet.*;
import
Does anyone know where I might find some instructions on how to get Tomcat
4.01 working with Apache1.3?
I had Caucho Resin setup and working quite smoothly. I observed that the
majority of the people on this list seem to be either using or have used
Tomcat some time in the past so I thought I'd
Hi there,
I have a java applet which performs the following function: Search data from
a text file on the client (PC harddisk) and then display the search result
listing via HTML.
The applet is embedded into the web page the following way:
applet codebase = . code = test.tSearch.class name =
Can anyone tell me which is better, i encapsulte all the business logic into tablibs
and re-use these taglibs in each jsp; or create normal java class and call all these
classes in jsp/servlet?
===
To unsubscribe: mailto
Hi all,
I have successful to integrate tomcat and IIS.
I followed instruction(tomcat-IIS howto) from tomcat website. According to the
instruction first i set only example context(after setting registry entry, virtual
directory, filter etc). Restart IIS and start tomcat and example context is
30 matches
Mail list logo