• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mutiple annotaion in jsp page?

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) newconnection.jsp



i can same modal in the class used in another jsp file .i got error multiple annotation error?what can i do??

2)disconnection.jsp
[color=red]


1)the modal class can we use multiple jsp file??
2) if use modal class .how we can use for modal class??
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can you brief your problem clearly .. in Detail ?
 
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i got error multiple annotation error?what can i do??


You can provide error stacktrace.

You code can be written beautifully using JSTL/EL. Right now, it is dirty as you have used Java code (Scriptlets), (which actually belongs to Java files), inside JSP files. Please also take a look at MVC architecture.

I know, it may be possible that you want to get it done quickly. But using Scriptlets is not the right approach for long run.

Lastly, it is Model and not modal. :)

Good luck.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When reporting an error, cut and paste the error message exactly as it appears. Just telling us that you got an error isn't useful.

And yes, scriptlets are 10 years out of date. High time to catch up, don't you think?
 
reply
    Bookmark Topic Watch Topic
  • New Topic