wood burning stoves 2.0*
The moose likes JSP and the fly likes jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp" Watch "jsp" New topic
Author

jsp

dikshith ac
Greenhorn

Joined: Nov 23, 2007
Posts: 1
how to get parameter from html using jsp?
Pranav Pal
Ranch Hand

Joined: Nov 04, 2007
Posts: 74
Implicit request/application/pageContext object is provided by the Container in all the JSPs.
You can use that object to get request/context-init/jsp-init parameters
like:
request.getParameter(aString) etc.

Please go through a good book on Servlets & JSP for more deatails on paraneters and attributes


Hakuna Matata!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"dikshith ac",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
liu fei
Greenhorn

Joined: Nov 28, 2007
Posts: 5
And you can use "session.getAttribute(aKey)" as well
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Originally posted by liuliu feifei:
And you can use "session.getAttribute(aKey)" as well

No that is not correct. Session attributes have nothing to do with request parameters.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
liu fei
Greenhorn

Joined: Nov 28, 2007
Posts: 5
Oh,sorry...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp
 
Similar Threads
WA #1.....word association
Struts: No getter method for property name problem
creating a pop up calendar within a form
what is defalut value of Custom tag body-content
pop up page