This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

commenting </form:form> tag

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In JSP fles we will have form tags,

<form : form id ="" name="">
</form:form>

If i remove the </form:form> tag alone its throws JSP error while navigating to that page.
But when i commented the </form:form> tag alone it allows me to navigate to the page.

Could anyone tell me what is the difference

Thanks
Rajesh
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on how you commented it. HTML comments (<!-- -->) mean nothing to JSP.
 
Ranch Hand
Posts: 64
MySQL Database PHP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rajesh Santhanakrishnan wrote:Hi,

In JSP fles we will have form tags,

<form : form id ="" name="">
</form:form>

If i remove the </form:form> tag alone its throws JSP error while navigating to that page.
But when i commented the </form:form> tag alone it allows me to navigate to the page.

Could anyone tell me what is the difference

Thanks
Rajesh



Hi Rajesh,

Are you using custom form tags in plain jsp,
If yes, Can you please send a link from where i can have a look at it..?
Also does it support handling form-data as beans across requests.

Regards,
Sree
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!