field « Form « JSP-Servlet Q&A





1. Cross Site Scripting - Hidden Form Fields    stackoverflow.com

My application is being penetration tested. One of the XSS items being flagged is that Im using a hidden form field to store a record id in a browser/search screen then using ...

2. JSP: some form fields are stable and others are not!    stackoverflow.com

I want to enable the input field when check box is checked. Also, I want to make a server side validation of the text field, to be filled, if the check ...

3. Word Processing for form fields    coderanch.com

Hi, Can anyone recommend a good off-the-shelf product which provides Word Processing functionality for large form fields? The product must work well with JSP/Servlets/WebSphere and have a spell checker with a high quality dictionary. It should also provide formatting features in a minimally confusing format (as few weird-looking tags written to the textarea as possible), though this is less important as ...

4. using the hidden value fields    coderanch.com

5. IE doesn't retain form fields    coderanch.com

hello, I have a form generated by a JSP page. The form contains a few (7-8) fields. When the page is submitted it goes to a servlet and finally the request gets forwarded to the next JSP that renders the next html. There is a cancel button in the next page (that is effectively doing history.back() in the onClick event). When ...

6. java /jsp hidden fields    coderanch.com

7. multipart form/data- form field    coderanch.com

Prakash, JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such ...

8. bug with setProperty when form field is empty?    coderanch.com

I was modifying a JSP another developer had come up with and added some fields, and when the fields had nothing in them, it didn't set the respective fields in the bean to nothing (empty String). Instead, the bean just maintained what it had stored before. Shouldn't it overwrite what's in the bean's field/property if nothing was inputted on the form? ...





10. jsp: hidden field problem    coderanch.com

Hello ive got a little problem with jsp hidden fields, i am using them to pass values from one jsp page to another for my shopping cart project. I have got a main page which lists all the products and each product has an idnumber..when the user clicks "buy" it takes the user to a page which checks if the item ...

12. hidden form fields.    coderanch.com

I guess with hidden, the burden would fall on the programmer to properly code inorder to maintain session. But with session tracking, I guess the burden is being taken by the container that provides many session tracking mechanisms. If you want to maintain any information pertaining to the user(information could be any object) then with session tracking you can hold that ...

14. managing hidden field    coderanch.com

i n my home page i have a link to a page where i have to give information about the user where by giving all the information the unique id is getting generated.and i need to keep track of this id .and when we go for shopping and completed shopping i need to save all the information along with the unique ...

15. Using hidden fields    coderanch.com

16. How to Retrive the hidden field value    coderanch.com





17. Hidden Fields in JSP    coderanch.com

Your code for one.jsp --------------------- You wrote code for two.jsp ---------------------------- String user = request.getParameter("username"); welcome , <%=user%> U have two fields city and state in two.jsp and a hidden field, in two.jsp set the value for "uname" hidden parameter equals to "username" which you received ...

19. usebean getProperty and setProperty in the same form field    coderanch.com

Hello, my first post and please be gentle as I'm new to java. I am building a JSP page which is displaying records from a database. I have saved the resultSet records to a javabean which then saved to a vector. I have a servlet which extracts each record/bean and forwards and displays the record details. By pressing a next or ...

20. hidden fields in an iterator    coderanch.com

21. hiding fields    coderanch.com

hi all i am working on administrator page.in order to that i have created a login page.after loging in i have created a jsp page for the fields.but my problem is i want to hide some of the fields when user enters and i want to display all the fields when administrator enters.....so how to do this please help me out..... ...

23. Not able to access hidden fields in servlet    coderanch.com

Why are you overriding the doService method? You should not do this. Instead, you should implement the doGet and doPost methods. This is a standard debugging issue. If you believe the problem is in the use of hidden fields, then create a simple test HTML form which uses hidden fields and an 'action' that invokes the servlet. This will prove that ...

25. How to get the hidden field from JSP    coderanch.com

Hi, Thanks so much for anwsering my question. Why set in JavaScript? Why not use a value clause on the element using JSP? I set the value in JavaScript because it is depending what the user selects in the dropdown box. The value can be different and it is not 1000 at all the time. What do you mean by " ...

27. Get Field value from form    java-forums.org