> At least to the current release builds of tomcat you
> have to reboot the server, it's the only way, only if
> you want to replace a class.
I do not experience this problem at all.
We use (Apache + ) Tomcat 3.2.1 and let ANT compile our classes into
WEB-INF/classes. No jars or wars in the dev
Not quite right !
application is an implicit object available within jsp's and not servlets.
In case of servlets you could get a handle to the ServletContext object with
the following line of code :
ServletContext context = getServletConfig().getServletContext();
Then use the repective methods men
> Hi JSPers,
>
> Does anybody know if there's any JSP tag that can replace the URL in
the
> browser? I need this to prevent the user to press the back button and
> re-login to my application without having to enter any password since
the
> browser cached the password sent with the form.
>
> Thank
You must set time-limit for the cookie.
Thanks
- Original Message -
From: "Lester June Cabrera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 9:57 AM
Subject: Can't write cookie
> Hi,
>
> I'm new to JSP. I wrote a sample JSP app that writes/reads cookie. But
**
This correspondence is for the named person's use only. It may
contain confidential or legally privileged information or both.
No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this corr
Hi Chris.
Your tip is quite helpful.
Thanks & Regards
Shuwaz Abbasi.
Software Developer.
Ph # 5584677-8.
www.visualsoft-inc.com.
- Original Message -
From: "Chris Pratt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 8:27 PM
Subject: Re: Cookie problem
Hi,
I'm new to JSP. I wrote a sample JSP app that writes/reads cookie. But
everytime I access the page, it seems that the cookie is not saved because
when I try to read all the cookies again, I don't see the values I just
entered. The following is my code. The form calls the same file to submit
t
Try to use
and parse the variable out in JSP.
good luck
Duc
>From: Amar Deep Singh <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How to pass variables between an HTML/JSP contained in web-bro
Hi
How to pass variables between an HTML/JSP contained in web-broswer on a
VB form and the form itself ??
If anyone is aware then do let me know
regards
amar
==To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hi JSPers,
Does anybody know if there's any JSP tag that can replace the URL in the
browser? I need this to prevent the user to press the back button and
re-login to my application without having to enter any password since the
browser cached the password sent with the form.
Thank you,
Lucas
=
Professional JSP, Wrox Press
plus
Java Servlets, Karl Moss
Both for $40 plus shipping.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-
This should have been sent to the list, not to me. Forwarded for
[EMAIL PROTECTED]
The original question was:
... it looks like my JSP is calling the method in Java Bean two times
?
I cannot think of why this will happen. Any help will be appreciated.
-Original Message-
From: D
Does NOONE read the footer of each email?
You have to send your sign off email to
[EMAIL PROTECTED]
Note that this is NOT the same email address as the list
([EMAIL PROTECTED])
And include in the body of your email:
signoff JSP-INTEREST
-Original Message-
From: Kwong Brian [mailt
Someone just reported that there's a bug in tomcat 4, beta 5 that is
preventing the reloading.
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Recompile class not picked up in TOMCAT
If it's a jsp
I found this site really helpful:
http://archives.java.sun.com/archives/jsp-interest.html
You can administer the list through the web site. I've had my e-mail address
change several times due to the powers that be. The old e-mail address still
worked and was the one I had subscribed with but my
If the server wants to expire a cookie, it sends the cookie to the browser
with an expiration date and time. When expiration date and time is reached,
the browser will delete the cookie. To immediately remove a cookie from the
browser, you could send a cookie with an expiration date in the past.
i want to sign off
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "s
If it's a jsp file (or a servlet class in the servlet directory) it should
be picked up automatically. If it's a support class (in a jar/war file or
under the WEB-INF/classes directory it won't. What I usually do is touch
the .jsp page associated with the changed class, which causes Tomcat to
re
In Tomcat 4.0 you can use the Manager Application to force a reload of class
files. The manager application is a servlet that helps you manage your web
applications and get information about their state. By default it is not
enabled. Check out the Tomcat 4.0 documentation for more details.
Justy
At least to the current release builds of tomcat you
have to reboot the server, it's the only way, only if
you want to replace a class.
This is not the same to the jsp pages, you can replace
them, the server detects that change and compile them
again.
Hope this help
Atilio
--- JP <[EMAIL PROTE
Does anyone know how to make TOMCAT reload a new class? I made changes that I want
picked up, but cannot see until I reboot the server...
Probably an age-old problem, but new to me.
Thanks!
===
To unsubscribe: mailto [EMA
But it's properly attached as a multipart/alternative not a multipart/mixed
(which would constitute a true attachment) The list should allow
alternate's, in fact it can generate them.
(*Chris*)
- Original Message -
From: "Jay Burgess" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
It's not a list problem.
The problem is with Microsoft Outlook/Microsoft Exchange. For some reason,
this product pair creates an HTML copy of your outgoing email and appends
it to your text-only email, as an attachment. The HTML attachment gets
rejected by the list because attachments aren't al
That's not quite true, I had a major problem using the list with Microsoft
Outlook. Every post I sent was returned, and it was very obvious that is
was not accepted by the list processor. Something about not accepting
attachments (which I wasn't including anyway). I switched to Microsoft
Outloo
Immediately is a funny thing in web time. It can mean anything from right
now to the next time I close all my browser instances. What I usually do if
it's really important to know is put a marker in the user record. Something
like PersistentLogin=true. Then when the user logs out, set the Max
You can only exec an executable, and batch files aren't executable. Try
executing "cmd.exe /c mkdir c:\\kkk" on Windows NT or "command.com /c mkdir
c:\\kkk" on Windows 9x.
(*Chris*)
- Original Message -
From: "ZhaoBin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June
Anyway, application is an implicit object, so you can
use without declaration.
In this case, you can do the following:
application.getAttribute("objectName") or
application.getValue("objectName")
It depends on the servlet API version you are using.
The first one is for servlet's version 2.2 and t
> wondering if anyone has any ideas on how to access the application
level
> objects ( i.e similar to ASP application object) using a servlet?
Try pageContext.getAttribute("objectName", PageContext.SESSION_SCOPE );
See javax.servlet.jsp.PageContext for documentation
Mattias Jiderhamn
Expert
> Robin:
>
> As long as you write to <[EMAIL PROTECTED]>
> all your mails will arrive. You will recieve the one
> you wrote and some mailing failures.
And remember that your from/reply adress (in you mail program) must be
the EXACT one you registered with.
/Mattias Jiderhamn
===
HI Folks:
wondering if anyone has any ideas on how to access the application level
objects ( i.e similar to ASP application object) using a servlet?
any help will be appreciated
Asim Pasha
IQHealth
Cerner Corporation
CONFIDENTIALITY NOTICE
This message and any included attachments are from
Robin:
As long as you write to <[EMAIL PROTECTED]>
all your mails will arrive. You will recieve the one
you wrote and some mailing failures.
As you can see Mattias answer you, this is a good one.
You have to be really 'cautioned' with your case.
Follow the directions offered by Mattias.
And mo
> The line I was trying to use is:
>
>
>
> Since this hasn't worked I have had to explicitly set the parameters
> individually with lines like:
>
> Book.setUsername(request.getParameter("Username"));
I'm not sure in this matter, put sometimes the JSP/Servler API can be a
bit poky. Try to use low
Hello Atilo,
I have just recently joined this list but for some reason my posts keep
getting returned to me. Would you please let me know if you could assist me
with my problem below and even post it to the list.
Thank you,
Robin Porter
I have been trying to autoset the properties of a bean wi
Stephen:
The following code works just perfect:
JSP page:
<...>
ON POST:
What this code does is take all the parameters named
'same_name', make an array of them and send it to the
method on the bean. Then you can get the array from
the bean and loop through it.
The bean:
private
- Original Message -
From: "Shuja Nawaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 12:28 PM
Subject: Cookie problem
> Hi,
>
> I have developed a website. The user has an option to set cookies to
> remember his username and password
> by checking a checkb
> Case 2: Let's say the form fields are named "field[0]", "field[1]",
...
> What would the declaration be for the set-parameter method in the
bean?
> "public void setField(int field, String input)" is the closest I could
> guess, but it doesn't seem to work.
I haven't tried, but one guess is that
Hi,
I have developed a website. The user has an option to set cookies to
remember his username and password
by checking a checkbox (I'm setting the cookie to expire after a month).
Now if the user unchecks the checkbox how should I expire the cookies
immediately.
I've tried setMaxAge(0) but it
37 matches
Mail list logo