Hi all.
Currently I'm facing the problem of passing the request parameters
to the next form. When I use encrypt multipart/formdata in the form tag
the images are properly uploaded but the request parameters are not
passed to the next page by submitting the data.
Thank you in anticipation for sp
Hi, you can will have to use MutipartRequest in it. Oreilly provides a
customized class for it. If you want I can send you the class and doc for
implementing it.
- Original Message -
From: "Arun Prakash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 12:25 PM
Hi!
Thanks for all, who answered my question.
Mark - sorry, that I missed your earlier letter -
your servlet is a very interesting piece of code.
Thanks and regards!
Michal
===
To unsubscribe: mailto [EMAIL PROTECTED] with b
Yup i think u cannot get request.getParameter using multipart/formdata.
regards
arun
-Original Message-
From: Shuja Nawaz [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 30, 2000 1:13 PM
To: [EMAIL PROTECTED]
Subject: encrypt mulitpart/formdata problem.
Hi all.
Currently I'm facing the
Hi ,every one:
how can I download files over HTTP?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs
Hello,
I face a problem while using a bean in Iplanet4.1.
The exception i get is as following:
[29/Nov/2000:19:15:02] info ( 273): Internal Info: loading servlet
/testbean.jsp
[29/Nov/2000:19:15:08] failure ( 273): Internal error: exception thrown
from the servlet service function (uri=/testb
If memory serves (its been awhile since I've seen this one come up) make
sure that the desired filename is the very last thing in the url. The
browser will assume this is the filename to use for saving the file.
example: brainopolis.com/download.do/dynamicFile.txt
The save-as window should show
Hi there,
We have on our site the ability for users to select a document id and it
will return a file for them to save (and later reuse). The document is
created dynamically in memory on the server, and we set the contentType to
application which DOES pop up the "Save As" dialog box on the client
Hi all.
Currently I'm facing the problem of passing the request parameters
to the next form. When I use encrypt multipart/formdata in the form tag
the images are properly uploaded but the request parameters are not
passed to the next page by submitting the data.
Thank you in anticipation for spa
"Schreyer, Marcus" wrote:
>
> Hi folks,
> I am trying to access a Java Bean (located under the Web-inf/classes
> directory) from a JSP that is under a subdirectory of the context.
> Everything works fine, when this is done directly on the context level. But
> within a subdirectory the compiler is
Someone mentioned this same problem earlier this year. I posted a small
servlet that lets you do "sub-sessions" for a browser. It's a hack, but
the idea is that you embed a session ID in the path and have a servlet
filter the ID back out of the path and store it in the request.
Here's a link to t
Hi,
using javax.servlet.http.HttpSession, it has method call
: Returns the last time the client sent a request
associated with this session, as the number of milliseconds since midnight
January 1, 1970 GMT,
so I think if you could keep track on this detail,
you could know that : SessionId is sti
Your right..that is how I did it. More so..most application servers should
provide some sort of window in to the sessions that are in existence. I know
Orion does this..not sure about others.
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, No
Dean Sacramone wrote:
> 1. What class should you inherit from to create a servlet that handles the
> HTTP protocol?
>
Technically, it is the servlet container that actually "handles" the HTTP
protocol. However, your servlets will normally extend the
"javax.servlet.http.HttpServlet" base class.
"Duffey, Kevin" wrote:
> Not any more. Servlet 2.1 deprecated that ability. I don't know if Servlet
> 2.2 removed it..but due to security risks, they removed the ability
> (deprecated it) so that one session couldn't gain access to another.
It is still deprecated, but not removed so that binary
have you received any responses from this or an answer. I know perl and will
supply you with the answers you need. just let me know.
Thanks,
~~~
Dean Sacramone
[EMAIL PROTECTED]
Lead Programmer-->310-815-5091
~~~
"If there was any logic in this world, it w
This is working when both are on the same machine what about when the jsp is
running on a web tier and the ejb itself is deployed on different machine.
How do I connect my jsp with the ejb.
I've try using j2ee server but is not working.
Regards,
Mircea
- Original Message -
From: "Zaki Abu
Well, it is acceptable,
but it more or less defeats the reasons of using a StringBuffer in the first
place.
"One"+"two"+"three" creates 3 String objects and to concatenate them, in the
background, another StringBuffer is created. So what you're doing is
equivalent to
sb.append(new StringBuffer("on
1. What class should you inherit from to create a servlet that handles the
HTTP protocol?
Thanks,
~~~
Dean Sacramone
[EMAIL PROTECTED]
~~~
"If there was any logic in this world, it would be men who ride side-saddle,
not women."
--
- Original Message -
FYI:
I don't know if this is a related problem:
I am also having the same problem with a website I am working on (http://ww.butuan.ws).
The redirection doesn't work everytime with Netscape 6. I have to keep
refreshing until it actually redirects. It works fine with all other
browsers. Could
You might want to look at the deflater() method. I believe you should
read the file in and then extract it using this method.
Look at the API documentation:
http://java.sun.com/j2se/1.3/docs/api/index.html
http://java.sun.com/j2se/1.3/docs/api/java/util/zip/package-frame.html
--
Antonio W. Lagn
Is this style acceptable fro a StringBuffer class?
StringBuffer sb = new StringBuffer();
sb.append("one" + "two" + "three");
..
..
sb.append("four" + "five");
--
Antonio W. Lagnada
Ecommerce Consultant
[EMAIL PROTECTED]
This email address is specifically
for JSP-Interest email list.
Remove _NO
Not any more. Servlet 2.1 deprecated that ability. I don't know if Servlet
2.2 removed it..but due to security risks, they removed the ability
(deprecated it) so that one session couldn't gain access to another. Its too
bad because it would be nice to have the ability to search through all
active
What if you just put the information in the application object
instead? You could stick the data in an object and store it in the
application object using the session ID as the key. For best results,
create an object that implements HttpSessionBindingLIstener so it can
remove itself from the appli
Is possible to access an HttpSession with its ID from another session ?
I have an application and I need to pass some information from one
session to another. Then I send the sessionID to a JSP where I want to
get access to the two sessions, the created session and the session
associated with the
Thanks Javier Aguado
Sunil Roy
- Original Message -
From: "Javier Aguado" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 2:11 PM
Subject: Re: " UPLOAD of FILES " in JSP/SERVLETS
> but a good site for download a freeware bean is
>
> http://www.jspsmart.com/
>
If the servlet doesn't set the session time,when the user close the browser,the
session will automatically expired.But if the servlet set the session time say 30
minutes,and user close the brower only in 15 minutes,how to invalidate the
session?which method to invoke when the user close the brows
- The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
- Transcript of session follows -
... while talking to mail.hotmail.com.:
>>> RCPT To:<[EMAIL PROTECTED]>
<<< 550 Requested action not taken:user account inactive
550 <[EMAIL PROTECTED]>... User unkno
> I have a doubt on session, can any body tell me if it is necesary to
> invalidate a session when the user presses a button that have a the
> following javascript code: "javascript:window.top.close()", that closes
> the browser window?.
The session invalidates after time when the browser was
If the browser window is closed, the browser does not send the session
cookie.
but the session objects would still be in the server until the session times
out.
So it is good to invalidate the session.
So it is better to redirect the user to a logout servlet or jsp which
invalidates the session a
there's no need to invalidate the session, since it'll disappear from the
server after a time. However, if you would need doing it, it could can be
done with client (i.e.:JavaScript) code, since it resides in the server.
Only server java code inside a jsp can do it.
-Mensaje original-
hi,
i am getting some info from a database. i put all the info into a
drop-down listbox. i mean in my main.jsp i have done this. so if i
press some of the info in the list box and i apply a submit button i
will be send to the same page but it will show some info as before and
some info get
hi varun
does this method Request.ServerVariables("content_length") gives nonzero
output
bharat.
- Original Message -
From: Varun <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 10:12 AM
Subject: how to get the Content Length
> hi
> i wanted to know the eq
An ArrayList object is basically a object in java. And it is perfectly
possible to store objects in sessions. A look at the HttpSession Api Doc
would confirm that point.
Maybe you are working on The Java Servlet 2.1 specification which uses
setValue() instead of setAttribute() method.
Have a nice
Hello all,
I have a doubt on session, can any body tell me if it is necesary to
invalidate a session when the user presses a button that have a the
following javascript code: "javascript:window.top.close()", that closes
the browser window?.
If I have to invalidate the session, how can i do it
Asking questions related to JSP is ok. something like why the .js file is
not
loaded from a servlet or printing images from a servlet etc. Comparing
technologies
like asp with jsp etc is also fine. But it should not go down to the nuts
and bolts of the other technology like which operator, which c
Hi folks,
I am trying to access a Java Bean (located under the Web-inf/classes
directory) from a JSP that is under a subdirectory of the context.
Everything works fine, when this is done directly on the context level. But
within a subdirectory the compiler is not able to compile the generated
serv
Hi, again!
Thanks, I found a solution. Please, ignore my previous mail.
Brank
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
Just incase anyone was interested in what the problem was for future
reference - I thought it was a problem with port 80 conflicts which is why I
uuninstalled IIS, but this did not help and I then realised the address that
was conflicting was not port 80 or 8007, but port 8080 which I did not
real
Wouldn't it be fun if everyone had your attitude, and the list was further
polluted with questions about COBOL, JCL, Assembler, etc? It's not the
effect of hitting 'delete' once for YOUR message, it's having to do it
repeatedly all day while reading messages and filtering out non-relevant
informat
Hi, all!
I wrote a test page, where I use bean TB with propertie "val" (String).
I would like to pass String ValueA to that bean on following way, but I
got error message "Syntax error in JSP tag. No quote after name".
Culd someone, please, tell me, how to pass value ValueA to bean?
<%
Hi Subu,
the synatx for session time increase is, you have specify the time in seconds.
session.setMaxInactiveInterval(4000) .
Murali.
subramanian Athimoolam wrote:
> kk
>
> Thanks for your reply. tell me the full syntax... i tried
>
> < httpsession setMaxIedealTime(121212); > (i thng syntex
Hi Santosh,
In similar situations I generally run sorts at the client - it requires no
additional server requests, and you don't overload the server with sort
jobs.
Create a JavaScript object to hold a single row in your table, then store
the objects in an Array. You'll need a compare function
The notorious "doesn't work" problem is usually accompanied
by error messages, stack traces in the browser or logs, or other
epiphenomenona. Anything like that in your case that might
help debug this?
Scott Stirling
-Original Message-
From: A mailing list about Java Server Pages specifi
I appologize to the 4500+ people that I caused undue effort in hitting their delete
button.
As for PERL questions getting me banned from the list, I wonder, aren't we all in the
same industry here? Lets face it, all languages have different addvantages and
disadvantages, that's why there are so m
Hi Anthony,
In Http Session you have to use the isNew() method for test the new session. I hope
it should help you..
Regards,
Murali.
Anthony Mak wrote:
> If I use URL Rewriting, it seems session.isNew() do not work anymore. How
> can I test whether a session is new in this case?
>
> Anthony Ma
the -e means you can enter one or more lines of script. If -e is used then
Perl will not look for a script filename.
Aaron
-Original Message-
From: Daniel Lynn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 5:12 AM
To: [EMAIL PROTECTED]
Subject: a little offtopic
OK,
- Original Message -
> Hi!
> I'm not sure if I understood you correctly about that counter, but the
> problem is that
...
> sequential type, it matters for me which response was sent to which of
> instances.
I don't have an exact idea of how to do that. You can try to get some
ses
Have a Form Mail function in JSP and its running under Allair Jrun.
When I'm trying to get it working under Websphere/iPlanet It doesn't work..
I use this "demo code"..
<%@ page import="javax.servlet.http.HttpUtils" %>
<%@ page import="java.util.*" %>
<%@ page import = "java.sql.*" %>
<%@ page imp
Hi!
I'm not sure if I understood you correctly about that counter, but the
problem is that
when I open a browser and then I choose File->New Window, I get two
browsers, that
have two identical session ids. (This situation does not exist, when I
open new browser
by running it from command line or a
Hello
If you have a common starting page, you could store the session ID in a bean
and then the bean should give back a counter of that session... This could
be a starting idea
Bye
Robuschi Roberto Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932474 Fax 0521/9
I'm just a beginer in JSP, and I never in circumstance like that,
but when using Servlet, I see that each session has an seperate Id even for
several instances.
I heard that Jsp could mix with Servlet,
So give it a try !
Regards.
-Original Message-
From: Micha³ Trojanowski [mailto:[EMAIL
I found a good tool at OpenSTA. It is open source and free. Has anyone used
this ?
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ivan Kougaenko
Sent: Wednesday, November 29, 2000 12:18 AM
To: [EMAIL PROTE
hi.
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 11:45 AM
Subject: Re: can i store an ArrayList in Session?
> Nguyen Van Tuan wrote:
>
> > I think you can't do that because session in JSP
> > use cookie to
> Hi,
>
> We are trying to use tag libraries (XML) from within JSP to call EJB's.
> The code in the attached files all reads quite sensibly but doesn't work
> under JDeveloper 3.1, (Oracle V8.1.6 NT V4).
>
> I've searched thru the archives but couldn't find any notes on how to set
> up JDeveloper
why don't you use the "order by" clause.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Salian, Santosh (GXS,
TCS)
Sent: Wednesday, November 29, 2000 12:25 AM
To: [EMAIL PROTECTED]
Subject: Sorting a Table
56 matches
Mail list logo