All financial people use the java.math.BigDecimal class
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
"Mathematics is essentially the study of islands of ===
disparate subjects in a sea of igno
t converts the
String form "25-Oct-2001" to a proper java.util.Date.
Should I write a "void setCurrentDate( String )" method?
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
"Mathematics is essentially the stu
test mail
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
"Mathematics is essentially the study of islands of ===
disparate subjects in a sea of ignorance." || ! ||
An
Is this Jfreechart any good?
--
Peter Pilgrim | |++44 (0)207-545-9923
\ \ ___ / / ... .
- ( * ) --- --
_Cafe_Savannah,_San Antonio,Ibiza__
Message History
Tomcat 4.0 creates a blank class path in a script.
You can edit the CLASSPATH in the "catalina.sh" script
But becareful!
--
Peter Pilgrim | |++44 (0)20
Have you defined the methods "public void setName(String)"
and "public void setType(String)" ?
--
Peter Pilgrim
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail Subject: Line,
will probably lead to the opposite intention." << The Window
Does any one know of any examples / tutorials / URLs which show you
how to use JSP (Tomcat ) / EJB / JBoss togethers?
Tia
--
Peter Pilgrim
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail Subject: Line,
will probably lead to the opposite intention." << The W
Your browser knows how to handle firewall proxies but the standard java.net.URL
does not work through proxies unless those system properties are set.
Tomcat or Resin, of course uses java.net.URL so unless you set the properties
when tomcat or resin is run then it wont work.
--
Peter Pilgrim
Could it be that you are working behind a firewall ?
You probably have to run tomcat or programmatically
set the system properties.
-DproxySet=true -DproxyHost=11.22.33.44 -DproxyPort=8080
--
Peter Pilgrim
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail Subject: Line,
will probably le
ot;.
Then code your JSPs to refer to the servlet in the hyperlink
You can't really do this thing from a JSP because it adds extra stuff like newlines.
It has be a proper Java Servlet unfortunately.
--
Peter Pilgrim
SCJ2P
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail Subject: L
Haven't I seen this email before!!!!
--
Peter Pilgrim
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail Subject: Line,
will probably lead to the opposite intention." << The Windows Trash Can >>
-
bodyContent.writeOut(bodyContent.getEnclosingWriter());
}
catch (IOException e) {
throw new JspTagException( "IO Error: " + e.getMessage());
}
return EVAL_PAGE;
}
--
Peter Pilgrim
"Putting PLEASE HELP ME! URGENT HELP! in the E-Mail S
1) Have you look at Hans Bergsten site http://www.thejspbook.com/?
2) Is there something in Microsoft IE Preferences Dialog that overrides caching?
Have you checked the preferences dialog? It would be typically MICROSOFT
bullshit to not follow the standard.
--
Peter Pilgrim
"Putting PLEASE
uot;*.pdf" pages?
Greenspun also said that global search engines wont index ring fenced web sites.
They do not perform authentication. His solution was to generate a massive
html file with hyperlink that feature remapped URL. I think he means build an index
that search engines can use.
--
JSP mailing list Balls mrr!
-- Forwarded by Peter Pilgrim on 17/05/2001 16:09
---
From: Peter Pilgrim on 17/05/2001 15:10
To: <[EMAIL PROTECTED]>
cc:
Subject: RE: A Poor Man's JSP compatible Search Engine Implementation (Doc
itself through its
own web app? This is important for ecommerce site were you want
to able list pages that are deemed protected resources.
BTW: Any one seen?
Linux Journal Archive for Issue 70 . Alternatively
see any of Reuven M. Lerners "At The Forge" articles
org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:194)
Any ideas appreciated.
--
Peter Pilgrim
G.O.A.T
"the Greatest O
mple just for a `readable-win-win'.
BTW: May be RESIN implements JSP 1.2 other I dunno what server does
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
Fro
th JSP 1.1 containers?
I think Jakarta just throw the whole the web app root into CVS.
jakarta/
jakarta/examples
jakarta/WEB-INF
jakarta/WEB-INF/classes
jakarta/WEB-INF/tlds
This is what I have done for my own CVS set up. It seems that CVS does not
cope well with directory restructuring and i
I found the solution: add missing role "admin" that correlates with the security
role defined in `$TOMCAT_HOME/webapps/admin/WEB-INF.xml' !
pilgpe@xalan (bash) [256] > cat $TOMCAT_HOME/conf/tomcat-users.xml
--
Peter Pilgrim
G.O.A.T
&q
Where Is the Roles File for http://localhost:8080/admin/ located?
I am using Tomcat 3.2 but cannot find the roles admin / password
to change the authentication. Where is the security config file located
for basic authentication?
--
Peter Pilgrim
G.O.A.T
"the Greate
ould've kept looking though !
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: Hans Bergsten <[EMAIL PROTECTED]>@java.sun.com> on 08/03/2001 11:19 PS
// System.err.println( "EmisHomeTag.doEndTag() excpt:"+ignored.getMessage() );
// ignored.printStackTrace( System.err );
}
return EVAL_PAGE;
}
}
// fini
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or
browser
but instead clears the buffered content in the body content
(buffered JspWriter ). All I am saying that the body content
is analogus to:
new BufferedWriter(
new OutputStreamWriter(
new ByteArrayOutputStream()));
--
Peter Pilgrim
G.O.A.T
&quo
Could you post your Tag java class and the JSP?
Presumably setting the `row' parameter inside normal JSP script
<% ... %> works, right?
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
---
and put it in side a Java Bean
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: sufi malak <[EMAIL PROTECTED]>@java.sun.com> on 22/02/2001 18:36
I a
used good all <% ... %>
to do the setting.
Check your JSP Container documentation
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: Anders Lind
Must be JDBC driver then or I am sure there is something in the original spec
that says a JDBC 1.0 driver may not implement the String parameter
version so that it work out of sequence.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All
Why don't you use the column index
rst.getString(1);
rst.getString(2);
rst.getString(3);
then it doesn't matter how you permutate
rst.getString(3);
rst.getString(1);
rst.getString(2);
--
Peter Pilgrim
G.O.A.T
"the Great
++++
and I am using Tomcat 3.2.1 at the mo ... I wonder if there is
bug in this tomcat release.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
ccess.jsp" not
the required "/expresso/emis-profile-success.jsp"
and I am using Tomcat 3.2.1 at the mo ... I wonder if there is
bug in this tomcat release.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
-
( request.getContextPath() );
}
catch (IOException ignored) {
// System.err.println( "ContextPathTag.doEndTag()
excpt:"+ignored.getMessage() );
// ignored.printStackTrace( System.err );
}
return EVAL_PAGE;
}
}
--
Peter Pilgr
ta.getAttributeString("id"),
data.getAttributeString("className"),
true,
VariableInfo.AT_BEGIN)
};
}
}
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or privileged information. If you a
<% if ( situation.isDEFCON_ONE() ) { %>
<%
return;// DID YOU RETURN FROM THE ``getService'' method?!
%>
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
You forget the servlet mapping path! This should work for now
request.getRequestDispatcher( request.getContextPath()+
"/servlet/"
"myPackage.Servlet1");
myRequestDispatcher.forward();
--
Peter Pilgrim
G.O.A.T
JDBC query here but I make the string
// UPPERSCASE here!
out.write( bc.getString().toUpperCase() );
return SKIP_BODY;
}
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
-
Why dont you use the scrollable result set in JDBC 2.0
Or if your database why now use the "ROWS" pseudo column
select * from EMPLOYEE_RECORD where ROWS > 10 and ROWS < 20
--
Peter Pilgrim
G.O.A.T
"the
use java.text.SimpleDateFormat class to this task
SimpleDateFormat fmt = SimpleDateFormat( "dd MM " );
Date da_date = fmt.parse( request.getParameter("dogs_bollox") );
--
Peter Pilgrim
G.O.A.T
"
;' on your drop down to submit the form
javacript:
DropDownHandler( formElement, cmdValue ) {
formElement.form.cmd = cmdValue
formElement.form.submit();
}
html
Strawberry
--
Peter Pilgrim
G.O.A.T
"the Great
modified mod_jserv.o file for Linux
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: Darko Stankovic <[EMAIL PROTECTED]>@java.sun.com> on 07/02/200
Well that's fine, because I will resign tomorrow at 10am sharp then you wont
be able to blame me anymore, ok!!!!
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
I am evaluating briefly some open-source application servers that
support EJBs.
Does any one know the ___NEW__ home page of EJBoss.
It used to `www.ejboss.org' but this has been taken over by a casino portal.
Tia
--
Peter Pilgrim
G.O.A.T
"the Greatest O
m not sure dont quote me on it tho.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: "Mathew, Binoy (CORP, GEITC)" <[EMAIL PROTECTED]>@jav
:
www.jobserve.com [search "java banking"]
www.stepstone.co.uk
www.cityjobs.co.uk
www.monster.co.uk
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From:
Is that Net or Gros, mate ? ( americanification: after federal or local state taxes or
before tax ;-)
Good JSP developer can earn up 45K per year? Senior level more?
Technical Architect still more (70-100K)?
BTW: If you have J2EE and EJB you're quids in alright
--
Peter Pilgrim
G.
I just thought I start another thread specifically on JavaServer Pages
and Enterprise Java Bean experience in the United Kingdom.
Thoughts?
What do you think about the current market rates £££?
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All
2) The comma donot need to be double quoted like "," but simply just commas(,)
DOH! DOH!
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipien
%@ page import="com.ora.jsp.sql.*"
%><%@ page language="java" contentType="application/cvs"
%>
Report Author "," ","
Report Date "," ","
Copyright "," ","
Remarks ","
heesh!!!
You'd though that any one was listening already.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
--------
From: Peter Pilgrim/DMGIT/DMG UK/DeuBa@DMG
g I can set (particular in TOMCAT 3.2.1 )?
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
----
From: Peter Pilgrim/DMGIT/DMG UK/DeuBa@DMG [EMAIL PROTECTED]> on 29/01/20
gt;
<%@ page import="com.ora.jsp.sql.*" %>
<%@ page language="java" contentType="application/vnd.ms-excel" %>
<%= columnName %>,
,
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
le"
but this might be overkill for some projects me think.
"I am glad I bought your book. Yours is the most immediately useful JSP book
I have come across so far."
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
<%= columnName %>
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error)
Setting the properties in a bean is better than relying on CGI parameters.
Your servlet has to transfer the CGI parameter to the bean in order for it to work.
Your bean must be created within "session-scope" if you want to keep it around
for the next request or so.
--
Peter Pilgr
Java Developer Journal Vote
Don't forget to cast your votes
Choose your favourite JSP and Servlets books, tools, webapps, IDEs, frameworks,
installer, deployers,
and test suites?
--
This e-mail may contain confidential and/or privileged information.
I found Hans Bergsten "DebugBean" which I have prettified and enhance a little bit
to be very worthwhile. I think his is the best JSP book since it been very useful
especially the looping custom action
... Gott sei Dank
--
Peter Pilgrim
G.O.A.T
"the Great
te-ability?
Can any DBA give a view of performance of RDBMS with such JSP
request on caching or non-caching this everyday time of query?
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
-
ompvec"
so that you can retrieve by the same name when the next server request
comes in. You test easily too by trying to retireve the named object from the
hashtable.
I am asumming that company vector is constant and does n't change overlife
of your webapps!!!
--
Peter Pilgrim
G.O.A.T
y something on my TODO and LEARNTO lists
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: "Hines, Bill" <[EMAIL PROTECTED]>@java.sun.com&g
and CGI parameter ie.
"request.getParameter("command")"
function dropDownHandler( String docommand ) {
{
document.myForm.command.value = docommand;
document.myForm.submit();
}
...
Apple
Pear
...
Hope it helps
--
Peter Pilgrim
G
D"
and stick it in every directory you wanna protect.
ii) Restrict the access by setting security in the deployment descrip file for your
web app
"web.xml".
4) Buy a book on JSP or RTFM or RTFFAQ
--
Peter Pilgrim
G.O.A.T
"
lassLoader from
JServ which was pretty good.
1) I am a bit fed up or restarting the web container.
Does Tomcat 3.2.1 reload Value or Utility Java Beans that
are explicitly loaded by "" in JSP
2) Is the reloader clever enough to load related classes to the JavaBean.
Thoughts appreciat
"drumbeat" is now Macromedia Dreamweaver Ultra supports JSP, ASP, Cold fusion
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: Ward <[EMAIL P
Has anyone on this list been experienced with Apache Turbine & JSPs?
Can you point me to
any example web sites?
any Manuals?
any samples?
any tutorials?
that have to do with JavaServer Pages
tia
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
T
ervlet no found,
unless I explicity hard code it
..
Is this a TOMCAT 3.2 bug or just me getting it wrong again?
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
in
ngListerner etc.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>@java.sun.com> on 29/11/2000
16:40 PST
That should have read
http://localhost:8080/jserv/
and is there equivalent in Tomcat http://localhost:8080/tomcat-status/
I want to be able see initial parameters
for each start up serlvet in
and `/webpage/expresso> '.
--
Peter Pilgrim
G.O.A.T
"the Greates
Hye
A quick question does Tomcat allow a Servlet Status to be viewed
(JServ) http://localhost;8080/jserv.' I want to be able see initial parameters
for each start up serlvet in `/webpass/ROOT> .
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
-
n.java:206)
at com.javacorporate.common.servlet.CheckLogin.(CheckLogin.java:60)
at
_0002fmain_0002ejspmain_jsp_0._jspService(_0002fmain_0002ejspmain_jsp_0.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
handler(s)
com.javacorporate.common.util.ConfigManager.startJobHandler():Starting job handler(s)
com.javacorporate.common.util.ConfigManager.startJobHandler():Job handler for
configuration 'default' not enabled. Use "startJobHandler=y" in properties file.
com.javacorporate.common.util.ConfigManager.startJobHandler():All jo
3.1 a bit flaky here.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
Message History
From: "Antonio W. Lagnada" <[EMAIL PROTECTED]>@java.sun.com> on 26
method is called.
2) hack the constructor to load the persistant sessions for the zone if any
JServServletManager.java == Apache JServ Zone is true
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
Message History
---
ava Thread
that invokes when your webapp start. It forces the JSP to be compiled by downloading
them
and the reports to be cached.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
Craig
That's great, exactly what I wanted to know.
Your are saying Tomcat 4.0, at shutdown, can save the sessions to a file or files
then reload them afterward, when it restarts.
Do you know if any one has done the same for Apache/JServ?
--
Peter Pilgrim
G.O.A.T
Applets are too heavy.
Not good if your browser does not support Java.
What if your form has more than interrelated two pulldowns?
What if you had many such forms?
How would you make it generic and reusable?
--
Peter Pilgrim
G.O.A.T
"The Greatest of All
1) Session.invalidate - self explanatory
2) Get the bean from the Session.getAttribute("id name of your bean");
Invalidate your bean with a user defomed MyOrderBean.setValid( false )
3) Remove the bean from the session Session.removeAttribute("id name of your bean") m
I had a look at the http://jakarta.apache.org/tomcat/
Will Jakarta Tomcat support ever persistant sessions?
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended rec
w if anyone else
has solve this problem.
The easiest part is to write a OptionListBean that fills itself from a database
1) "select Country from CountryTable"
2) "select City from CityTable where CityTable.Country_KEY = CountryTable.Country.KEY "
The next bit is binding these b
Thanks Craig.
It works when the two classes are move "learn.jsp" package!
Yep. I have been reading "Web Dev with JSP" book which does explains Java Beans
properly.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
--
t;bookCollection" class="com.foobar.BookCollection" />
<%jsp:usebean name="book" class="com.foobar.Book" />
<% Book book = bookCollection.getBookAt(10) %>
Book number 10 name is <% jsp:getProperty mame="book" prope
ther?
How would you write this requirement in JSP ( and the MVC pattern (sic) )?
Any ideas appreciated.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipien
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
-- Forwarded by Peter Pilgrim on 17/11/2000 17:19
---
From: Peter Pilgrim on 17/11/2000 17:19
To: "A mailing list for discussion about Sun Microsystem
implementation
with JSP ( and the MVC pattern (sic) ).
Ideas most welcome!
BTW: Have a nice weekend!
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended reci
the session when the user authenticates
so you 'd never go straight to be view JSP.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
Message History
From: [EMAIL PROTECTED]
he.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:484)
--
Peter Pilgrim
G.O.A.T
&
ation your presentation JSP will use the
custom tags.
This is the ideal strategy. I think the only people who are doing this now
successful are Jakarta Struts people.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
grade by being alternatives to JSPs. What is the deal here? Are they being
anti-Sun? Won't some of these "kits" fall off the edge of the earth in a year because
they are anti-JSP?
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
-
not?
Is "velocity" an compatible with JSP or not?
What you said about "Tapestry" could apply to "Velocity" as well, right?
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
Message History
---
Hi
Has anyone carried out a survey , review, or detailed examination of
these frameworks?
1) WebMacro
2) Jakarta Struts
3) Tapestry
I am interested if they work with Java Server Pages
Are they any other that I have missed?
--
Peter Pilgrim
G.O.A.T
&quo
89 matches
Mail list logo