It's not strange. The parser is complaining because the document does not
conform to its declared DTD. That's what it's supposed to do.
yes, you are right. This DTD formally dictates the order. So my correct
question should sounds "Why?" Why do spec authors need this order (especially for
It is a strange xml parser in your Tomcat 4.
Do they think xml attribute value depends on its position?
Like info before attribute is "info" and after
that is nothing?
__
Get your own FREE, personal Netscape Webmail account today at
You may use an appropriate taglib from Coldjava's
collection.
See http://coldjava.hypermart.net/jsp.htm
and http://coldjava.hypermart.net/servlets/sendmail.htm
__
Get your own FREE, personal Netscape Webmail account today at
you should try this code instead
%
pageContext.setAttribute("A","test");
%
%
out.println(pageContext.getAttribute("A"));
%
this will print.. the value of "A" which is "test"
yes, this is Ok of course. But the problem is:
1) I am creating a page scope object in the tag
2) code, generated by
You don't understand how to put things in the context. Page scope and
method
scope are two different things.
% String A="test"; % puts things in the method only; not the page. The
page has a context all its own (which you apparently know). When you
declare
See: I am creating an object in the
a very simple test:
%
String A="test";
%
%
out.println(pageContext.getAttribute("A"));
%
prints null. If 'A' is not a 'page scope' object, than
what is it ? :)
Is it a bug (Tomcat,Resin) or a feature?
The real problem is how to create objects in JSP tags
with no way to know about already
Suppose I have a BodyTag. What do I need is to grab the body as
it is, do some preprocessing and execute it only after that. I can pickup
a body in doAfterBody() function and return EVAL_BODY there. But it means
the body was executed once already.
Is it possible to avoid this first execution? In
You could check out J2J - Java to Javascript
integration tool:
http://coldjava.hypermart.net/servlets/j2j.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail
you may check out this:
http://coldjava.hypermart.net/servlets/chat.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
You may see this for example:
http://coldjava.hypermart.net/servlets.htm
http://coldjava.hypermart.net/servlets/reqtag.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal
you could check out this also:
http://coldjava.hypermart.net/servlets/stress.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
Coldjava announced the major new release of Java Servlets Office Suite (JSOS).
30+ "out-of-the-box" components on the base of Java Servlets and Java Server
Pages can be used for fast assembling web sites (services) on the base of
J2EE.
JSOS has a rich set of components such as Message Board,
check out J2J tool:
http://coldjava.hypermart.net/servlets/j2j.htm
It is a development tool lets you to integrate Java classes and JavaScript
within your HTML pages. The main idea behind this product is how to call
methods of Java classes right from JavaScript functions.
ServletShop: java
you may check out Java_To_JavaScript tool:
http://coldjava.hypermart.net/servlets/j2j.htm
It is a development tool lets you to integrate Java classes and JavaScript
within your HTML pages. The main idea behind this product
is how to call methods of Java classes right from JavaScript functions.
you can do this through custom tag lib.
E.g. check out what we did for WAP/non-WAP
output:
http://coldjava.hypermart.net/servlets/wmltags.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your
check out http://coldjava.hypermart.net/servlets.htm
for JSP tools for WML developers
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
Stress tool for your web applications. Lets you to test your servlets/JSP
pages. Supports sessions simulation, so you may test your real applications.
Available on Coldjava site:
http://coldjava.hypermart.net/servlets/stress.htm
ServletShop: java server side programming
check out http://coldjava.hypermart.net
for H2W servlet and escape taglib
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
HttpRequest taglib:
JSP tags library. Allows you to proceed GET/POST requests to to the
specified host (cgi-script/servlet). So you can for example obtain contents of
some page and use extracted information in your own jsp page. Taglib may be
useful for portal developers for example.
See:
JSP taglib (wmltags 1.0) for WAP/WML developers
is available on http://coldjava.hypermart.net
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today
also check out http://coldjava.hypermart.net
for WAP/WML taglib and Java servlets supports WML
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today
Hello,
developing own tag I can obtain ServletRequest:
ServletRequest req=pageContext.getRequest()
But how can I get HttpServletRequest ?
I need to access to the header (HttpServletRequest.getHeader())
within my tag.
thank you,
Dmitry.
ServletShop: java server side programming
check out http://coldjava.hypermart.net
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
check out simple tree servlet on
http://coldjava.hypermart.net/servlets/tree.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
Coldjava implemented version 1.46 of Servlets Office Suite
(Java SOS).
Java SOS is a collection of "out of the box" Java servlets
ready for building Web pages. SOS plays the same role as a
set of CGI scripts and can be used to add dynamic capabilities
to Web sites. It's free for any
you can use some like
SELECT id="mySelect" style="WIDTH:120"
But it works for IE only (I am not sure about Netscape 6).
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal
You can use 2.2 container, supports WAR files.
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
check out http://coldjava.hypermart.net/servlets/j2j.htm
==
Hello,
is it possible to send form-data to java server pages from Java applets?
I have the following constraints:
1. JSP is running in a https server
2. I can't use java 1.2 plugin
I
in html: use keyword multiple
select name="mylist" multiple
option1-st/option
option2-nd/option
...
/select
in JSP/servlet
request.getParameter("mylist")
You will selected values, splited by commas.
ServletShop: java server side programming
http://coldjava.hypermart.net
check out this:
http://coldjava.hypermart.net/servlets/formmail.htm
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
Use: jsp:include page=...
jsp:include is processed at the request time.
ServletShop: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
you can use applet bridge for calling your
server-side classes from JavaScript. It works
on the top of HTTP and Ok with firewalls.
See http://coldjava.hypermart.net/servlets/j2j.htm
Another way of doing it would be to use an applet and have the CORBA
connectivity directly between the browser and
While I understand the benefits of using request instead of session, I
cannot figure out the syntax on JSP to get the request, i.e. if Action
class stores response class in request and not in session. Is it just
the same as for session, i.e. instead of calling session.getAttribute
we
Take a look at DBPool.class on http://coldjava.hypermart.net
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
take a look at J2J servlet on http://coldjava.hypermart.net
---
Hi All,
Do we need to have live connect or something equivalent
to call Java
methods in JavaScript? I have tried with the code as
mentioned in the mail
using internet explorer.
sendRedirect() causes a "call-back" to the client
and returns back with the new page.
Hi,
I am curious, using JSP and all..is it better to FORWARD to
another page, or
use the response.sendRedirect(). I notice a strange side effect
in using the
forward in that the URL of the browser no
have look at FormMail Servlet on
http://coldjava.hypermart.net
-
Hi,
I'm making a site that sends postcards, I've done most of the stuff
quite easily but need to send an email to the recipient. How do I do
this within a JSP page. I'd rather code the email
try to use ":
value="%=table.getCity()%"
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sivakumar S
Sent: Sunday, 27 February 2000 10:47
To: [EMAIL PROTECTED]
Subject: Display PROBLEM in text fields for
J2J version 1.2 is available for download from
http://coldjava.hypermart.net
J2J lets you to have access to server side java objects
directly from within your JavaScript applications.
ColdJava: java server side programming
http://coldjava.hypermart.net
have look CalendarServlet at http://coldjava.hypermart.net
--
Hi,
I am looking for a ready-to-use Calendar Servlet or JSP source code. I
would appreciate you sharing any information that you might be having.
Thankyou.
cheers,
Amar..
yes, you can use your results as a strings in
JavaScript.
P.S.
also see J2J servlet on http://coldjava.hypermart.net
It what you are looking for.
---
Hi,
I also want to know if this is possible. Does javascript recognises the
return values from java
yes, you can create form with hidden fields
and use form.submit(); in JavaScript
a href="javascript:your_func();".../a
script language="JavaScript"
function your_func()
{
...
document.forms.your_form.submit();
}
/script
-
Hi,
Can a form be posted
JavaScript is client side issue. So you need to
transfer this variable to server by some way.
One of solutions you can see at http://coldjava.hypermart.net
It is J2J servlet.
ColdJava: java server side programming
http://coldjava.hypermart.net
check out DBpool class at http://coldjava.hypermart.net
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
just use table and appropriate columns width
td width ...
-Original Message-
From: SANJEEVMITTAL [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 02, 2000 3:09 AM
To: [EMAIL PROTECTED]
Subject: Graphs using JSP?
Hi Friends,
Can we generate graphs using JSP?
Lets say, I
100% agree with Geoff
being so far away from .au domain but sharing the same idea
we developed alaJSP tool :-)
-
Just like to add my 2c on this topic:
[note: this is my opinion: please don't be offended]
One of the main problems with JSP is it's
as for me it is not a problem "copying" the ASP format ..."
But from my opinion it is not enough. The good stuff from ASP
is a database integration (I do not talk here about quality of
that, do not flame please :-). ADO it is a first stuff why people
are using ASP (again, it is my opinion and
Just one of solutions:
From your html page (from JavaScript) you can call
public methods of your applet. This applet talks with
servlet and uses this servlet as a bridge to your
server side application. In our case we are implementing
some RPC for server side java classes. So applet returns
some
can i access a javascript method within jsp...
one of solutions you can see at http://coldjava.hypermart.net
J2J servlet lets you call server side java from JavaScript
ColdJava: java server side programming
http://coldjava.hypermart.net
We are pleased to announce that ColdJava implemented
next version of our preprocessor alaJSP. This development
tools allows you to directly use Java classes from your
HTML pages.
alaJSP is available for download from:
http://coldjava.hypermart.net
ColdJava: java server side programming
also have look at alaJSP on
http://coldjava.hypermart.net
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
Agreed, reading JSP pages is not an easy deal.
So why we are developed our alaJSP stuff. You can
treat it as a "simplified" JSP and in the same time
avoid using separate templates.
-
Well, we got a bit different view: servlet in its nature has
but Jrun now has got some subset of CF -tags. See developer forums
on the Allaire site.
vendor
also check out our products alaJSP at http://coldjava.hypermart.net
In some terms it is similar to CF but it is a 100% Java (servlet).
/vendor
My development group uses JRun. Another group we work
have look at alaJSP stuff on our site. It is a preprocessor. So
all Java calls will be compiled into HTML itself. And you can
mix Java/JavaScript in your pages. That is a main idea behind
this product.
Hi all,
I was wondering whether the form element's values are directly
visible
the real good stuff in ASP in not VB code in HTML pages. What most
of people are using is ADO. I can have easy connectivity to the
different data source, connection pool by default etc. etc.
4. Because of JSP's tendency to look like Microsoft Active Server
Pages, ASP, in many respects, it is
ot; [EMAIL PROTECTED] wrote:
Dmitri Namiot wrote:
looks like very logical and clear model, but see:
you submit your forms to servelt. (I also like
one servlet per application, just more easy to
maintain). So your logic (application logic) is
supported by servlet. What in that case the added
valu
this header ("Accept-Language") may not be included. It depends on
you browser settings (see preferences).
Enumeration e = request.getHeaderNames()
while (e.hasMoreElements())
{
String KeyValue = (String) e.nextElement();
if (KeyValue.equals("Accept-Language")
//
looks like very logical and clear model, but see:
you submit your forms to servelt. (I also like
one servlet per application, just more easy to
maintain). So your logic (application logic) is
supported by servlet. What in that case the added
value from JSP-beans to web-application ?
Yes, we have
It means you have got different sessions for you LoginServlet and
servlet you redirect to.
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
Hello,
JSP is a server side based stuff, JavaScript is a client based.
Maybe you need to check your design solutions ?
P.S. or by the way have look at the product from the letter you
initially reply :-) It is what alaJSP for. No page compilation, just
preprocessing and your JavaScript will be
We are pleased to announce that ColdJava implemented
next version of our preprocessor alaJSP
It is available for download from:
http://coldjava.hypermart.net
alaJSP allows you to use java objects within your html-pages.
What is new in 1.34:
* conditional preprocessing
That depends on engine I think. Looks like GNU JSP
can do that.
P.S. have look at alaJSP stuff - also reloads
classes without restart.
Hi,
I have tried changing the method name also.
I have one more question. Might have been discussed
in this forum. This is
about the caching of the bean. I
Hi Olga,
you can not create instance of interface in Java. You have to have
non-abstract class.
But you can use some like that for existing beans:
jsp:useBean id="yourBean" scope="yourScope" type="yourInterface" /
--
I'd like to be able to use
agreed. That is a why we are developing/using our own stuff: alaJSP
have look at
http://coldjava.hypermart.net
http://coldjava.hypermart.net/servlets/alaJSP.htm
- translated to HTML text (not to servlet)
- script language is still JavaScript
- allows to use any java classes (at the first
ColdJava is proud to announce the release 1.31 of alaJSP processor.
You can download last version from our site:
http://coldjava.hypermart.net
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your
just redirect your page after user hit submit.
In that case pressing 'Back' just return to
redirected page. I think it is a standard
techniques.
ColdJava: java server side programming
http://coldjava.hypermart.net
Get your own
you are welcome to download last version of alaJSP
servlet from ColdJava site:
http://coldjava.hypermart.net
java servlet allows you to mix java and HTML objects.
ColdJava: java server side programming
http://coldjava.hypermart.net
yes, it is a bad restriction and that follows from
the bean definition. So now you should be able
only run zero-arg constructor and set parameters
after that via separate calls (some like
setSomething(...)
Regards,
Dmitry
P.S. by the way, see our alaJSP stuff:
http://coldjava.hypermart.net
JSP-similar processor alaJSP ver. 1.21
http://coldjava.hypermart.net
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
We are pleased to announce that ColdJava implemented
next version of our preprocessor alaJSP.
It is available for download from:
http://coldjava.hypermart.net
alaJSP is yet another way to use java objects within your html-pages.
ColdJava: java server side programming
70 matches
Mail list logo