U can save data in one jsp & call the other. Suppose u save some data in
a.jsp & wantto use it in b.jsp -- get the values in a.jsp by
request.getParameter(), then call b.jsp with the same parameters.
--
From: Lakshmi Anantharaman[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list ab
hi everybody:
same sample as last quesion.
is it ok if i change the element of "<%@ include file="response.jsp" %>" to
? it works wrong in my
server. it is like my server do not the element of "flush". and it tell me
"com.sun.jsp.JspException: "Include: Invalid attribute, flush"". if i take
it out,
Can u please give a small example code where I've a table printing some
values obtained from JSP code in the same .jsp file. What r the
corresponding syntax of ,, in HTML when we use XML?
--
From: Ritesh Sinha[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Page
hi everyone:
i find something wrong in my following files.
i do not understant what is the effect of "<% if
(request.getParameter("usename")!=null) { %>" in the myjsp.jsp. if i input
nothing in the text form on the browser, server will response"Hello !"to me.
it is "null" for the variable of "usena
Hi
I need help on this one. My response.encodeURL not working. Here are my
codes, what did i do wrong this time?
<% String link="cuba2.jsp?Name=Khoo Swee Chin";%>
<%=link%>
...
When i try to display Name parameter i only get Khoo, where are the rest??
Please help. :)
U R well come
-Original Message-
From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 10:33 AM
To: [EMAIL PROTECTED]
Subject: Re: response.encodeURL not working
hey it works... thanks :)
=
hey it works... thanks :)
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.o
Hey thanks for ur response, but still cannot work. seems like i need to
replace the spaces with "+" to make it work in Netscape. Like the code
below.
<% String link="Khoo+Swee+Chin";%>
<%=link%>
This is what response.encodeURL suppose to do right?
==
hi
i think the + shold not be given that like that
we have to give
<% String link="Khoo"+"swee"+"chin"%>
-Original Message-
From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 10:26 AM
To: [EMAIL PROTECTED]
Subject: Re: response.encodeURL not working
Hey thanks
hi:
sure your directory where you locate your jsp file and class file. for
different server, document root and classpath are different.
- Original Message -
From: Xunming Liu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 7:18 PM
Subject: Re: ASKING FOR HELP:
hi
U just try giving
<% String link="cuba2.jsp?Name="+Khoo Swee Chin;%>
-Original Message-
From: Khoo Swee Chin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 9:30 AM
To: [EMAIL PROTECTED]
Subject: response.encodeURL not working
Hi
I need help on this one. My response.encode
I'm *very* new to this. Please excuse me if this has been covered. I *did*
scour the archives...
Doubt :
I'm looking for some code (or guidance) for performing user authentication
in JSP. The JSP spec makes some vague comment about being an extension of
the servlet spec, but what does that m
Hi Nishi,
You sure can write XML in JSP file. Infact thats on of hte targets of JSP.
TO write XML in JSP you have to set the content type to (text/xml) . To
show it in the browser you have to create a style sheet for The XML file.
Ritesh
Nishi <[EMAIL PROTECTED]> on 04/13/2000 09:23:37 AM
P
Khoo Swee Chin wrote:
>
> Hi
> I need help on this one. My response.encodeURL not working. Here are my
> codes, what did i do wrong this time?
>
>
>
> <% String link="cuba2.jsp?Name=Khoo Swee Chin";%>
> <%=link%>
>
> ...
>
> When i try to display Name parameter i only get Khoo, where are th
Hi all,
I am wondering if we can write XML in a jsp file in place of HTML. if
yes then how to display it in browser.
Thanks,
Nishi
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relev
hi:
i suggest that you could try weblogic application server. i can not analysis
the all kinds of benifits as saying on web. but there is a very very
important thing for a newer: you could get the whole documents about
installing,configurating and testing jsp,servlet and database. if you make a
di
>Java Server Pages are indeed a SERVLET. They extend the Servlet (usually a
>vendor specific implementation) class and when the JSP engine gets a request
>for JSP, it converts the JSP page into servlet code (.java) and then
>compiles it. So what applies to Servlets, applies to JSP exactly.
I think
hi:
the file2.jsp is a static file??? if yes, you could not include
in it, while if no, you could not use <%@ include %> to
include a dynamic file. try element.
- Original Message -
From: Liza J Alenchery <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 11:57 P
- Original Message -
From: John Tangney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 6:50 AM
Subject: User Authentication
> I'm *very* new to this. Please excuse me if this has been covered. I *did*
> scour the archives...
>
> I'm looking for some code (or g
Hi,
can somebody show me how to use response.encodeURL?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/fa
Thanks for that! Could you please tell me what URL Rewritting is?
Cheers
Marc
-Original Message-
From: Deviprasad Malladi [mailto:[EMAIL PROTECTED]]
Sent: 13 April 2000 08:59
To: [EMAIL PROTECTED]
Subject: Re: response.encodeURL Question
encodeURL will allow the servlet engine to do s
I'm *very* new to this. Please excuse me if this has been covered. I *did*
scour the archives...
I'm looking for some code (or guidance) for performing user authentication
in JSP. The JSP spec makes some vague comment about being an extension of
the servlet spec, but what does that mean? What do
encodeURL will allow the servlet engine to do something like URL Rewriting.
Cheers,
Devi
-Original Message-
From: Marc Krisjanous [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 3:27 PM
To: [EMAIL PROTECTED]
Subject: response.encodeURL Question
Hi all,
would you use the res
Recycling Java Memory
In Java applications, the programmer has
explicit control of how objects are created
but cannot explicitly give back the memory that
these objects occupy when they are no longer
needed. The process of garbage collection takes
care of freeing up space that is no longer used
t
Hello Folks,
Can anyone hlep me with this scenerio and how to achieve this goal.
Say for example there is a variable called Abc, and thre are more varibale
like that. We defined a varibale in an index.jsp which is like a default
page. Somone logs in, how do we go about making sure that person
Hi all,
would you use the response.encodeURL method in a Servlet on Websphere 2.x? I
just use callPage() - since Websphere 2.x uses JSP 0.91. What are the
benefits of using this method?
Cheers
Marc
===
To unsubscribe: mail
All:
Govind Seshadri had an excellent article on advanced form processing
located here:
http://www.javaworld.com/javaworld/jw-03-2000/f_jw-0331-ssj-forms_p.html
Other posts to this list have talked about multi-screen (page) forms, e.g.
a wizard type interface with back/next/finish/cancel button
This might help... it was taken from
http://www.esperanto.org.nz/jsp/jspfaq.html
It just looks like your code should be <%@ include="testinclude.jsp" %>
Just take out the word 'file'
here is what I found at the FAQ:
-
JRUN, ServletExec and GNUJSP allow you to specify (it was i
Hi all,
I have a jsp question.
I have a jsp program A.jsp which actually defines a frame. I have two
jsp pages b.jsp and c.jsp in the frame set. I have a servlet which fetches
some data from the database and calls A.jsp with the data. I used request
dispatcher to do this and I also adde
I am running WebSphere standard server 2.0.3.1 on NT4 (and Windows 2000).
I am trying to use the include directive but no matter what i do i get a 404
page not found.
Here is the code that i am using:
<%@ include file="testinclude.jsp" %>
the testinclude.jsp page is in the same directory as th
I use an open source product called TinyXML
(http://www.gibaradunn.srac.org/tiny/) to parse the configuration file.
It's a pretty simple, non-validating XML parser. I found their example
really easy to follow and wound up accidently building the parser while
playing around over a lunchbreak. The
Vyacheslav,
Thanks for the pointers I'd been using the jdk/1.2 documentation which
does not have this information.
Much appreciated,
-AMT
> -Original Message-
> From: A mailing list about Java Server Pages specification and
> reference [mailto:[EMAIL PROTECTED]]On Behalf Of Vyachesl
no...
it's www.caucho.com
-Original Message-
From: Thomas Eichberger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 2:26 PM
To: [EMAIL PROTECTED]
Subject: AW: Which JSP server is the best in Windows95/98 ?
it's www.gaucho.com
Ciao
Thomas
-
Its www.caucho.com (not gaucho)
Vis..
>From: Thomas Eichberger <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: AW: Which JSP server is the best in Windows95/98 ?
>Date: Wed, 12 Apr 20
Here's the resin link:
http://www.caucho.com/
Kevin Duffey wrote:
> Check out resin. I forget the URL, but it is far better than JRUN. We use
> JRUN now and are going to switch to Resin. It can act as a standalone web
> server with JSP1.1/Servlet2.2, but it also has built in db pooling, as wel
Liza,
Check if you are referring to the bean with the same id in file2. Or problem
could be with your classpath. Check if you've set it properly for the bean.
Also check if you are refering file2 in file1 with proper URL. I can't think
of any other reason. There is no need to put in file2.
Vis.
it's www.gaucho.com
Ciao
Thomas
--
Firma Thomas Eichberger - Software und Schulungen
A-1230 Vienna, Austriaphone/fax/box: +43-1-8861685
http://www.java.ate-mail: [EMAIL PROTECTED]
> -Ursprüngliche Nachricht-
> Von: A mai
How do I set the jsp compiler parms such as sendErrToClient in J2EE SDK
1.2? It appears that this should be done via a deployment descripter
but I am not sure how. With the default settings the page compile
errors are not displayed back to the client and I can not find them in
any of the logs.
Keep in mind when including there are two ways (maybe more) to do it.
If you use the extension .jsp on a file you include in another jsp, then
that jsp page is being compiled as a separate .class file. Thus, you in
effect do a servlet chain from your jsp page, to that jsp page, and back. If
you g
Check out resin. I forget the URL, but it is far better than JRUN. We use
JRUN now and are going to switch to Resin. It can act as a standalone web
server with JSP1.1/Servlet2.2, but it also has built in db pooling, as well
as the only servlet/jsp engine that can auto-reload classes by comparing i
I haven't hear from anyone but I figured out what was wrong. It appears that
the constant EVAL_BODY_TAG was a 2 when I used jdk1.2.2 compiler and
EVAL_BODY_TAG was a 4 when Orion compiled up the JSP. So to quickly fix the
problem, I return 4 stead of EVAL_BODY_TAG. However, I want to fix the
probl
Hi,
Interesting. My only question, due to performance...why not use "int" value
returns instead of Strings. Mainly because I am quite sure evaulating an int
value is much faster than doing a string comparison. I realize Strings are
nice, easy to understand, but in terms of performance I would ima
Java Server Pages are indeed a SERVLET. They extend the Servlet (usually a
vendor specific implementation) class and when the JSP engine gets a request
for JSP, it converts the JSP page into servlet code (.java) and then
compiles it. So what applies to Servlets, applies to JSP exactly.
>-Ori
Thanks. I'll do that.
>-Original Message-
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Craig R. McClanahan
>Sent: Tuesday, April 11, 2000 2:55 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Bean reflection (was More on Model 2
For cry(pt)ing out loud.
I've posted a copy of my Crypt and Base64 classes to
http://www.cacas.org/java/gnu/tools/.
Crypt may be useful to JSP programmers who need to integrate with existing
ACL files produced by Netscape or Apache servers.
Base64 may be useful to anyone needing to perform thei
Hey,
I'm trying to test the JSP Tags on weblogic 5.1, I followed the
instructions in
http://jsptags.com/tags/navigation/pager/pager-taglib.html
but when i try to run a JSP file which calls that tag i get an error
weblogic.utils.ParsingException: nested IOException: java.io.IOException:
cannot r
LynchWu wrote:
> Hi all
>
> In servlet technology, multi-threading servlets can
> improve performance by light-weight context switching.
> Can JSP do the same thing, when most of its variables
> are page-wide?
>
For most purposes, servlet and JSP authors do not need to multi-thread their own
ser
Just provide an example of how you are calling your Bean from you jsp file.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun
Tomcat is the successor to the JSWDK, is open sourced at the Jakarta Project web
site, and supports servlet 2.2 + JSP 1.1. For more information:
http://jakarta.apache.org
Craig McClanahan
Raghuraman Sridharan wrote:
> Sorry! for a very very new bie question.
>
> What is this Tomkat . I haven
Ha -- Tim, you just made my day.
It was mildly amusing/ironic to see J.O. (in a note complaining
(justifiably) about list abuse) do a reply-all and send the same message to
the list twice, but you... ha, I'm still laughing...
You saw the message from Tim Ferro and decided to copy the entire thin
Arun,
I do not believe there is a requirement to have *both* a getter and a
setter.
The Javadoc for the getReadMethod() and getWriteMethod() of the
PropertyDescriptor class
both state that they may return null if the property can't be read/written.
Regards
@
=
Please, people! crypt() has VERY LITTLE to do with JSP. I would
suggest the comp.lang.java.programmer newsgroup and maybe, perhaps,
using a search engine -- google comes up with several relevant entries
with "crypt() for java" In addition, a deja.com search turns up:
http://www.dynamic.net.au/c
EXACTLY!!
tim grewe
Java developer
Everfill.com
work email: [EMAIL PROTECTED]
internet email: [EMAIL PROTECTED]
-Original Message-
From: Ferro, Tim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 11:51 AM
To: [EMAIL PROTECTED]
Subject:Re: crypt() for
Or reply to the original sender directly.
> Why doesn't
> someone put the crypt() source on the web somewhere, and post the URL
> > Also, here, many thanks, Mike.
> > > Here too, Mike!!
> > >> I'd be interested in this too, Mike.
> > >> I'd be interested in this, Mike.
==
Um, would you people stop posting this to the public list? Why doesn't
someone put the crypt() source on the web somewhere, and post the URL,
instead of clogging inboxes and archives with this constant 'me too'
stuff?
The web is really interesting, you know? You find that it's almost perfect
for
Hi Veronique Dupierris:
thanks a lot for your help.
I just checked the it in Webserver.xml and I added it
like that
I tried your's but it seems not work too. Maybe I
should specify the path?
Now I moved to examples path, thanks god it works.
But now I met another funny problem.
At first I p
Also, here, many thanks, Mike.
> From: "Bragg, James" <[EMAIL PROTECTED]>
> Reply-To: A mailing list about Java Server Pages specification and reference
> <[EMAIL PROTECTED]>
> Date: Wed, 12 Apr 2000 10:25:40 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: crypt() for Java...
>
> Here too, Mike!!
>
Hi
I have a jsp file(file1.jsp) which has a <%@ include file ="file2.jsp" %>
in it. I am getting compilation errors saying that the beans that I
included in file1 cannot be seen in file2. So I put in file 2.
Then I get the error 'Cannot forward as OutputStream or Writer has already
been obtain
Here too, Mike!!
-
James C. Bragg
Senior Software Consultant
Computer Associates International Inc
> -Original Message-
> From: Luong, Dat [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 9:53 AM
> To: [
See
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/etc/tomcat-iis-how
to.html
Select the "as text" option!
Regards,
Jonathan
-Original Message-
From: David Kao [mailto:[EMAIL PROTECTED]]
Sent: 12 April, 2000 12:38 PM
To: [EMAIL PROTECTED]
Subject: How do I link Tomcat to I
I've been using the Allaire JRun product for over a year. It's not a web server, but
it can be connected to IIS or PWS if you decide you'd prefer to use one of those web
servers. It supports several other web servers as well. Finally, you may want to
consider TomCat, the Apache JSP engine.
===
I'd be interested in this too, Mike.
-Original Message-
From: Eric Berg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: crypt() for Java...
I'd be interested in this, Mike.
-Eric.
Mike McKechnie: [Thursday 6-April]:
> Someone was as
I saw the instructions to link Tomcat to Apache server, but I am wondering
if I can link Tomcat to IIS and am desperate to learn how.
David Kao
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Oracle Application Server runs on AIX. It works well with servlets and EJB,
and Oracle is in the process of implementing JSP support (in beta right
now). Their tool JDeveloper (a JBuilder knockoff) has good support for all
of these technologies and is particularly well suited to Oracle given its
a
Could any one point to good resource for
JSP->Servlets->EJB->Database
Can anyone suggest working application/environment using the above
technology
Typically i want for the environment RS6000 running IBM AIX. Should I go in
for Websphere / Weblogic
(or) is there any Application server (Commerci
Hi,
Try using the JSP expression syntax ... <%= %>
e.g.
document.location = '<%= response.encodeURL("yourURLwithParamsHere!") %>';
You could probably even add the params you want afterwards ... just use
the JavaScript escape() function to watch out for bad characters.
e.g.
document.location
Two resources for you.
1. An overall site about xml, http://www.xml.org
2. Sun's site on XML
http://java.sun.com/xml/
-Richard Friedman
Bluestone Software.
-Original Message-
From: Raghuraman Sridharan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 1:51 AM
To: [EMAIL PROTEC
I don't remember exactly with jswdk1.0.1 , but in general, you should have
- Your classpath point to your classes
- In Webserver.xml , yopur appli path :
and it should work !
I have an app with my beans in an other path than web-inf and it worked
Hope this help
Veronique
Xunming Liu a
Check your start up script to make sure that the classes are in your
classpath.
-Original Message-
From: Xunming Liu [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2000 11:18
To: [EMAIL PROTECTED]
Subject: Re: ASKING FOR HELP: Unhandled error!
Hi :
I met the very similar problem as you. Wh
Hi :
I met the very similar problem as you. When I rename the example , compile the
java file and run the jsp, the machine always told me it can not find the class.
Now I will give up the jsp and try to use servlet directly.
I don't know if any one can help me?
Xunming
wildwolf horse wrote
Hi!
Many Many Thanks,
I heard that there is some Certification exams on Websphere.
Like Java Certified Programmer, Java Certified Developer.
There is Certification for Websphere.
Like Websphere Application server, Websphere Studio etc.,
And more over now Net.Data/Net.Commerce I think they have i
Hi all,
i'm beginning with JSP and Servlet and i would like
to install Jserv Apache Module on Windows 98
but i don't find any documentation
is there a FAQ ?
who can i do ?
Thanks
Manu
===
To unsubscribe: mailto [EMAIL PROTEC
hi Raghuraman:
now i am using websphere3.02. i do not understant what is your need. say in
detail please.
- Original Message -
From: Raghuraman Sridharan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 5:41 PM
Subject: Websphere Certification
> Hi!
>
> Could an
hi all,
I'm to connect my .jsp to my database and i've wrote the bean for it. Now
i'll have to get a field via jsp so i use the get and set method.
now i need to send the paramater "from" to a bean id tocheckdup which has
the function checkduplicate. so is it correct if i do this :
<% toche
Be carreful with the naming of the jsp files.
The jsp engines uses some hidden conventions to rename the jsp files in java
files just before compiling. It depends on the jsp engines but for example
with TomCat a
geocodeur.jsp file becomes
_0002fgeocodeur_0002ejspgeocodeur_jsp_0.java
before compi
Hi!
Could anyone send more info. On Websphere Certification.
Does it mean one should be good in JSP specification/syntax etc.,
Kindly enlighten me with more info.
Thanks and regards
Raghuraman S
===
To unsubscribe: mailto
hi Sachin:
thank you for your attention.
- Original Message -
From: Sachin S. Khanna <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 7:41 PM
Subject: Re: jsp and javaBean
> Try using the jsp:setProperty and the jsp:getProperty tags instead of the
> jsp:setBean
Hi there:
I am using SDK1.2.2 and JSWDK1.0.1.
I've met a problem of Unhandled error! It is said it
can not find my *.class. Any one can help me?
Thanks a lot.
Smart
I put my *.jsp and *.html in
C:\jswdk-1.0.1\Webapp\jsp\testOne\
I put my *.java and *.class in
C:\jswdk-1.0.1\Webapp\Web-inf\
Hi there:
I am using SDK1.2.2 and JSWDK1.0.1.
I met a strange problem of Unhandled error! It is said
it can not find my *.class. Any one can help me?
Thanks a lot.
Smart
I put my *.jsp and *.html in
C:\jswdk-1.0.1\Webapp\jsp\testOne\
I put my *.java and *.class in
C:\jswdk-1.0.1\Webapp\Web
Try using the jsp:setProperty and the jsp:getProperty tags instead of the
jsp:setBean & jsp:getBean tags.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: liuhao <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 9:38
Sorry! for a very very new bie question.
What is this Tomkat . I haven't heard about it.
Rgds
--
From: Deviprasad Malladi [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 7:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Apache and Tomkat, un
hi everybody:
i find a very strange problem about my web sever of websphere3.05. i can not
logon a jsp file of "DUNK-TST-PAU-002.jsp". the information is
"com.sun.jsp.JspException: Compilation failed". but if i change the file's
name to "DUNK_TST_PAU_002.jsp". it is fine. what wrong with my server
Don't worry - I finally worked it out. Reading the JSP 1.1 spec actually
helps occassionally ;)
For anyone who's vaguely interested
works (it works in Orion 0.9.4 anyway).
-Original Message-
From: Matt Krevs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 April 2000 17:40
To: JSP
Subje
Does anyone know how to include a file that is not in the same directory or
in a subdirectory of the 'includer' file?
eg
I have the following directories/files
main.jsp
include/afile.jsp
include1/anotherFile.jsp
I have included 'include/afile.jsp' within main.jsp. This works fine.
I want to i
84 matches
Mail list logo