File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to get the default values when the jsp page is  submited Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to get the default values when the jsp page is  submited" Watch "how to get the default values when the jsp page is  submited" New topic
Author

how to get the default values when the jsp page is submited

kajal mukergi
Ranch Hand

Joined: Mar 22, 2007
Posts: 102
Hello friends

i have a page called index.jsp when i click submit i made so that it has to come to the index.jsp only
but the problem is

index.jsp.... is comming but the previous values are retained i mean the last time selected values are still like that

can any one tell me how to.. get the default values using "tld" ok bye friends

my code is




i am getting error at html:select

how to get the default values back.....
urgent please
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Is this your full jsp file? If so you are missing your opening <html:select> tag (and several table tags). I don't understand...you say the page is working fine and they you say you get an error at html:select. I suggest posting more of your jsp, your action mapping and maybe your action code. Do you define a scope for you form?

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the default values when the jsp page is submited