Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Form Submission and reading parameter

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi All,
I have a login jsp page, inside which I have two text fields, Login and Password and a button for submit. This is pretty simple and working.
On choose of Submit, I want to open a new JSP page (not servlet) (because of specific requirements that on choose of login button a new page should be opened and the current page would remain as is) which should be able to read the values entered inside that form.
Is there someway, I can read those entered values here ?
one way is to submit the form and setting its action to the same jsp page, but that wont/doesnt work.
Or, Is there a possibility that I can simply read those values , say using javascript but then how to pass them onto the next JSP page?
Or, Effectively what I want to do is pass the values of the form in JSP1 to a new JSP page JSP2 and read those from there (without "get" method).
TIA.
Regards,
Nilesh.
[ November 05, 2003: Message edited by: Nilesh Nadiyana ]
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Nilesh, it is considered a no-no to post the same question in multiple forums. I'm going to request that this topic be closed. Please continue any discussion here.
bear
 
    Bookmark Topic Watch Topic
  • New Topic