JSP Section Index | Page 3
Can someone please give me a very simple but comprehensive description of using the Tag Extra Info classes for Tag Handlers?
As a brief description we can say that javax.servlet.jsp.tagext.TagExtraInfo it's a very handy class that allows a Tag to provide scripting variables that can be used outside the tag class and ins...more
How should I model parameter passing in JSP and the relationship between JSP and JavaBeans using UML?
Parameters
There are two principal ways to model parameters
being passed from a HTML source on the client to a <<server page>>
on the server. The first is to put them in a tag value,...more
Where can I learn (more) about Java's reusable software components, JavaBeans?
Check out the
jGuru JavaBeans FAQ.
Where can I learn (more) about Java's suport for internationalization (I18N)?
Check out the jGuru I18N FAQ.
Where can I learn (more) about Application Servers?
Check out the jGuru AppServer
FAQ.
How can I avoid making multiple HTTP calls for content that hasn't changed? Is it possible to cache it? Is there a way to set this in the header?
This can be achieved by using a filter. You can setup the filter in your web.xml to intercept the response and edit the HTTP headers for the specified content type. An example filter...more
What is the difference between HttpSession mySession=request.getSession(true) and HttpSession mySession=request.getSession()
What is the difference between
HttpSession mySession=request.getSession(true)
and
HttpSession mySession=request.getSession()
How do I import my own java packages and classes for use in JSP pages? In what directory should they reside? How do I put them on the CLASSPATH?
How do I import my own java packages and classes for use in JSP pages? In what directory should they reside? How do I put them on the CLASSPATH?
What is the difference between request.getParameter() and request.getAttribute() ?
What is the difference between request.getParameter() and request.getAttribute() ?
What is the JSP equivalent to header("Location: login.php"); in PHP? I want to open a new page in the same window.
What is the JSP equivalent to header("Location: login.php"); in PHP? I want to open a new page in the same window.
How can I display different currencies in my JSP pages according to the location of the client.
How can I display different currencies in my JSP pages according to the location of the client.
In an MVC architecture how can I pass a bean to my JSP page from my controller?
In an MVC architecture how can I pass a bean to my JSP page from my controller?
Where can I get an open source implementation for a JSP-based shopping Cart (something on the lines of www.opencart.com)?
Have a look at JspCart developed by NeuroSpeech, it runs on Java 1.4, Tomcat 4.1.27 and MySQL 3.23a.
How can I implement the MVC design pattern using JSP?
The MVC (Model View Controller) design pattern is a pattern/architecture that can be used by GUI's. It seperates the application's data, user interface and control logic into three separate entit...more
Retrieving values from HTML form input elements in JSP.
To retrieve any value from an HTML Form element on a jsp page you need to use the implicit HttpServletRequest object's getParameter(String s) method. The HttpServletRequest object is available to...more