Hi !
I would like to use the JSP forward tag to
transfer the request from for.jsp to for1.jsp when data is submitted from
f1.html
I have put the following piece of code in for.jsp
viz., at the top of the page
jsp:forward page="for1.jsp"/
But it does not forward to the for1.jsp page. Any
hello,everyone
i meet a problem in my program which include chinese characters in the jsp page:
1,variable "subType" is a string which i read from database represent some
chinese characters. i use "System.out.println(subType);" to print the string. it's
correct.
2,String
Hi Friends,
Can we generate graphs using JSP?
Lets say, I have 4 values: 10%, 30%, 55%, 5%. Can I get a Pie chart or Bar
chart using JSP?
TIA,
Sanjeev
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hello all
I am New to JSP, i have just downloaded JSDK1.0 from sun site
Now according to Configration file i Put tool.jar in Class path
But Now i am facing Problem : On clicking Startserver.bat it flash Dos
screen for fraction of seconds and server will not start
So how can i get rid of this
Hi Damian,
I can't answer how Craig does it, but I use a very similar approach and
that's how I do it:
My controller servlet reads its configuration from an XML file that,
among other things, has a portion like this:
SUFFIX VALUE="myapp" /
...
OPERATION
NAME = "ShowMenu"
It is not the style that bothers me rather what is
really the difference between using import and useBean, for example
useBeanwill instantiate the object, plus you have the ability to
giveit a scope and we shouldn't forget the get and setProperty.
The problem is, which is better import or
Can anyone explain me how to call a servlet from a JSP page.
The princip is:
JSP pageServlet
==
%
jsp code ...
%
Call the servlet --
use the include tag:
jsp:include page="/servlet/Test" flush=true
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Stéphan Benichou
Sent: Wednesday, February 02, 2000 12:01 PM
To: [EMAIL PROTECTED]
Subject:
I too followed the thread, some good ideas here - keep them "open" in
this forum and we can all use them :)
As we're back onto this, I've got a few questions below about
responsibilities and behaviour. It'd be good to get opinions of those
"at the coal face" who have written large jsp projects.
I am developing a threaded message board. Each message has an ID, a parentID
(if it is a reply) and a threadID. To display the children of the current
message (and their children, and so on), I have written the method below.
%! public void showChildren(int p_id, int level, ResultSet r, JspWriter
it is perfect
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
Hi,
What about dynamic generation of WBMP files! Is there any classes
available??
Regards,
Jens Andersen
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Bjorkman
Sent: 2. februar 2000 08:31
To:
Try the following:
Allaire Homesite Beta 4.51 (www.allaire.com)
-This is a good HTML editor with JSP tag coloring support
Pramati Studio (www.pramati.com)
-This is an enterprise Java environment which support JSP creation and
debugging. I've used the beta and it is really cool.
Hi Jari,
Well, I can't tell you I have written very big JSP projects, but I have
a couple of them working now (I can give the URL's but they are in
Catalan, not even Spanish, so...) and the last of them might get you
some answers. Comments are intermixed for clarity's sake.
Jari Worsley wrote:
Department: Genel Mdrlk/Bilgi lem
Hi,
I have a question about JSP invocation.
The following causes the client browser to call MyPage.jsp, am I right?
response.sendRedirect ("MyPage.jsp");
Is there a method for drectly calling the JSP page, I mean, on the server side,
without sending the
Bar charts are easy to generate as HTML tables. For example:
TABLE
TR
TD align=center
table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=3 WIDTH="100%"
tr
%
int red = p.getRedPercentage();
int yellow =
A couple of questions for the group:
1) Is it possible to access the HttpServletRequest object from within a
JavaBean in a JSP page without passing it in explicitly with a method
such as % bean.processRequest(request); %?
2) What is the best/cleanest way to gain access to the real path to a
Tristar Web has licensed the Jrun servlet engine from Allaire to support the
latest Servlet API from Sun.
http://www.tristarweb.com/
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP
See below for inserted comments.
Jari Worsley wrote:
I too followed the thread, some good ideas here - keep them "open" in
this forum and we can all use them :)
As we're back onto this, I've got a few questions below about
responsibilities and behaviour. It'd be good to get opinions of
All the previous answers about loading from properties files and using servlet
context are valid but I think you mean that you have _physically_ separated servers
which have physically separated servlet engines attached to them. It is a much
bigger problem in such a case. The servlet API does
Paul Medcraft wrote:
I am wary of using methods that call themselves, so I would like to know if
this approach is safe and if anyone can suggest a better way of doing this.
Recursive calls (methods that call themselves) are quite appropriate for an
application like this.
The only thing you
1. How do you use jsp:setProperty tag along with form
action=Model2Servlet?
class userInfoBean
{
String userName;
String userpassword;
// Get and set methods for userName and password.
//
..
}
I have a jsp page which accepts a userName and password.
jsp:useBean
David Mossakowski wrote:
All the previous answers about loading from properties files and using servlet
context are valid but I think you mean that you have _physically_ separated servers
which have physically separated servlet engines attached to them. It is a much
bigger problem in such a
Hi!
Does anyone know of a lisp package for handling jsp-files in Emacs ?
/Fredrik Lindskog
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
Jeff Aldrich wrote:
A couple of questions for the group:
1) Is it possible to access the HttpServletRequest object from within a
JavaBean in a JSP page without passing it in explicitly with a method
such as % bean.processRequest(request); %?
No. Servlets (and the servlets generated by
BASAR DALDAL wrote:
Department: Genel Müdürlük/Bilgi Ýþlem
Hi,
I have a question about JSP invocation.
The following causes the client browser to call MyPage.jsp, am I right?
response.sendRedirect ("MyPage.jsp");
Is there a method for dýrectly calling the JSP page, I mean, on the
Sreekumar Pillai wrote:
1. How do you use jsp:setProperty tag along with form
action=Model2Servlet?
class userInfoBean
{
String userName;
String userpassword;
// Get and set methods for userName and password.
//
..
}
I have a jsp page which accepts a userName and
My company would like to develop a JSP/Servlet based applications. All our developers
know JSP, Servlet, and JavaBeans well, but no one is very strong in the design of the
application architecture. Since there are no JSP-specific application architecture
books
available, we're looking for good
Hi all,
I tried to use bookmark in call of a jsp file.
Something like file.jsp#jump
Of course in html file generated by file.jps there is a bookmark named jump
a name="jump"jump/a
My problem is if I try to call this page from outisde Let's say an external
link a href = "file.jsp#jumpJUMP/a.
Hi all,
Sorry. I was wrong because I tried to call a frame and not the pae that
contains the bookmark.
Regards,
Mircea
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found
Running WebLogic4.5.1
Jdk 1.2.2
I create cookies on client using Cookie class. Before doing add, I
setDomain and I setMaxAge.
When I read the cookies in on a later page:
Cookie myCookies[] = request.getCookies();
if (myCookies != null)
{
for (int i=0; i myCookies.length; i++) {
Yes, but the jsp:useBean.. tag takes care of not creating a new instance of
the Bean if one already exists, whereas the Servlet method as described by
Craig below replaces the instance with a new one on each call. If other
properties are needed, this make a difference.
Brian
Sreekumar Pillai
Hi,
In Model2Servlet, I can definitely get the values from the request object or
write a method in UserInfoBean to process the request. But I want to use
jsp:setProperty tag to populate bean data with the form data.
I dont believe you can. Using Model 2, your form action goes to a servlet.
The
Hi Jason, see intermixed belw.
Jason Hunter wrote:
Jason says later...
The standard tag library will likely make this point moot.
Maybe. The taglib will be designed by committee. Watch out!
The tag library will be designed using the JCP process. That is the
same way we have
I am still interested in the answer to the question I originally posed,
but the answer is no longer important to me. Vague wording in WML
documentation led me to believe that the wml *source* was to be kept
below 1200 bytes in order that the compiled size be guaranteed less than
1400-some.
Damian Fauth wrote:
"Craig R. McClanahan" wrote:
The general organization of request processing in my apps goes like this:
[..]
What I normally do is use a single servlet per web application, and then map it to
a filename extension (I like ".go" because it implies motion). Now, if I
SoftLiban KEYROUZ Charbel wrote:
It is not the style that bothers me rather what is really the
difference between using import and useBean, for example useBean will
instantiate the object, plus you have the ability to give it a scope
and we shouldn't forget the get and setProperty.The
Be careful though using patterns (eg Singleton) that utilise class scope (ie statics)
in a servlet engine.
The class scope is exposed to everything in that instance of the JVM, whereas a single
JVM can host multiple web applications.
So, if you do end up wanting to host two different instances
"signoff JSP-INTEREST".
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
Hi,
Java has really boosted the interest in pattern modeling
techniques. I used to read the GOF book but I found that there are more
interesting distributed modeling patterns on the net. When I worked with RMI
I used to gather some patterns from the user subscription list.
Now
Brian Schaefer wrote:
Yes, but the jsp:useBean.. tag takes care of not creating a new instance of
the Bean if one already exists, whereas the Servlet method as described by
Craig below replaces the instance with a new one on each call. If other
properties are needed, this make a difference.
Hello,
HowcanI ensure exactly one entry
to my web application - through an 'authentication page' ?
What should I do to make other pages directly
inaccessible ?
Krzysztof Marcinowicz
42 matches
Mail list logo