•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 397,771 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,520 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 2955 | Replies: 1
![]() |
| |
•
•
Join Date: Feb 2005
Posts: 11
Reputation:
Rep Power: 4
Solved Threads: 0
hi guys
found anotehr probem with my code, i have created a wml page which users input a search criteria, this is then apssed onto a jsp page which prints the value
in teh jsp page though it doesnt print the parametr value and prints out null
code is:
<b><big> Subject:</big></b>
<br/>
<input type ="text" name="srch" height="20" format="*X,*x"/>
<do type="accept" label="Search">
<go href="http://localhost:8080/srch2.jsp" method="post">
<postfield name="Subject" value="$srch"/>
JSP:
<card id="srch" title="Search">
<p>
<%
String Search;
Search=(String)request.getParameter("srch");
out.println("<br/>Search is"+Search);
%>
</p>
</card>
please could anyone tell me what is wrong
PLease thank you
found anotehr probem with my code, i have created a wml page which users input a search criteria, this is then apssed onto a jsp page which prints the value
in teh jsp page though it doesnt print the parametr value and prints out null
code is:
<b><big> Subject:</big></b>
<br/>
<input type ="text" name="srch" height="20" format="*X,*x"/>
<do type="accept" label="Search">
<go href="http://localhost:8080/srch2.jsp" method="post">
<postfield name="Subject" value="$srch"/>
JSP:
<card id="srch" title="Search">
<p>
<%
String Search;
Search=(String)request.getParameter("srch");
out.println("<br/>Search is"+Search);
%>
</p>
</card>
please could anyone tell me what is wrong
PLease thank you
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
- how to read data from database page by page, please it is urgent... (JSP)
- Parameter in JSP?? (JSP)
- One more function (C++)
- just a quick question (C++)
- Accessing functions from base class (C)
Other Threads in the JSP Forum
- Previous Thread: is a variable set?
- Next Thread: JSP connection to database


Hybrid Mode