Hello all,
I'm building a Web application based on the Model 2 architecture advocated
by folks like Craig. I'm wondering how you guys handle requests for JSP
pages where no previous action was executed. Are these requests also directed
to the controller servlet or do you let the JSP pages handle
Hi Matthew -- at java.sun.com/j2ee there is a good example of an entire site
going through a single entry point (main.jsp). It's called the pet store
demo.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf
Julian,
I can answer one of the questions you pose
The language and country values are, as noted in the APM, supposed to follow
the resource bundle naming pattern. Resource
bundles use the 2 character ISO language and country codes.
I am curious myself to find out how to indicate to the
Try after restarting the server.
Ashwani
--
From: Corbin Hoenes
Reply To: Corbin Hoenes
Sent: Tuesday, February 22, 2000 11:51 PM
To: [EMAIL PROTECTED]
Subject: Killing Beans from memory
I have run into a development problem I make a modification to my
Try using other functions like getInputStream, or getObject.This may help
I dont know about this restriction.
Also try getString method by changing the contents of the column.May be
that column has some character after which string gets truncated.
Ashwani
--
From: B
Are you always calling the servlet to pick up the data from the database and
show it on the form ?
Ashwani
--
From: Naresh Singh Chhonker
Reply To: [EMAIL PROTECTED]
Sent: Wednesday, February 23, 2000 2:30 PM
To: [EMAIL PROTECTED]
Subject: refreshing
You can use HTTP meta tag pragma cache control for that. But it doesnt work
100% correctly. For that u have to use some logic like when ever u call that
page pass one query string variable with a value of unique Number.
Regds
Ashwani
--
From: [EMAIL PROTECTED]
Sent:
Hi,
I gettin' the followin' error message when i'm tryin' to call a jsp
from my Servlet..
com.sun.web.core.RequestDispatcherImpl@f3535d53 (for each request, the
Number has been changing.)
can some one advice what mistake in my program is causin' this error?
here is the snip of the program
How would I specify some code to be executed when closing a session, for
example, if I want to close a database connection that I opened when the
session started?
In other words, how can I write code in a way similar to how global.asa
works in ASP? global.jsa seems only to be available in jrun,
hello,
sorry for the slightly off topic post, but i felt this was the best group to
ask...
we are looking at developing a portal at our company and i'm having some
difficulties choosing between building the thing ourselves with J2EE and an
off the shelf app server or buying something like the
try this:
getServletConfig().getServletContext().getRequestDispatcher("myfile.jsp").fo
rward(request, response);
*
I gettin' the followin' error message when i'm tryin' to call a jsp
from my Servlet..
Try using a shared variable (say, a vector, hashtable or a map) instead of
doing a DB read every time.
- Original Message -
From: "Naresh Singh Chhonker" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 24, 2000 6:34 AM
Subject: help needed
hai
I am having a
Hi all!
When i write a JSP there are some
operation that i want execute
only the first time (when the page
is compiled in a servlet).
In a servlet i can do this putting
the operations in the "init" method.
I would know how obtain the
same thing (execute some operation only
when i call the jsp
I am trying to load an xml packet off a local directory and display it in a
jsp template... to no avail... could someone lok at this code and let me
know why it displays nothing ? when i do a string.length() i get 3451 so I
know it is reading the stream... I just cant output it in JSP.
thanks,
Yes , I meant that only. passing a random no wont give any problem. For
Netscape I dont know much. I have not tried my jsps on them. Also I am using
the get method not post. because the data I am passing is not much.And post
method doesnt work properly with my jsps.
The another alernative is to
I don't believe you would make requests on the controller for generating
degenerate views (views with no parameters). In general, the views handle
themselves without interactions on the controller, unless the user is
affecting the data in the model. Remember that the controller's role in MVC
is
I am getting an error ie Error:500 on the jsp page
"Attempt to clear a buffer that's already been flushed "
Can anybody Pls explain the message
Visit http://www.niit.com for eCommerce Solutions.
===
To unsubscribe: mailto
Hi all!
Can somebody please tell me what is meant by
%@ page isThreadSafe="false" %
i did'nt understand the isThreadSafe property.
thnx
varun
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Hi room,
I am doing something like this .Trying to call a method in a
java class from javascript.It returns a string .But how does javascript
handle it.Can it handle a parameter returned from the java method.Can it
store it in a variable.
source code
html
head
script
var strMon;
Hi all!
When i write a JSP there are some
operation that i want execute
only the first time (when the page
is compiled in a servlet).
In a servlet i can do this putting
the operations in the "init" method.
I would know how obtain the
same thing (execute some operation only
when i call the jsp
Hello All,
On our site we want the user to customized the home page as per their
requirement, Can any one guide me as how to go about it, Do i have to write
client side cookies or server side cookie to track the info of user who visited
the site.
Please Guide,
Any help will be
How would I specify some code to be executed when closing a session, for
example, if I want to close a database connection that I opened when the
session started?
In other words, how can I write code in a way similar to how global.asa
works in ASP? global.jsa seems only to be available in jrun,
Hello, How can i use thr secure Socket Layer protocol in my jsp
application.
I actually use the class HttpServlet, is there a similar class to SSL?
It is very important for me
thank you very much.
===
To unsubscribe:
Craig,
Sorry, I 'm *not* guessing but trying to help you and this group as
much a possible. The syntax works in my application (WAS 2). You can use
*file* or *virtual*. See excerpt from specs :
""
Most commands take only one tag at a time.
No spaces are allowed between the -- and
24 matches
Mail list logo