everything is present in my class path including JDK path; JDK\lib\Tools.jar
I have set Java_Home
I have set Tomcat_Home
Any other clue ?
Nitin
-Original Message-
From: Ritesh Sinha [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 10:48 AM
To: [EMAIL PROTECTED]
Subject:
The code you posted did not compile.
With a few minor changes, I have the following working code:
import java.util.Hashtable;
import java.util.Vector;
public class HashTableArrayTest
{
public static void main(String[] args)
{
Hashtable[] h = getStuff();
System.out.println(h[0].toString());
Hi Shawn,
We are doing something very similar, and we might as well use JSP later
down the road so I'll get you my own reasoning.
Why? Because that way you have the data generated by your action
completely independent of the way you present the data. So independent
that you don't have to use
A solution I have seen work really well is to bind a user session to a
particular web server instead of binding each request to a particular web
server. If you don't have this capability, then I would recommend something
like a singleton session manager running on box that maintains session
What is wrong with the code you posted?
Just send the output to the response stream instead of stdout.
--shawn
- Original Message -
From: Alexander Bonilla [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 17, 2000 4:06 PM
Subject: Re: How can i read a file in UNIX / AIX from
Hi all,
Tomcat gives me following exception while invoking my JSPs
--org.apache.jasper.JasperException: Page directive: can't have multiple
occurrences of info
I have a JSP page which includes a number of JSPs. And obviously each of the
included JSPs have their own page info directive. So the
This is a weekly informative posting to the jsp-interest list.
Before asking questions of a general nature, please check out the
resources available online to see if your question already has an
answer. The best place to start
The problem with using JSP for generating XML is that the JSP wants to
assume that it is sitting at the top level of your application, i.e. it
wants to send the response back to the client.
From what I understand, your current architecture looks like this
[db] - [pl/sql] ---XML--- [XSL
Hi,
How can I acces the request object from a bean?
Can anyone help me?
Thanks in advance,
Istvan Lakosi
Hungary
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on
Hi ,
I am trying to exceute a long Stored procedure through JSP , but I get a
timeout message .i have increased the timeout in Javawebserver to the
Max-360 seconds.Is there any way to overcome this.
TIA
Sujoy
===
To
On Thu, 18 May 2000, Shawn McKisson wrote:
Coimments are interspersed.
The problem with using JSP for generating XML is that the JSP wants to
assume that it is sitting at the top level of your application, i.e. it
wants to send the response back to the client.
It does? Funny, I use JSP to
this does actually depend on the JSP container you are using, a lot of them
are providing this JSP-XML-XSLT-Response feature.
check out www.orionserver.com, for example, :
they produce a J2EE application server that will, among other things,
process XSL-Transformations on JSP-produced XML
Hi!
To code JSP I use this method:
HTML in HomeSite 4.5
JSP related additions to previously made HTML file I used to do in
UltraEdit 7.0
In my opinion, HomeSite's JSP syntax highlighting is poor. Maybe I have bad
settings, but as I have it now, it's not such colorful as I
Hi,
I dint get your words correctly.can u explian your problem perfectly.
regds,
Sreenivas
- Original Message -
From: "Lakosi Istvan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 18, 2000 1:53 PM
Subject: accessing request object from a java bean
Hi,
How can I acces
For your class to be a JavaBean (in the JSP world, not in general) it needs
to have a no-args constructor so that it can be instantianted by the jsp
engine, such as
public MyBean() {
// do whatever
}
If you want to use JSP's getProperty setProperty tags you need to have
associated mutator
Shawn,
There are at least 2 method through which you can post-process the XML
generated in a JSP page. One is the approach that Joseph uses,
post-processing based in the mime-type of the answer. However, this
approach is container specific and we prefer to use the second one,
which is nothing
Have you tried changing the bean's scope to request? That's where the
parameters being passed via http live.
Scott Evans
SII Training Development
46833 (Ramat Gan)
-Original Message-
From: Nwalal Mi Nyom Martin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 7:31 PM
To:
I'm not arguing that the XML doesn't get processed on the server, I'm
arguing that the only way to accomplish this processing from JSP is to
introduce the notion one servlet acting like a client of another, which in
my opinion is not very clean.
I also think that the JSP- XML solution is less
Sorry, I missed the bit about the Orion server on my first read through.
I haven't yet seen this server - thanks for the info!
That solves the chaining issues, but still has questionable flexibility...
--shawn
- Original Message -
From: Joseph B. Ottinger [EMAIL PROTECTED]
To: [EMAIL
Is it posible to refer to a JSP code when an event (for example onClick at a
select) occurs? (instead of a reference to a Java Script function).
Thanks!
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Title: ResultSet in different pages
Hi,
I am querying the database to get resultsets
Now I want to display a certain section of the resultset lets say 15 records in one page
And then next 15 in other
Using the number convention 1 2 3 4
Where numbers are links to other pages!!
How
You must use the POST option not the GET you are using!
Then the request object will have the data you want to access.
Many Thanks
John
Have you tried changing the bean's scope to request? That's where the
parameters being passed via http live.
Scott Evans
SII Training Development
46833
Can you please give an example of what the jsp page with the enclosing tag
would look like?
i.e. what about page directives and the like?
TIA,
Scott Evans
-Original Message-
From: Daniel Lopez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 11:58 AM
To: [EMAIL PROTECTED]
the event takes place on the client side (browser) while the JSP code runs
ONLY when an http request comes from the browser.
however if all you want is to have somthing happen of the server side, make
a link to a servlet/JSP and set it so it will return the no content error,
this way the browser
At the monent I can get parameters from JSP to java only via
setcontractdate().
My question is: is there a possibility to get access to
request/response objects itself?
part of my JSP:
jsp:useBean id="c1" class="pos.calc_nonlinear" scope="session"/
I think this is the same error I had. I had to move to from jdk1.2 to jdk1.3
to solve it.
Gary
-Original Message-
From: Gogia Nitin [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2000 09:15
To: [EMAIL PROTECTED]
Subject: Error in starting TOMCAT
While starting TOMCAT i am getting error on
I will try to re-install it but i don't think problem is due to this
Because one of my team mate and myself both are having JDK1.2.2 installed
and it is running on his machine but not on my machineStill i will try
to re-install again and will let u know tomorrow.
Nitin
-Original
You could also implement a custom session that would use a centralized
database, Site Server for example uses a LDAP server to resolve this
problem. That is of course if you cannot afford to simply bind the session
to a particular server (your load balancing system should allow you to do
that
Does anyone know if IBM intends to support Linux with their latest and
greatest edition ?
It's been quite some time since 3.02 has arrive for Windows/NT
If not, we must move to Apache Jakarta which is showing promise.
-Original Message-
From: A mailing list about Java Server
On Thu, 18 May 2000, M. Simms wrote:
Does anyone know if IBM intends to support Linux with their latest and
greatest edition ?
It's been quite some time since 3.02 has arrive for Windows/NT
If not, we must move to Apache Jakarta which is showing promise.
Um, WebSphere and Jakarta
Have you tried the new color coding for HomeSite 4.5? It has full Java and HTML
color coding built in.
Brian
Juraj Kazda wrote:
Hi!
To code JSP I use this method:
HTML in HomeSite 4.5
JSP related additions to previously made HTML file I used to do in
UltraEdit 7.0
In my
hi,
i am trying to return data from my EJB to a JSP using a vector.
I push the recordset (as objects of type Details) in the vector in my EJB
and my JSP retrieves the same thru a business method.
But when i try to use that data using either the vector or enumeration in my
JSP, i get typecast
Kent
Disadvantages are added complexity, all calls to EJB's are remote even if
your EJB server is on the same machine, even calls from one EJB to another
is remote.
/Kent
Truth, but there are bigger problems with EJB IMHO (which many others also
expressed on EJB-Interest):
1. EJB Spec forbids
I'm having problems setting up my environment so I can run
"Startserver.bat". I have downloaded JDK 1.3 and set up it up to run on my
NT machine at work. What I'm trying to do is set it up for my Windows 98
machine at home but I get a "Out of environment space, using classpath;"
message. I
i have a simplistic suggestion, and if anyone doesn't think this is a good
idea, please explain why (I am still learning all this). why not place a
dummy doGet method in Servlet B that calls the doPost method?
-Original Message-
From: Serbulent Ozturk [mailto:[EMAIL PROTECTED]]
Sent:
What are the advantages of using JSP instead of Servlet?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
A different angle? We are using JSP as a "scripting engine", for formatting
our backend XML. To do this we call the JSP engine (GNU, Sun) directly from
java code. Not servlet code, so we can use this anywhere in the system.
Especially since we don't want the JSP output to necessarily go to a
well, one of the reasons is it's a lot easier to change the output (html,
layout, images, etc) because the JSP files are plain text.. and not compiled
Java (although i think they do actualyl get compiled on the fly).
.b
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
RMI can't deal with vectors. In the ejb you need to return an enumeration:
Enumeration enum = theVector.elements();
In the jsp code then you cast it into the object type you are looking for. This
is how I do it for my ejb/servlet code.
HTH,
john
Zaina Ajakie [EMAIL PROTECTED] on
the back of the first edition of "thinking in java" (bruce eckel)
has both a laundry list of practices, and a relative cost list of
common actions.
(it's a good text, in any case.)
robert young
-Original Message-
From: A mailing list about Java Server Pages specification and reference
Sounds like your environment size is not setup properly. Try including the
following line in your config.sys file
SHELL=C:\COMMAND.COM C:\ /E:32000 /P
The /E switch enable 32K of space for environment variables.
Andy
- Original Message -
From: Shawn Sohl [EMAIL PROTECTED]
To: [EMAIL
JSP pages after compiling becames servlets so they are almost the same
thing, it's depends on wheter you feel more confortable coding pure java (in
servlets) or writing html mixed with java(in jsp pages).
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
jsp gets compiled to servlet codes.
Ben Joyce wrote:
well, one of the reasons is it's a lot easier to change the output (html,
layout, images, etc) because the JSP files are plain text.. and not compiled
Java (although i think they do actualyl get compiled on the fly).
.b
-Original
Both netscape (i use 4.7) and ie have "mozilla compatible" in the user-agent
header.
- Original Message -
From: "Nestor Florez" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 17, 2000 1:13 PM
Subject: Re: Web Browser detection in JSP
Does that really work? I thought
Hi,
What is the best method to call a servlet from a JSP ? I need to
preserve the session also.
I have managed to change the top.location.href property to point to the
servlet.
Though it works when I change the top.location.href property I get an ugly
"Transfer interrupted" message as
I'm using the XML format for all 'tags' in a JSP page. So, instead of %@
page import="com.netabacus.*" ... %, I jsp:directive.page
import="com.netabacus.*" ... /.
For the most part these work fine in WebLogic v5.1. When I use the taglib
directive, however, I get problems. According to the JSP
Can't you serialise the object ?
John
-Original Message-
From: John M. O'Neill [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2000 16:50
To: [EMAIL PROTECTED]
Subject: Re: Retreivng data from a vector
RMI can't deal with vectors. In the ejb you need to return an enumeration:
How much ram does your WebLogic v5.1 box have?
I'm curious because I get internal errors when I try eval version on my
notebook.
and I not know if it's because of the ram or something else.
I have the JSPServlet configured as per the instructions.
yeah, but when? do you have to compile them manually or is this done on the
fly when the page is requested?
-Original Message-
From: Peter Choe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 5:33 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP Servlet
jsp gets compiled to
I think that your points here actually outline why it would be a benefit to use
both JSP and XSL. For example, an average JSP on our site (after we complete the
new architecture, design, and development), will first access a session bean that
will log the use of the page, check to see if they
it gets compiled when the page is requested.
Ben Joyce wrote:
yeah, but when? do you have to compile them manually or is this done on the
fly when the page is requested?
-Original Message-
From: Peter Choe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 5:33 PM
To:
Mugdha,
Page Directive: Defines attributes that apply to an entire JSP Page.
If U R calling JSP inside a JSP and result is actually one JSP.
One JSP one Page Directive.
As a work around solution, U can use Include Directive.
Thank U.
With Regards
Sree
Mugdha Kulkarni wrote:
Hi all,
If I'm running an application server together with a database engine and
will make use of a java compiler. What is the suggested amount of RAM needed
for development?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Mugdha Kulkarni wrote:
Hi all,
Tomcat gives me following exception while invoking my JSPs
--org.apache.jasper.JasperException: Page directive: can't have multiple
occurrences of info
I have a JSP page which includes a number of JSPs. And obviously each of the
included JSPs have their own
This is done on the fly, but only on the very first request,
so that later on there's no parsing or interpreting overhead like there is
in ASP or so.
Geert 'Darling' Van Damme
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL
It depends on what web/app server you are using. Some servers compile at
each page load / some compile occasionally / some compile only the first
time you get the page after the server starts up...
N
-Original Message-
From: A mailing list about Java Server Pages specification and
Hello,
I'm new to the JSP and JAVA world, and I'm trying to gain an =
understanding of how different clients are handled, and potential =
dangers of having several simultaneous requests.
I get the concept of JSPs compiled into a servlet, and that they can =
handle several simultaneous requests
I've run this on a Dell Inspiron 700 with 128Mb.
-D
-Original Message-
From: Robert Nicholson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 10:19 AM
To: [EMAIL PROTECTED]
Subject: JSP and WebLogic 5.1
How much ram does your WebLogic v5.1 box have?
I'm curious because I get
Hope this questions is NOT too off-topic.
I have an installation problem, hope someone can
point out where I did wrong.
I am running Apache 1.3.11 with Jserv 1.1 on RedHat Linux 6.1.
I got everything installed and configured
and when I tried starting Apache (via apachectl),
I got this error
Hi Dennis,
The %! String str=""; % is a declaration, you want to use
a scriptlet % String str=""; %
Declarations create variables in the context of the JspPage object,
in other words they live through calls to _jspService().
Scriptlets create variables in the context of _jspService().
-James
Does anyone have experience with JBOSS or EHYDRA. I am comparing these two
open source app servers for a J2EE compliant application and I am wondering
if any current users could provide some general comments.
===
To
We are currently using ServletExec on NT machines, but we also have a load
balancer and require the session to be persistent. We had to build our own
session object, which we intantiate on every JSP page. Here is a short summary
of how it works.
Our created session (call it InternetSession) is
Robert Nicholson wrote:
If I'm running an application server together with a database engine and
will make use of a java compiler. What is the suggested amount of RAM needed
for development?
Ummm... As much as you can afford?
While some would argue that this post is rather off-topic, I will
++ 17/05/00 19:14 -0400 - Frank Apap:
Does anyone know a good jsp and java IDE for linux? The only one I know of
that does what I want is Borland's JBuilder 3.5. But only the enterprise
edition supports jsp and I don't have the money for it. Any suggestions
would be great thanks.
IBM's
The RAM should be minimum of 128 mb for running app server.
Ajay
Robert Nicholson wrote:
If I'm running an application server together with a database engine and
will make use of a java compiler. What is the suggested amount of RAM needed
for development?
hi all,
i've made a simple jsp that loads jdbc program as beans
..
but when i query the database .. only the last row appear ..
i use while (rs.next()) { ..} as the loop and ResultSet is the rs ..
but when i use servlet with the same code it runs perfect ..
all the selected rows appear well ..
Hi,
I'm investigating products that will be able to provide full text search
of our JSP site's content.
One requirement that file-based search tools don't seem to
address is the complexity created by using %@ include % directives. (A
similarity problem exists in sites using old-fashioned
I'm currently leaning toward ht://dig (www.htdig.org), which solves this
problem by acting more like a web robot and making its requests via HTTP.
We're using ht://dig with some success. However, you may have problems if
you site requires cookies or HTTPs, since neither are supported.
David
Hi,
I have simple question about JSP, java bean.
How do I write a function in the bean associated with
the JSP page to get the form checkbox values in the
bean automatically.
Like form variable UserName we can pass to bean by
writting function
public void setUserName(String Name){
}
I am
HTML files become JSP files just by changing the extension to .jsp and using
a JSP engine, but I assume it is more efficient to use the .jsp extension
only when exploiting JSP advantages. Is this true? Within a single web
site it would seem to make sense to have both types of pages present on
Hi,
I am looking for some good tag libraries that I can use in my JSP =
pages.Any help is appreciated.
TIA,
gaurav
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
I think it is perfectly fine to use HTML and JSP. JSP I believe would
require a slight bit more delay because it is processed by the JSP engine.
Thus a request to a JSP page goes to the server, then to the servlet/JSP
engine. The first time..it is compiled. After that..its processed on the
server
The problem is with MS-DOS and not TOMCAT
Try this command in the CONFIG.SYS file:
SHELL=C:\WINDOWS\COMMAND\COMMAND.COM /E:2048
Where 2048 is the "Environment Space" lenght. This is my tipical number.
:))
Enjoy
Mário Pinto
-Mensagem Original-
De: Shawn Sohl [EMAIL
http://beta.allaire.com/jrun30
It's in RC1, but the real thing will be out soon.
Scott Stirling
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of ÍáÍá
Sent: Monday, May 15, 2000 3:11 AM
To: [EMAIL
Try www.allaire.com
- Original Message -
From: ÍáÍá [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 15, 2000 3:11 PM
Subject: About Jrun3.0
Hello Everyone:
Who can tell me where I can download JRUN3.0, Thank you.
myWebSite: netjava.cn99.com (GBChinese)
Hi all,
Can I use Swing Features in JSP?.
If not How can I use JoptionPane of Swing in JSP.
My question is If I face any problems in validating data in user defined screen,How
can i
show all errors in Message Box or like JoptionPane in the user's screen.
Hope someone will answer my question.
Thanks a lot.
===
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
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Along similar lines... Is it possible to precompile JSP pages into servlets,
and then just use them as servelets? IE: use JSP as a code-generation tool
for servlets... This would avoid the first time delay, and enable one to use
a Web server than didn't handle JSPs (but did handle servlets). It
Download NeoPlanet at http://www.neoplanet.com
depends how long the procedure is taking... you cold have it create a thread
to run the procedure, and immediately return a placeholder HTML page that
reloads (from the browser) every 30 seconds to see if the procedure ha
finished yet or not... Just an idea -- I'm sure there's a better one out
Download NeoPlanet at http://www.neoplanet.com
Download NeoPlanet at http://www.neoplanet.com
Please browse the SUN Java Swing site.
http://java.sun.com/products/jfc/index.html
and
http://java.sun.com/products/jfc/tsc/index.html
There is a little thing called the Java Plug-In component.
If you wish to use JDK 1.2 or above in a browser
environment ( Navigator or IE ), the plug-in is
Hi All,
I have windows NT installed in my machine. I have jdk1.2.2 installed in it.
I have jswdk installed and I am able to run JSPs perfectly.
Then I installed j2sdkee1.2. Now when I try to run the command "j2ee" from
the "\bin" directory, I get the message,
Could not create POA.
Error
JSP generates HTML pages, you can embed Java (with Swing) in HTML pages,
hence, you can generate a HTML page that embeds a Java applet that contains
Swing components. Obviously, you won't be directly mixing the JSP with the
HTML, but that would be pointless anyway (Swing is a client-side
Hi Scott,
A simple one might look something like that:
***ShowUser.jsp*
%@ page import="what.ever.User"%
%@ taglib uri="/leafTag/" prefix="leaf" %
?xml version='1.0' encoding='iso-8859-1'?
%
User theUser = (User)request.getAttribute("theUser");
%
Hi,
My Servlet-(A) gets a POST request from a form after processing it I need to
pass it to another Servlet-(B) but I need to pass it to Servlet(B)'s doGet()
method. As the original request line was POST, it always invokes
Servlet-(B)'s doPost().
PRE
97 matches
Mail list logo