Sunil,
Here's the code for uploading files
//Example
//c:\projects\java HTTPPostClient c:\adm2fp\SS00_2000_08_10_01.xml
import java.net.*;
import java.io.*;
public class HTTPPostClient
{
/*
* usage
*--
Yes, it's possible.
But You have to add flush="true" (mandatory in JSP1.1) :
> Hi all!
>
> How do i to put a <%= expression %> in the page value?
>
>
> <%String file = "file.jsp"%>
>
>
> is posible to do it?
>
> the error is in winNT + jswdk1.0.1:
>
> com.sun.jsp.JspException: Invalid jsp:inc
Hi there, I've got a few books of late particularly from WROX and whilst
they have good content they aren't all that useful as they weigh so much and
take up so much space. In a couple of weeks I'm going to Thailand for a
couple of months and I think I'm going to take the Quick start visual guides
please provide more info
send us the exact useBean - Tag in your jsp-source
Greetings
md
--
Sent through GMX FreeMail - http://www.gmx.net
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For
Dario Andrade wrote:
> Can anyone recommend me of a good Java programming mailing list, I dont
> want to clutter the list with non related JSP questions...
>
> The question is: How can I understand a little bit more about charsets? I
> seem to be confused about how it converts characters
Put this for the "open window" function. The names are arbitrary, but I like
medievel names.
put the focus in a setTimeOut cause microsoft will not work otherwise
assuming the popup is
more than just text (graphics) etcat least I have found.buggy
function launchstatement() {
Peter Pilgrim wrote:
> [...]
> I hope Jason does into the philosophies in detail. Mind you there is JSP book
> coming out from O'Reilly, any one seen that book and whether it discuss the issue
> of frameworks and MVC in general. [...]
I've seen it; actually, I wrote it ;-)
I cover the MVC model,
Hi all,
Sorry for writting this off topic mail, How can I know when a user has
pressed the enter key, which is the name of the event in javascript?.
Also, is there a way with javascript, to generate a child window from
another, and that this child window appears centered on the monitor, for
wich
Hi everyone,
Sorry for the off topic. Today I try to learn JavaBeans. I downloaded
jdk1.2.2 and bdk1.1. Then I follow the readme file on bdk1.1 to try to hook
the juggler bean and two ourButton beans. I followed the instructions
exactly as follow:
1. Start the BeanBox.
2. Drop a Juggler Bea
Hello,
I have a servlet that receives a logout information from a jsp, invalidates
it and invokes a logout (a jsp) page. The logout page just displays
"successfully logged out" message. After some time it needs to invoke a
start page, say index.html. Now if I include the forwarding info in tag of
Dear JSp Gurus,
Is their any site giving the sourcecode for
" UPLOAD of FILES " in JSP/SERVLETS."
Thanks in anticipation
Bye
Sunil Roy
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For di
Dear Jsp Gurus,
I am having the following problem while trying to call a jsp file from
within itself,
repeatedly.
The flow of the program is as follows:
I am forwarding some Attributes including a double dimension array ( of
image nos. &
their descriptions ) from a servlet " ConnectionPoolSe
Hi all,
I want to know this.
When I am calling a Bean for the first time. That is at the time of loading
the Bean I want to fire some method.
I will use that method's return values in my get, set Methods.
That is like this.
class Bean
{
String Filename;
Hashtable ht;
Well, a 600Mhz celeron is definitely workable. I recall when I first got on
the internet the ISP I was with way back then had a P133 with 32MB of ram
running, handling 5000 users to their web server. Maybe not all at once..but
it was pretty impressive compared to today's requirements.
Here is wha
Hi all,
I need to store some values in the request object from a servlet.
Do I need a custom Request object, any ideas of how to do that ?
Thanks in advance,
Pablo.-
===
To unsubscribe: mailto [EMAIL
--
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's Java Servlet API
Tec
Guys & Dolls
Can JSP help me with a spec rquirement?
I have a HTML Screen with two pulldowns ...
Let's call the first one "country" and fill with { united kindom, france }
Let's call the second one "city" and fill with either
{ london, manchester, glasgow, cardiff, belfast } or
{ paris, nice, ly
Can anyone recommend me of a good Java programming mailing list, I dont
want to clutter the list with non related JSP questions...
The question is: How can I understand a little bit more about charsets? I
seem to be confused about how it converts characters to numerical values.
char
I have a requirement to send a web page that I've generated w/ JSP as an
email message. I've done some looking and it appears that I can send the
html and embedded GIF's as a mulitpart mime message. I can't find detailed
information on how exactly this is accomplished. Has anyone done this? An
The sdk is free and is available at microsoft's web site. You'll have to
search for it there.
The only way you can get rid of the deprecated API warning message is by not
using those API's
Irfan
-Original Message-
From: Maureen Chandra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Novembe
I solved my problem.
Tomcat Session do not seem to quite work across JSP and Servlets.
When I start with "/servlet/LocationServlet" and it works
because if the session is new then it is created as usual
because the model Java bean is add to session.
When I start the app with "/locationview.jsp"
Dion,
The code you posted contains the following:
session.setAttribute("helloses", "hi session");
out.println("helloses prints = " +
(String)request.getAttribute("helloses"));
You are setting the attribute in the *session* and trying to retrieve it
from the *request*. That is obviously not goin
Hi all!
How do i to put a <%= expression %> in the page value?
<%String file = "file.jsp"%>
is posible to do it?
the error is in winNT + jswdk1.0.1:
com.sun.jsp.JspException: Invalid jsp:include tag
at
com.sun.jsp.compiler.IncludeGenerator.(IncludeGenerator.java:42
)
at
com.
I just downloaded it recently.
I have not figured out how to debug JSP in FOJ. Can
you set breakpoints or check variables? Does
someone has an answer for this?
(Sorry if this is a little off-topic)
Thanks,
Sanh
-Original Message-
From: Petr Jiricka [mailto:[EMAIL PROTECTED]]
Sent: Monday,
hi
i'm new to jsp. i've tried running a simple jsp file that calls a bean
using
but everytime i get 500 internal server error. can anyone tell mewhy and
also i have tried putting my beans in a package and inside
serverclasses. but still it gives the same error
help me
thanks in advance
gun
Hello all,
I noticed that some jsp application use 2 (or more) different
approach when executing some of the business process :
one by using httpservletrequest, httpservletsession,
another by using setItem then call the javabean's method via JSP
(please see code below).
my ques
hi,
i am just a shitty developer
if you have :
- html under /html
- jsp under /jsp
- servlet under /blood
if you want to access a jsp from /html directory you just have to put
/jsp/yourfile.jsp
this should work
br
marco
> -Original Message-
> From: EXT Breskovac Mario [
Ana,
I'm using the twz driver (free for private and educational use). I'm
not sure if it's considered to be 'good' or not, but it does the job.
Check out http://www.mysql.com/downloads/api-jdbc.html
/Charlotte
On 13 Nov 2000, at 17:04, John Thomas wrote:
> Hi,
> The commonly used drivers f
I am trying to write a mini test MVC with JSP as a test with Tomcat 3.2B
I wrote two classes :
/ROOT/WEB-INF/classes/LocationModel
/ROOT/WEB-INF/classes/LocationController
I am creating a session object in both the JSP and the Servlet with
public class LocationController extends HttpS
I feel that the jsps have to be put under the document root and then
call the jsp with the relative path something like /jsp/yourjsp.jsp
where jsp is a directory under default document root which has to be
specified in the properties file of the webserver.Then probably you can
get rid of the the
Hi Room,
the earlier mail did not give me a reply.Sending it for second
time.
I have a problem which goes like this.
I have a file which is parsed and broken up into two parts.
The parts are to be processed separately and these parts have two
different jsps which are the final pages
Hi
I saw some website there hash the session id become
"@112312.1212312@", anyone know what the algorithm behind it? What
the problem if I don't hash the session id?
If you can show me the code that is more appreciate.
Thanks
Regards,
Louis
o¤°`°¤o,¸¸¸,o¤°`°¤o,¸¸><¸,o¤°`°¤o,¸¸,o
hii
u can visit this site:
www.coolservlets.com
here u can find a email package with source code which will certainly give u
some idea of how to go abt it. if u want more information on this matter,
please mail me at :[EMAIL PROTECTED]
bye
sudhakar
>From: Bhuvaneswari Palanivel <[EMAIL PRO
Hello, gurus,
I have diferent paths for JSP pages, HTML documents and servlets under one
server.
Problem is that I can't refer to JSP page from servlet or HTML page from JSP
without specifying server name (http://servername/servlet,...).
When I use http://servername/someapp everything is working
Hi,
In my experience it's as easy as generating a list of all JSP pages (eg.
with find command on Unix); dumping it to a file; running a simple Java app
that calls requests all pages on your server -- going by the generated
list. It worked in our case and it's super portable -- no special compiler
From: Phil Hedley@MITEL on 11/17/2000 11:16 AM GMT
The directive is misleading as these are not true Java beans, they
can be regular Java class objects. The JavaBean structure only needs to be
applied when using the set/get property directive.
The following is valid where MyObject is NOT a Java
Well the first chapter of Field or Klob "Web Development with JSP" Manning
suggests this approach.
Separate presentation from the business logic by using custom tags and
Java Beans. Your beans will carry the business logic and the custom tags will
generate the HTML representation your presentatio
Hi,
I have a quick question:-
I have a browser window which is running in SSL with 128 bit encryption. If
I look at the properties of this window there is a heading Connection and it
describes the SSL Encryption.
>From the browser window I have a continue type button which pops up a new
window.
Sorry for the irrelevant question but is there a tool or web service that finds the
none secure
items in a web page (for developer use)? I just want to get rid of this annoying pop
up...
Thanks
===
To unsubscribe: mailto [E
Bhuvaneswari Palanivel wrote:
> Hi,
>
> How can i send a mail with HTML document as an attachment using java mail
> API? if possible, please give me the sample code for that?
>
> Thanks,
>
> Bhuvana
>
> ===
> To unsubscribe:
Hello Martin,
that's what i'm trying to find out, please see again :)
using session doesn't work, but using request work.
thx anyway :)
Friday, November 17, 2000, 12:52:46 PM, Martin Cooper wrote:
MC> It might help if you try to get the "helloses" attribute from the session
MC> rather than the
Hi There
Basially speaking there is no difference between Servlets and JSP atleast
from the processing point of view.JSPs get compiled to servlets n so on n so
forth
When you need to include more processing like a login page do it in a
servlet
There is no hard n fast rule, depends on ur needs
If u
Hi,
this my jsp where I using storesd procedure ps_selectPerson
Can you tell me how to use prepareCall method?
Thanks for help
Martin
<%@ page isErrorPage="true" %>
<%@ page import="java.sql.*;" %>
<%@ page import="Cannes.Tools.connexionPool.*;" %>
<%!
Connexion cx;
Connection con;
Callable
A celeron 600 is no problem.
I agree with Adrian: Put 256MB RAM in it.
Don't use Tomcat.
Why use weblogic?
seriously reconsider your transition to use EJB's. Is it really necessary,
or is it just fancy?
How much load are you expecting?
What exactly will you be doing?
What webserver do you plan to
This is clearly enough to run weblogic. It will work. I have it on a 550
celeron with 64mb ram, and win98 (off course, not nt). And page generation
will be reasonably long.
But you won't be able to developp on this machine, because in this
configuration (win 98, weblogic server + console, pws, acc
We should use ByteInputStream to read the uploaded file content.
The problem could be with the FileInputStream to read the file content from
the request object.
- Original Message -
From: [Your Full Name] <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 17, 2000 6:53 AM
*phew* if you're REALLY REALLY patient i suppose it'd suffice; but if i were
you, i'd sacrifice speed & fill it wirh ram; 128 min if you're going to run
nt. 192 or 256 would give you a lot more performance though; especially if
you're going to run a DB on it too. before you purchase any computer,
Hi Friends,
For my practice I want to get a laptop and I am getting in my budget a 600 MHz celeron
with 64 Mb RAM. Ab initio I just want to run Tomcat and later perhaps weblogic server
to move onto ejb. Obviously NT would be needed to run on it.I want to know would
the given config suffice for me
Hi,
sorry, but HTTP is a stateless Protocoll. after a client-request is
answered by a server, the transaction is finished.
if the user logs in and forgets to log out, u can do nothing about it, but
wait for timeout.
Greetings
md
--
Sent through GMX FreeMail - http://www.gmx.net
===
Hi,
The best thing i find to upload a file is jspSmartUpload .
It works very fine for text/binary files (multiple or not).
You can find more info in their web site : http://www.jspsmart.com/
Emmanuel Desigaud
===
To unsubs
hi
i don't things so ,much more different between Discussion Forum
and message board. so please go to our's website schoolnetindia.com.you got
some idea about Discussion Forum [i am using JSP only]. so similar way you
can develop your message board also.
hope you got some idea!!! all
Hello..
This is more of a Servlet question I guess but I'm wondering if there is
any way to get notified as soon as the user disconnects a connection.
I know about having an object implement the HttpSessionBindingListener
interface but that doesn't notify me until the session times out... I
can
I noticed that this could be the problem:
---You have---
BufferedOutputStream(new FileOutputStream("/work/filename" )));
---Should be---
BufferedOutputStream(new FileOutputStream("//work//filename" )));
Greetings,
Ivo
-
Dear all:
I want to upload one fil
53 matches
Mail list logo