Rich Carreiro wrote:
>
> I am dealing with some JHTML pages (stuff parsed with the Sun-provided
> pageCompile
> servlet that shipped with JWS 1.1 and is still in JWS 2.0 but deprecated)
> that use
> the tags to embed servlet output into a page.
>
> As far as I can tell from reading the JSP spec,
I donot think your browsers have the required support for jdk1.2. You may
need to add some add-ons.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: Pujari, Pradeep Kumar (GEA, 081970) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursda
Remove the .class extension from the url.
http://127.0.0.1:7001/servletclasses/myServlet
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: Pamela Cotture <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 5:39 PM
Subjec
String temp = request.getParameter("anvnamn").toString();
No Need to use .toString().
The request.getParameter("parametername") would return a String.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: Burky Stéphane <[EMAIL PROTECTED]>
To: <[E
hi everybody:
i do not understand the difference between the element of
and <%@ include file="" %> or . as the reference, i think
can take place of the other two drastically. but it does not
work as to include a static file.
thanks.
===
Hello Hans,
Thank you for your answer. I should have asked my question more
specific:
I want to write a custom tag what converts a date into a well formatted
germanlike string. So I want to take the bean declared by useBean (which
can be of any type), call a method on this bean which gives a dat
Hi Fred,
The real syntax is not really:
String temp = request.getParameter("anvnamn").toString();
It's even simpler. It's
String temp = request.getParameter("anvnamn");
Automatically a string value is returned from request.getParameter();
--
From: Burky Stephane[SMTP:[EMAIL PROTECTE
www.jsptags.com
and you can further search on sun site
ayin <[EMAIL PROTECTED]> on 04/14/2000 06:27:27 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:(bcc: Kamboj Ritu-SWD-ITIL-UB/Itilma
hi everyone:
it seems to have difference among the following three code:
<% if ( %>
<% != null ) { %>
<% if ( hello.getusename() != null ) %>
<% if ( request.getParameter("usename") != null ) %>
the first doesnot work at all, the second is fine and the last cannot
identifies "null". the last o
Hi Mike,
please could you include me in on this too?
Thanks
Karl
"Bragg, James" wrote:
>
> Here too, Mike!!
>
> -
> James C. Bragg
> Senior Software Consultant
> Computer Associates International Inc
>
> > -Ori
Hi
I can not write more than one cookie from a servlet. No matter how many I
add, only the LAST one get sent to the browser. The API docs state clearly
that addCookie() can be called multiple times.
My code looks like this:
Cookie firstCookie = new Cookie("cookie1", "string1");
firstCookie.setP
Hi Ph-liu,
Will Weblogic will work on IBM AIX (RS6000). I want typically
JSP-Servlets-EJB-DB2, this model
Does it have Free Trial offer version. Kindly pass on more information
Can anyone suggest anyother Model/ Architecture
Thanks and regards
Raghuraman S
--
From:
hi all,
i am testing iPlanet 4.1 with Solaris 2.6 (iplanet's jre)
the servlets work fine, but the jsp (1.0) don't work
the error in the log is the follow:
-
[14/Apr/2000:10:00:45] info ( 2227): Internal Info: loading servlet
/jsp.10/dat
Hello Jspians,
Let me know
a) What is the maximum amount of data that can be viably stored into a
Hashtable.
b) What would be the effects of exceeding that capacity on the JVM, ect.
I haven't been able to find any whitepapers regarding the above on the net,
if anyone knows of any url, plea
Hi all,
please ignore my previous posting...i think about that and i solved
the problem
sorry for bothering u
regards
marco
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some
hi all,
i am developing a JSP based application using the Model 2
architecture
i have problems at one point:
all of my JSPs requires to have dynamic content at load time...i mean, when
i access
the page, i should present a dynamic list of something that i read from
database
suppose fo
Hi,
If you just want to parse an XML file and get a DOM object, you use almost any XML
parser. In my case, what I did is that I wrote a small adapter class that has a
list of possible xml parsers, detects the xml parser that I have installed in the
classpath and uses the first one in the list tha
a) only limited by the memory of the running system or better the
addressable memory from within the JVM.
b) out of memory exception for the "new". If an actual out of memory for the
JVM occurs, it will crash (since it is just another process)
-Ursprüngliche Nachricht-
Von: Sachin S. K
u can encrypt the passwd but it's not a must. use post method for submit,
so that the passwd won't be displayed in the address box in ur browser.
--
From: Raghuraman Sridharan[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification and
reference
Sent
Hans,
I am actually trying to access them from a Java Console app compiled
to an .exe and run as a CGI in IIS. - Dont ask why?! :)
(servlets or JSP are not an option for us right now ... but will be in the
future!!)
I think that I may need to read the System.in and parse it in a similar
way to a
To continue the navigation discussion of a few days back involving property
files, may I provide an alternate option? I'll try doing this based on an
simplified example:
Suppose there are two simplified workflows that share the same pages. For
example: the first page enters a number A, the second
Looking at Hash.java source it appears that capacity will increase as the
hastable grows in size everytime the item count exceeds the threshhold. the
capacity variables are of type int which one could imply that the absolute
limit must be the maximum value a variable of type int.
int is a 16-bit i
> Will Weblogic will work on IBM AIX (RS6000). I want typically
> JSP-Servlets-EJB-DB2, this model
>
> Does it have Free Trial offer version. Kindly pass on more information
>
Check out for yourself: http://www.beasys.com/
Looking at Hash.java source it appears that capacity will increase as the
hastable grows in size everytime the item count exceeds the threshhold. the
capacity variables are of type int which one could imply that the absolute
limit must be the maximum value a variable of type int.
int is a 16-bit i
I tried using environment variables because the webserver that hosts my
website doesn't feature servlets yet. But I have not succeeded. It seems
that by deprecating the getenv() calls and suggesting property files, SUN
wants to prevent the usage of environment variables completely: either type
it
Tom,
I just found this.
http://forum2.java.sun.com/forum?14@@.ee7780f
The code given as the EnvVars class:
I have tried it and it works ... on WinNT anyway ... it seems to use cmd
somehow ... dont think it can be very efficient.
I am still going to write a method to parse out the QUERY_STRING p
You should check these
- do you have java plugin on your machine?
- check the policy file of the java runtime
- check java security in your IE
A.Somsak
"Pujari, Pradeep Kumar (GEA, 081970)" wrote:
>
> java.security.AccessControlException: access denied
> I am getting the above error, when I try
birthday eppadi irrundhudhu
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Tom Eugelink
Sent: Friday, April 14, 2000 8:48 AM
To: [EMAIL PROTECTED]
Subject: AW: How to access environment variables such
Hi,
I'll add some comments of my own.
Kevin Duffey escribió:
> Hi,
>
> I'll try responding. ;)
>
> >* Would multiple forms/pages require a different validation bean for each
> >page? (This assumes that you want to validate the user's input on a per
> >page basis, rather than, or in addition to,
Ahhh. Interesting discussion! Let me add some opinion also.
> -Ursprüngliche Nachricht-
> Von: Daniel Lopez [mailto:[EMAIL PROTECTED]]
> Gesendet am: Freitag, 14. April 2000 15:41
> An: [EMAIL PROTECTED]
> Betreff: Re: Model 2 and multi-page techniques
>
> Hi,
>
> I'll add some comments
Eumm,
I might be wrong but... is it possible that this just works if the client browser
is capable of doing the transformation of the XML into HTML using XSL? AFAIK, this
just works with Explorer 5 and if what you want to do is perform this
transformation in the server, you have to do something d
Hi all!
I have the following problem under JRun 2.3.3 b157 on WINNT4.0.
I have a servlet with 2 methods, one calls a JSP page (method A), the
other method (method B) builds an XML page that is sent to the client
(using println command) .
The behaviour of this servlet is very strange for me, in fac
> i am testing iPlanet 4.1 with Solaris 2.6 (iplanet's jre)
> the servlets work fine, but the jsp (1.0) don't work
> (java.lang.NoClassDefFoundError:
sun/tools/javac/Main,sun/tools/javac/Main), stack:
Add tools.jar to the classpath for the JDK (also make sure you are using the
JDK, not the JRE).
Hi,
I am using URLrewriting in my application. My problem stems from the fact
that IE5 stores in its history list all url's accessed. Therefore, if I
redirect to a jsp page via a servlet, which, because of the fact that the
url has been rewritten, there is a session id appended to the end of this
Hi all,
i have a problem of pmance: i have to manage over 30 JSP pages, each
one with an Action class associatedd...
i don't want to create new Action every request, otherwise in a few minutes
i can have over 500 classes around...
how can i solve that?? ok, the answer should be 'use only a
Has anyone gotten a servlet to work with RMI?
I set my policy file for my Java App rmi based server to "AllPermissions"
but my servlet still chokes on security and access exceptions when i try to
do the RMI lookup to the rmi registry. My current RMI server communicates
successfully with applets i
I think you are right, the browser needs to understand the XML. We use IE5.0
as our standard desktop browser, so this isn't an issue for us. However, I
have tried Netscape 6.0 PR1, and the XML doesn't seem to work yet.
-Original Message-
From: Daniel Lopez [mailto:[EMAIL PROTECTED]]
Sent:
I encountered this very same problem yesterday, and the iPlanet docs have a
pretty clear explanation. You need to install a JDK onto your server (NOT a
JRE) and then goto the Global Settings / JDK-JRE Path and configure the
server to hit that JDK.
N
-Original Message-
From: A mailing lis
Hi all
This is a repost, as the previous post went under the wrong subject.
I can not write more than one cookie with a servlet. No matter how many
cookies I
add, only the LAST one gets sent to the browser. The API docs state clearly
that addCookie() can be called multiple times for a reponse ob
Hi Carl,
Is your servlet in this case the server or the client? If it is the client, as your
mail seems to indicate,
then setting the policy file on your Java App, the SERVER, is not going to help
your servlet, which is the CLIENT.
Try to set the policy file of your servlet container so it allows
Hi Tom,
I snipp the part where we agree and I'll intermix my answers to your questions so
this post doesn't get too big:
Tom Eugelink escribió:
> Ahhh. Interesting discussion! Let me add some opinion also.
>
> > -Ursprüngliche Nachricht-
> > Von: Daniel Lopez [mailto:[EMAIL PROTECTED]]
There are server-side XSLT engines (LotusXSL at alphaworks, XALAN at apache,
XT ) available that you can incorporate into a servlet.
This servlet could take your XML output (from a JSP) and apply the
transformations encoded in a designated XSL file and deliver the
(presumably) HTML result to the c
Hi Gert,
This is a known bug in Tomcat 3.0. We had the same problem with Tomcat
3.0/Nt 4.0.
We made the following workaround (three commented lines) in the
org.apache.tomcat.util.MimeHeaders class and it works well :
protected MimeHeaderField putHeader(String name) {
// if (containsHeader(name)
On Thu, 13 Apr 2000, Tom Gordon wrote:
> In a jsp page, I want to redirect the user to the next page, after a
> form submit using POST.
>
> I am using response.sendRedirect(newURL).
>
> This works fine in Internet Explorer 5, but in Navigator 4.7.2, it takes
> about 20 seconds or so before the br
Hi All!
I'm Inserting some data in DataBase, once the action
is completed I want to popup a alert box which says
Successful.
I'm using a hidden field to achieve this, Is there
any other design???
Regards,
Kumar
__
Do You Yahoo!?
Send online in
http://java.sun.com/products/jsp/industry.html
A 13:27 2000-04-14 +0800, vous avez écrit :
>Hi , all
>
>I want to find a good web site that have samples of JSP. Who can tell me?
>
>ayin
>
>===
>To unsubscribe: mailto [EMAIL
Hi, all:
I'm starting to work with xml and have a question
need your input.
In my application (it's JSP), I use java JDBC to
pull out data from backend DB. It's typical DB
application, query to get a record,edit and update it,
Now, I need to use XML files as substitution of
DB. So the probl
Hi all!
I have the following problem under JRun 2.3.3 b157 on WINNT4.0.
I have a servlet with 2 methods, one calls a JSP page (method A), the
other method (method B) builds an XML page that is sent to the client
(using prinln command) .
The behavior of this servlet is very strange for me, in fact
For XML parsers see http://www.xmlsoftware.com , http://www.oracle.com/xml ,
http://www.ibm.com/xml
> -Original Message-
> From: Hui Deng [mailto:[EMAIL PROTECTED]]
> Now, I need to use XML files as substitution of
> DB. So the problem I face (I think I need to solve)is:
> 1. construct
Hi, all,
I am having problems using the updateable cursor feature of JDBC 2.0.
My code snippet looks like:
Connection conn = java.sql.DriverManager.getConnection("jdbc:
oracle:thin:@dev:8000:mydb","mylogin","mypasswd");
Statement stmt = conn.create(ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCU
Tom Eugelink wrote:
> I tried using environment variables because the webserver that hosts my
> website doesn't feature servlets yet. But I have not succeeded. It seems
> that by deprecating the getenv() calls and suggesting property files, SUN
> wants to prevent the usage of environment variable
I can't prove it..only can tell you from using JRUN, Tomcat, and Resin on
our site here that Resin is continually returning pages quite a bit faster
than the other two.
Resin is a 100% Java written application from my understanding, so it should
run on all platforms with JDK1.2.2 on them.
It cos
Should have. There is some competency data that gets reloaded, but anything
that was in there previous should have been blown out.
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 14, 2000 1:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW:
Hi Drew,
I read your message and checked out the site and thought I'd drop you a line to see if
I could get a little more info.
I was wondering:
What levels of experience are you looking for?
What server/container are you/will you be using?
Will the final site be an integration of Flash and JSP
Sorry, replied to wrong email. Scratch that.
> -Original Message-
> From: Ferro, Tim [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 14, 2000 1:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: How to access environment variables such as
> "QUERY_STRING "?
>
>
> Should have. There is so
Drew,
I am also forwarding you message to my current team partner and co-worker, Sage Hobbs.
-Jesse Clark
Drew Cox wrote:
>
> First off, my apologies if you consider this type of message to be spam on these
>lists. If so, hit delete and move on. I thought it through and decided, that as a
I'm not trying to be picky, but what does this have to do with JSP?
Dan
John Gbur escribió:
> Hi, all,
>
> I am having problems using the updateable cursor feature of JDBC 2.0.
> My code snippet looks like:
> Connection conn = java.sql.DriverManager.getConnection("jdbc:
> oracle:thin:@dev:8000:
Actually, according to Resin's FAQ, it's $500 per deployment server; an
addtional $2000 will get you the Platinum edition (same product, enhanced
service). They still really only expect you to pay if you are making money
with your deployment.
Donald
- Original Message -
From: "Kevin Duf
Craig's solution to this is probably the easiest to implement. You could
also write a fairly trivial piece of JNI code that called the C getenv()
function. Downside to this is you're now platform-dependent (but you are
by using CGI already).
Wes
On Fri, 14 Apr 2000, Craig R. McClanahan wrote:
Umm, just noticed that the e-mails that I was sending to Drew got copied to the
list. I coulda swore I deleted the list from my To: before sending...
Terribly sorry (and embarrassed).
-jesse
BTW - Anyone else who feels like checking out the site that we are developing feel
free, I know it's not
Tom Eugelink wrote:
>
> I have to totally agree here. Only the server is a trustworthy node in the
> process. One cannot assume that javascript has correctly validated the data.
> Any validation done on the client should be considered an extra service, not
> a replacement for serverside validatio
Does anyone know of any JSP testing tools? Probably too new, but I'd love
to get my hands on something that would prevent me from having to redeploy
and bounce the server each time I want to test a JSP.
Thanks in advance,
Ken
Ken Wasetis
divine interVentures, inc.
525 W. Monroe
Chicago, IL
847
Adolf Liepelt wrote:
>
> Hello Hans,
>
> Thank you for your answer. I should have asked my question more
> specific:
>
> I want to write a custom tag what converts a date into a well formatted
> germanlike string. So I want to take the bean declared by useBean (which
> can be of any type), call a
Hi Andrew,
Andrew S Tomlinson escribió:
> There are server-side XSLT engines (LotusXSL at alphaworks, XALAN at apache,
> XT ) available that you can incorporate into a servlet.
> This servlet could take your XML output (from a JSP) and apply the
> transformations encoded in a designated XSL file
I will do the same..snip where needed for bevity.
>but just forward to
>the appropriate JSP and let this page get the "previous" results
>from the session.
>But the are all pretty much a matter of taste so use what you
>like, just be sure
>that you have
>your own reasons to do it the way you are
Hi,
I'll add comments to comments to my comments. ;)
>Hi,
>
>I'll add some comments of my own.
>
>Kevin Duffey escribió:
>
>> Hi,
>>
>> I'll try responding. ;)
>>
>> >* Would multiple forms/pages require a different validation
>bean for each
>> >page? (This assumes that you want to validate the
Hi,
>In my case, I do both client-side (to the degree possible) and server-side
>authentication. Why?
>
>* Client side validation improves the user experience by catching things
> quickly, before the submit-error-fix-resubmit loop happens. Of course,
> you cannot catch everything, and not eve
Gert Koning wrote:
>
> Hi
>
> I can not write more than one cookie from a servlet. No matter how many I
> add, only the LAST one get sent to the browser. The API docs state clearly
> that addCookie() can be called multiple times.
>
> My code looks like this:
>
> Cookie firstCookie = new Cookie("co
"Cogley, Jonathan" wrote:
>
> Hans,
>
> I am actually trying to access them from a Java Console app compiled
> to an .exe and run as a CGI in IIS. - Dont ask why?! :)
> (servlets or JSP are not an option for us right now ... but will be in the
> future!!)
>
> I think that I may need to read the Sy
Hi,
I am not sure I am clear on what you mean. If you send a request to the
server to store some stuff in a database, then I would say "redirect" to a
page that says successful. Otherwise, the way I would do it if the server
returned with the same page that submitted the form in the first place,
hi,
i am sorry ... my bean don't work
the .jar is in the classpath, and the bean is found (there isn't
java.lang.ClassNotFoundException)
but the error is "Cannot create bean of class intersys.DbBean"
Any help will be appreciate.
Thanks in advance.
detailed
--
Hans,
*** SOLVED!!! ***
Thanks for your advice... I realise it is inefficient to run Java as a CGI
...
it is taking about 8MB of mem a pop (cos of the JVM as you pointed out) ...
Anyway, we have redone it as a J++ COM component (.dll) and are calling it
from ASP which is working far better. (We
I am fairly new to the list, and first I want to thank Kevin, Craig, Daniel,
and everyone else who contributed to the Model 2 discussion.
One question I have: is there any way to explicitly cause an Action class to
be unloaded, so that a newly compiled version will be loaded in its place?
It seem
Has anybody encountered this error before. If so, how did you fix it ?
Note: \temp\caucho\_jsp\_testing\_FinalOrder__jsp.java uses or overrides a
deprecated API.
Recompile with "-deprecation" for details.
1 error, 1 warning
Thanks,
- Vivek
==
the old jhtml definition contained a tag that would allow the developer to
alter the target servlet's class definition (...) by
adding other methods to the class without having them being added to the
service method. how would this be accomplished in the new jsp standard?
- michael kowaleski
=
Hi
anybody knows about export, print functionalities??
How to export data from Grid applet to Excel?
How can we send data from grid applet to printer for printing?
if any body knows , please let me know
Thanks
===
To uns
Sam Heisz wrote:
> I am fairly new to the list, and first I want to thank Kevin, Craig, Daniel,
> and everyone else who contributed to the Model 2 discussion.
>
> One question I have: is there any way to explicitly cause an Action class to
> be unloaded, so that a newly compiled version will be l
"Kowaleski, Michael" wrote:
> the old jhtml definition contained a tag that would allow the developer to
> alter the target servlet's class definition (...) by
> adding other methods to the class without having them being added to the
> service method. how would this be accomplished in the new j
I believe the extends attribute of the page directive will
do what you want - it specifies the superclass of the generated
servlet.
<%@ page extends="foo.MySuperClass" %>
-i
]MIME-Version: 1.0
]Date: Fri, 14 Apr 2000 15:57:50 -0400
]From: "Kowaleski, Michael" <[EMAIL PROTECTED]>
]Subjec
Hi,
Looks like you don't have Java(TM) compiler (javac). You need it to compile
Java classes parsed from JSP's.
Regards,
PioWie
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Antonio Jimenez
Sent: Friday,
> I can't prove it..only can tell you from using JRUN, Tomcat, and Resin on
> our site here that Resin is continually returning pages quite a bit faster
> than the other two.
Yes, and all three are significantly slower than ServletExec when running
with IIS. According to our tests, ServletExec is
Greetings!
New Atlanta is pleased to announce ServletExec 3.0, the latest generation of
its servlet and JSP engine. In addition to the high-performance,
reliability, and ease-of-use for which previous versions of ServletExec have
become renowned, ServletExec 3.0 boasts the following features:
Hi
I need to create a package for the following scenario :
I have data entry modules, where the user does data entry.
There are 15 fields in each record. On each "Add Record" data is written to
4 different tables ( say 3 fields in table 1 , 4
in table 2...) in database "Temp"
The same data is
83 matches
Mail list logo