Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to send information from one web page to another  RSS feed

 
Joseph yan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am very new to java programming. I am developing a web project using jsp.

I want to know how can i send information from one page to another for example i want to send user name and user ID from one page to another.

how to achieve this...any help very much appriciated.

Thanks in advance

Joseph
 
Oscar Costa
Ranch Hand
Posts: 31
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Josephyan,

Are you using only JSP? What about your project's server side? Servlets? Struts? POJO?

I suggest you read the Head First Servlets and JSP.

 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Several ways; you can either pass it as request parameters or store it in the session.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Josephyan khan wrote:
I am very new to java programming. I am developing a web project using jsp.


Only JSP's are not recommended, you need a better approach - the MVC architecture. We have a Journal article on this. Also there is a lot to start with in the FAQ section.
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oscar Costa wrote:Hi Josephyan,

Are you using only JSP? What about your project's server side? Servlets? Struts? POJO?

I suggest you read the Head First Servlets and JSP.



JSP is on the server side ...
Yes Head First Servlets and JSP is really a great book to start and end with ...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!