Generally if we use <form action = "process.php">, this means that after the form is submitted, it will be processed to the file process.php in the directory.

Mean while, in JSP, what is the meaning of <form action="<c:url value="/main"/>"> ?
Because in the directory there is no main file or directory or folder called main.
Where will the form direct to?

Recommended Answers

All 4 Replies

ya, it works for me.
or your keep this keywork in google books '<c:url value> in form tag jsp means'.
and click this link 'Head first servlets and JSP - Page 466'
it may second link.


Funny, now it works ;) dunno why it showed the sign of unavailable/empty page previously

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.