e-run the test suite to ensure you didn't break something else.
Hope this helps,
-=- D. J.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQ
Robert Nicholson wrote:
Can somebody tell me what is consider the high point of Jasons book?
I think:
1) general introduction to the topic of servlets and how web protocols
work
2) demonstrations of dynamic image creation using AWT stuff and the ACME
GIF encoder
3) demonstration of file upload
Claire Ryan wrote:
what's the method to use for to write to HTTP output, i 've tried using
response.write(String), but this doesn't work, any ideas?
thanks in advance
claire
Grab the JSP cheat-sheet at http://java.sun.com/products/jsp/ which will
tell you about all the implicit objects you
to apply these principles to web
development is:
http://durak.org/cvswebsites/
We use it extensively to synchronize development between multiple
developers across the US on our jsp/html/image-based web sites and all
our java source and makefiles.
-=- D. J.
anderson wrote
anderson wrote:
Anyone knows how can I get the GIF or JPEG width ?
I have the beginnings of an open-sourced GIF decoder at:
http://millibits.com/djh/java/
Look at the implementation of readGIFIdentifier and
readGlobalImageDescriptor for a way to determine the image type and the
header
to consider...
-=- D. J.
===
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.
The call to request.getParameterValues("chkbox") should be returning
null, not throwing an exception.
Anyway, if you want to make sure you have a non-null array with 0 or
more elements, you could write a scriptlet like:
%
String[] chkboxes;
if( request.getParameter("chkbox") == null ) {
. There is also html2ps which will take you to Postscript
output, and then Ghostscript's ps2pdf that will take you to PostScript
output. You can use the freshmeat.net search facility to find most of
these.
-=- D. J
y [4]) when the load is distributed across
multiple servers.
-=- D. J.
Rick Reumann wrote:
For example say you have various people in a database and have
their name, phone number, address, etc. stored in there.
Where I work we don't do the database select statements in the
jsp p
for
this transform? Is it:
- container-specific implementations of servlet chaining?
- jsp 1.1 taglets that transform their whole contained body?
- relying on cutting-edge browsers that actually do XSLT?
- some other mechanism like Cocoon?
-=- D. J.
Daniel Lopez wrote
Support questions about specific products should be directed to their
specific support forums. In this case, you should visit
http://www.allaire.com/support/forums/index.cfm
Mohan Radhakrishnan wrote:
Is it possible to configure JRun for JSP 1.0 without installing it
again ?
nimize the amount of
scriptlet/declaration/expression code in your .jsp pages.
-=- D. J.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs
One thing to remember is that JSP pages were designed for *text* output,
like text/plain, text/html, or text/xml. Binary data should be output
by *Servlets*, not JSP's.
-=- D. J.
Antonio Jimenez wrote:
i trying to view images stored in database
the mime-type image/gif
John Tangney wrote:
On 4/12/00 7:13 PM, Vyacheslav Pedak at [EMAIL PROTECTED] wrote:
See Java Servlet API specification 2.2, you can download it from
http://java.sun.com/products/servlet/2.2/
Thanks, but I *also* scoured the spec. What parts of the spec answer my
question?
I don't know
, with Resin being a bit speedier and having
better developer support (dynamic class reloading).
-=- D. J.
zoxx wrote:
Does anybody know some plugin for IIS which enables JSP to run? Note that
there is a lot of .asp on that IIS, and boss wants that both .asp and .jsp works
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:
time at idle times, detecting database restarts and
initiating re-connections, etc. Since this thread is still active with
a reference to the pool, the GC cannot collect it.
-=- D. J.
Sam Heisz wrote:
On Fri, 7 Apr 2000, Sam Heisz wrote:
sam What stops the instance from
don't
know about other engines.
I would be interested in others opinions on this part of the spec, esp.
those working on Tomcat or other implementations...
-=- D. J.
===
To unsubscribe: mailto [EMAIL
in `find . -name '*.jsp' -print`; do
jsp2jsp.tcl $f
done
which converted our whole site in a matter of about 2 minutes, plus some
manual correction of LOOP tags etc.
-=- D. J.
Govind Seshadri wrote:
Interested in learning about how to seamlessly convert your
one eliminates some really ugly, redundant code in
their JSPs...
Hope this helps,
-=- D. J.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQ
ments, etc. for the EJB and
generate your JavaBean's .java file with wrapper methods and
constructor...
-=- D. J.
Nidhi Singhal wrote:
I am in desperate need for this information. I have been trying to dig this
out but...
I have an EJB which is deployed on the Oracle 8i.
See below for comments...
Biju Nambisan wrote:
[ . . . ]
A typical URL with parameter in this case is something like this
http://localhost:/xyz.jsp? myselect_sk0=whmyselect_macro0=weather
myselect_sk1=spmyselect_macro1=sports change=CHANGE
[ . . . ]
parameter..When I am trying to print
You should take a look at jspFileUpload -- recently listed on the Java
Servlets Taverne page:
http://www.interpasnet.com/JSS/
Alternatively, as suggested elsewhere, Jason Hunter's File Upload
Servlet will do this.
Murtaza Ali wrote:
i would like know how to upload the file to the my
can be ugly for .jsp artist-types to program, you could wrap the
ResultSet with a kinder/gentler type of enumerated interface. Same
problem with needing a try/finally block in the .jsp page to close
things up.
-=- D. J.
John Parrish wrote:
What is the preferred method
"Loganathan, Kamalesh" wrote:
I would like to capture the 'PrintStackTrace' from the ServletException and
print it to the browser. This is easy to implement in the Servlet. Anybody
know how to implement this in a JSP page.
%@ page isErrorPage="true" %
HTML
BODY
PRE
%
t; property="*" /
to
jsp:setProperty name="bean" property="formElem1" /
jsp:setProperty name="bean" property="formElem2" /
. . .
or do I need to write special code to handle form elements that the user
could have deliberately (and re
Mistroni Marco wrote:
can anyone tell me how can i, using getProperty, set the value of a
check box to 'checked`? how is it possible to do that??
please help me..
thanx to all in advance
Using the ?: ternary operator inside an expression is what I do:
INPUT NAME="chk1"
Please direct non-JSP questions to a more relevant discussion group if
you can... The volume of non-JSP messages in this newsgroup is very
difficult to deal with.
That said, here is a reasonable place to start learning about JavaBeans:
http://java.sun.com/beans/FAQ.html
The parts that matter
it is perfect
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
You don't need to rely on the servlet engine for this, and you certainly
don't need to hard-code these values in any of your classes. You should
implement a singleton design pattern "properties" class that loads
itself with information from a .properties file -- a fairly simple
wrapper around
David Galimberti wrote:
[ . . . ] I am using the servlet as a source to an
image as follows:
img src="\servlet\myServlet"
If I forward/redirect to my servlet from the JSP I have access to the
session variables but if I use the servlet as a source to the image I
do not (it actually wants
f you chose to write
this yourself, you're asking for an awful lot of work and maintenance
whenever you add another property to your bean.
-=- D. J.
Rob Fahey wrote:
I am including the bean on the page as follows:
jsp:useBean id="registerbean" scope="sess
Duffey Kevin wrote:
I was wondering if anyone has JSP pages I can show my boss as a reference
as to why we should be switching to the technology. He doesn't believe its
http://www.lightningstorm.com/
All our dynamic pages and displays are driven by JSP's and beans. We
have had very few
Keith Kwiatek wrote:
If you are using JSP to do web applications, how are you using JSP
to hand the fact that the web server connection to the database is
non-persistant?
Well, before we talk about update issues, you should really consider
Connection pooling, whereby you keep a VM-wide
This is not a JSP question but rather a question on JDBC. Books are
available from publishers Addison Wesley, O'Reilly, Prentice Hall,
etc...
Guilherme - PerConsult wrote:
I`m trying to call a stored procedure using JSP... well, I have in my
form a text box called "descricao", and my sp will
Note this isn't a JSP question -- this is a rather fundamental question
about JDBC. Please consult one of the books about JDBC, such as "JDBC
Database Access with Java" by Hamilton et. al.
Well, first you need to get the ResultSet object from the query. If you
know the columns that will be
Cory L Hubert wrote:
Right now I am using the .92 with JRUN. Should I, can I upgrade to 1.0?
Yes. Migrate now while (presumably) your code base is small. At the
very least, avoid the LOOP, INCLUDEIF, and EXCLUDEIF tags in your jsp
0.92 pages as they are very difficult to mechanically
Cory L Hubert wrote:
Ok. I am on a roll now. I am trying to setup a Connection Pool. I have
a few samples. But I don't know where to put it in my project. Should I
put it in the Beans? Or should I just make one connectionpool jsp file and
include it in all the pages?
I have also seen this problem. I mentioned it awhile ago on the list but no
one replied.
- Original Message -
From: Christopher Cobb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 29, 1999 10:15 AM
Subject: MATCH=null bug in JRun?
I am using JRun Pro 2.3 build 141.
e" VALUE="null" MATCH="exact"
PHere is the error message:/P
PB[Error=DISPLAY PROPERTY="err:message"]/B/P
/EXCLUDEIF
/BODY
/HTML
I originally tried to use
INCLUDEIF (or EXCLUDEIF) PROPERTY="err:message" MATCH="null
ring[] getFirstNames(), String[] getLastNames(), etc).
After querying the database, the servlet would create this bean and
set these multi-values properties from the database results. The
bean then be past to a JSP page to display using multiple L
41 matches
Mail list logo