0
Reply

problem with form submit using post method

vinayak shukre

vinayak shukre

Jul 16 2009 7:08 AM
4.6k
Hello,
            I am completely new to use of share point portal server. I want to create a small website. So I click on site actions ->create -> select Web Part Page -> Give some name ->choose layout. This shows me 2-3 "Add Web Part"  link bars....when clicked on it, it shows me a pop-up, I select "Page Viewer Web Part" there and click on Add...in the added web part I set the URL of one my JSP ( not asp) which is served from the tomcat running on some another machine (say 1.jsp) ...In 1.JSP,  ( as I know little bit of Java and HTML ) I have created a simple form which is submitted to another 2.JSP in my tomcat with POST method. If I give action of the form as "2.jsp?city=newyork" and click on submit, in 2.jsp I get all request parameters. There I get value of city  parameter properly ( which is given in URL ) but all other request parameter from that form are found to be null.

          My 2 questions.
1.  Is this the right way to create UI in share point portal ?
2.  Why do request parameter do not come on target page ? Has anybody seen this kind of problem.

Sorry if my question is too stupid.
Thanks.