Hi, I did dialogs in java awt and swings, but not in jsp, I want when the
user click in a link a dialog pop up, with a label, text field and four
buttons (Browse, Search, OK, Cancel).
Please how to do it in jsp, because after pressing the button ok I have to
pass data in the text field to a
My goal: To use a JSP to get information from a database.
I already have an html page that passes parameters to a
servlet to do this and both work fine. Now I would like to
use the more flexible approach of using a JSP and
getProperty() to do the same thing. Here is my problem:
I have converted
Hi,
Is there a taglibrary available somewhere that includes
tags for Internationalization using the resource bundles
in the java.util package?
Julia
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hi,
Is there a way to pass the array from JSP to JavaScript??
If possible, can you please provide an example.
Thanks in advance.
regards, Tracy
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hi,
does someone know some examples / tutorial to do the digest access
authentication on apache?
I once did the http basic authentication on some resources on apache/tomcat.
it works fine. now I'd like to apply the digest access authentication to my
project. but... I could not find examples or
Does anyone know how to gauge the rate at which Sendmail can send emails?
I'm looking at writing a routine to iterate through a list of emails in a dB
and send a 1 page email to each. There are a *lot* of addresses in this
list and I am trying to figure out how quickly we'll be able to send
Yes. Type 1 drivers use the jdbc-odbc bridge and are not 100% Java. Type 4
Drivers are 100% Java (all access is coded completely in Java) so there are
no calls out of or into the Java VM and there is no need for for a bridge or
server in the middle.
Ellis
-Original Message-
From: Neal
JSP is server side, therefore it would not make any sense using swing
components with it.
Use Javascript for client side validation.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: sufi malak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
At 11.46 16/09/2000, you wrote:
Hi Fellows,
I have downloaded and installed the Apache Software. I also copied
Jakarta-Tomcat in the Apache directory. I wrote a Simple JSP Page. But
whenever I tried to load that Page, I didn't succeed. Will you please help
me.
Will you please guide me that
Hi List..
I want good articles and resources on Java vs Microsoft technologies ?.
I want the detailed comparison between both the technologies.
Where can I get it ?.
~ Karthick
===
To unsubscribe: mailto [EMAIL
I'm not really understand of how this cookie works.
I have this example and run it in a browser,
html
head
/head
body
%
adds a cookie
Cookie c = new Cookie("foo","foobar");
response.addCookie(c);
gets
Jennifer,
Don't forget the flush attribute. Currently, it's only
valid value is true, if my memory serves me right.
Try something like this:
jsp:include page="/workflow/header.jsp"
flush="true"/
Kachana
--- Jennifer Buffington
[EMAIL PROTECTED] wrote:
Any one having problems using iPlanet
Hi All
I try to write code that downloads file from jsp but always after I use
response.getOutputStream()
I get
IllegalStateException : 'OutputStream is already being used for this
request'
What can I do about it ?
Thanks for any suggestions.
Regards
Maciek
Hi
My Problem is as follows
I have a part of Code which should be excuted only for the first request,so
Iam having a flag called firstTime which i had declared at
%! boolean firsttime = false %
and in the tag % if(!firsttime) {
firsttime = true;
execute the
thanks a lot.
that solves my problem.
sunil roy
- Original Message -
From: "Martin Cooper" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 14, 2000 3:12 AM
Subject: Re: jsp tags ( useBean include)
Yes, it's the reference implementation for an old (and dare I say,
This is because once u have written something to the o/p stream in the
Servlet2, for displaying on the browser, then u cannot use forward anymore,
coz, the forward is for passing the control to the next servlet, which then
is supposed to write the o/p to the browser.U cannot write the o/p to the
if the declaration of a var. or an object is made in the Expression tag %!
.. % beforehand, then the same can be used thru out the page.
that solves your problem.
bye.
- Original Message -
From: "Jacek Laskowski" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 14,
we've tested apache jmeter and also the microsoft web application stress
tool (i cant remember the exact name). the microsoft tool allows you to
record activity scripts, so it can be a bit easier.
the problem with such tools, however, is that we haven't found a way to
simulate real user
Where is your web.xml file - we need to see this to see if you've mapped
your taglib correctly?
Kevin Jones
DevelopMentor
www.develop.com
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sajeev Anand
hi,
can someone tell me what class I can use to encode my passwords I store
in the database.
thanks
RAY
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets
Hi list,
I need your advise on this.
I want my users just need to do login 1 time on my website. And whenever
they enter again onto my website, they don't need
to do login anymore as long they're not logged out.
For this case, I was thinking of using cookie.
At the first time the user login, I
Does anyone know of any GUI tools besides Macromedia UltraDev that assist in
quickly developing simple Web forms and connecting them to a back-end
database?
Jack Copper
_
NeuralWare
230 E Main Street Ste 200
Carnegie PA 15106
USA
Voice: +1 (412) 278 6280 Ext 841
Fax: +1
declare the boolean value in a scriptlet tag (%.% and not inside a
declarative tag (%!...%).
That should solve your problem
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: Narayanaswamy, Kumaran (CTS) [EMAIL PROTECTED]
To: [EMAIL
You are correct on the GNUJSP. Currently, we are just using Apache/JServ
although the Java developers have incorporated Tomcat into their preferred
IDE for testing (Visual Age by IBM): All of the steps for doing this are
online. However, if you use Oracle JDeveloper you already have an IDE with
The following syntax can help u solve your problem.
Use this in your current JSP page (say one.jsp), in the current folder (say
JSPEX1), for forwarding to the other folder (say JSPEX2.). This syntax works
provided both the folders are in the same parent dir.
%@ forward
Because you declared your boolean inside %! % tags, its scope is the
servlet instance, not the request.
If you use % % tags, it will be a local variable, but then it's not
exactly clear how this should work. It will of course always be the first
time then.
Maybe you mean that the code should be
Hi
Is there any method to find whether a session has been expired?
with regards,
Kumaran
Cognizant Technology Solutions India Ltd,
1st Floor ,T.S.140 No 2 9,
C.P.T Road .Taramani
Chennai - 600 113.
Phone(0ff): 044 - 2354281/2354411 Extn: 4443
Hi Sajeev
Which book are you referring for this ,I need to start on this topic and
want
to know a ggod book on the same
Thanx in Advance
Sanjay
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sajeev
I have problem with specific czech characters when I use them in JSP
bean. When I write these characters using FileWriter print("specific
czech haracters here in this string") method to file on disk, the
characters in the result file would be replaced by qustion marks. I use
common windows-1250
This is a weekly informative posting to the jsp-interest list.
Before asking questions of a general nature, please check out the
resources available online to see if your question already has an
answer. The best place to start
Sajeev Anand wrote:
Sure, only that it involves the code, but this is only a Hello World
program.
My tag class: HelloTag.java
---
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class HelloTag extends TagSupport {
One
You shouldn't use %! % tags unless you have a specific reason.
vars declared inside %! % tags are servlet member variables, which means
that they are shared by all requests to the same JSP page. Not just in the
single request!
I think this is one of the most common mistakes.
Geert Van Damme
java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon
seFacade.java:157)
at
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
at
Hi
My Problem is as follows
I have a part of Code which should be excuted only for the first request,so
Iam having a flag called firstTime which i had declared at
%! boolean firsttime = false %
and in the tag % if(!firsttime) {
firsttime = true;
execute the
Hi
Is there any method to find whether a session has been expired?
with regards,
Kumaran
Cognizant Technology Solutions India Ltd,
1st Floor ,T.S.140 No 2 9,
C.P.T Toad .Taramani
Chennai - 600 113.
Phone(0ff): 044 - 2354281/2354411 Extn: 4443
JSPs compile to servlets, so the model is exactly the same,
Kevin Jones
DevelopMentor
www.develop.com
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Venu Gopal
Sent: 14 September 2000 00:54
To:
I'm not sure if I understood JSP reference correctly. If I create code
between % and %, are the objects available in another % % part, or
not?
Yes, they are. Just think about % % as a part of doGet/doPost method
and all HTML as several out.println statements.
I tried, but got a warning
OK I've just tried it on Tomcat and it works fine, so I'd say it should work
evverywhere.
I'd complain to the Resin guys,
Kevin Jones
DevelopMentor
www.develop.com
-Original Message-
From: A mailing list about Java Server Pages specification and
reference [mailto:[EMAIL
Hi,
I think I can explain forward and include using the following cases.
Let say there are 2 servlet A and B.
If A forwards request to B, the control will first go to A and then B. Servlet A
does not generate any output to the output stream. All output is generated by
Servlet B (including
If you are prepared to spend big bucks, Tidestone Technologies has the
FormulaOne product (http://www.tidestone.com/home/default.jsp). IBM also
has a free excelaccessor bean that you can learn about at
http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor. Good luck!
- Original Message
Julia Reynolds wrote:
Hi,
Is there a taglibrary available somewhere that includes
tags for Internationalization using the resource bundles
in the java.util package?
One option is the internationalization support in the Struts framework's tag
library http://jakarta.apache.org/struts. It
Anybody know where I can find the JSP page definition file for homesite?
---
Robert Nicholson
Email: [EMAIL PROTECTED]
AOL : rydmerlin
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some
Robert Nicholson wrote:
With struts the form beans capture all state relating to a form. Or at least
that's how I think it's designed.
Yes ... that was the original design intent behind form beans.
Now, I can see how this is appropriate when you want to redisplay the form
to the user
I just wanted to know whether JSP internally will be running
as a single process like Servlets and handles the other processes /
request comin in as threads? Or how do it run / handle
requests?
JSP's are compiled to servlets before they execute any web requests. They
run in their
own thread
Is there any ISP who provides IMAP Server Account.. I have come across and
IMAP Server Do anyone have any account for an IMAP Server..
Saravanan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hi,All,
I encounter a problem when using jsp:forward.
In my process.jsp page, after processing insert or update function,it will be
redirected to another jsp page named process_response.jsp which just displays
different confirmation message depending on the action the former page took.
But,
Hello all,
I am new to JSP. Can you suggest me any development tool which can be
useful for developing JSP? also I need some idea about the server which
supports JSP and can be useful for testing it? If free-ware then kindly
send the location of it. Waiting for earliest reply.
Alok
SilverStream 3.5 (www.silverstream.com) has an Jsp tool.
- Original Message -
From: Alok Kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 13, 2000 8:29 PM
Subject: Some Useful Tool
Hello all,
I am new to JSP. Can you suggest me any development tool which can
We have a jsp-based WAP service at http://directory.gov. Fair number of "HDML
loop" bugs still happen, but it works pretty well. Only tested with Nextel service
(which uses the phone.com gateway product, I believe.)
What's your URL? We can give it a check via WAPman (simulator that connects
Hi,
How can I ensure that when I press the Browser's back button,the data in
the textfields is cleared out in the JSP?
Thanks,
Raj
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share
Hi,
I am facing a forwarding problem.
I have to forward to another page,based on a return value from a method
called CheckLogin()
But when I try to do so, it does not recognize the variable returned.
How can I ensure that jsp:forward page="%=retVal%"/; is executed within
the if loop,so that it
Hi,
I have a few questions about forms.
1) Can I redisplay a form?That is when I enter values in textfields and
click the button,the methods should be executed after the button click,and
results should be displayed on the same JSP.
2)I am making an address book.So I am displaying search
%
String name = request.getParameter("loginname");
String Pwd = request.getParameter("password");
if (name!=null Pwd!=null)
{
String retVal= AuthenticateLogin.CheckLogin(name,Pwd);
out.println("retval is "+retVal);
%
jsp:forward page="%=retVal%"/;
%
}
%
Bharat
-
Considered resonate?
- Original Message -
From: "Lisa Lewis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 14, 2000 11:36 AM
Subject: load balancing/failover solutions
I would appreciate any advice on choosing a load balancing and more
importantly for us, a
You can approach the problem from the other direction.
If the session has expired then the current session will still be new.
%
boolean lb_test = session.isNew() ;
if (lb_test) out.print("we have a new session");
%
isNew
Returns "true" if a session object has been created but not accessed by
Hi guys,
Someone here said awhile ago that useBean and getAttribute is the same
thing. e.g. I setAttribute(someBean, "myBean") in a servlet, and then I
forward it to a JSP. Inside the JSP, I do getAttribute("myBean") and I can
get the someBean, but he mentioned that I can also get the someBean
nice to meet u, kumar
as for as my knoledge Forte from sun is best ide for java.
u can test jsp program there.
tomcat is best jsp engine. u can download it from
apache.org site
ok
bye
josh
On Sat, 16 Sep 2000 12:29:02 -0700 Loni Bharat Nagwani [EMAIL PROTECTED] wrote:
SilverStream 3.5
What is the appropriate way to validate a form using JSP? A normal,
validate the form input and explain which entries need to be changed if any
form. Should this be done within one JSP page, or should it be posted to a
second JSP page?
Thanks for all help.
Brian
I have been debating the best way to authenticate users on our web app. The
app is a Model 2 style servlet/jsp app with EJBs on the backend (AKA Java
Blueprints).
Our site has material that is graded for different levels of access. Our
security needs are as follows.
public access (Anonymous)
Where can I read about how things are stored in the session?
In particular is it a deep copy of the object? ie. recursively copies all
reference objects too?
ie. if I have an object reference that's stored in the session (the object I
assume) and I change some state.. If I ask for it out of the
THANKs
Thanks,
Misak Boulatian
===
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.html
We are in the process of starting a project using JSP and Servlets on the
Sun platform which will require a very granular level of security. For
example, we will have navigation bars, and access to portions of the web
based application driven by the security role a user will have.
Does anyone
62 matches
Mail list logo