• Post Reply Bookmark Topic Watch Topic
  • New Topic

mutiple annotaion in jsp page?  RSS feed

 
karthik ekantha
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • 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??
 
Vicky Vijay
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can you brief your problem clearly .. in Detail ?
 
Saurabh Pillai
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!